Skip to content

Issue with implementing reservation #191

@ziyadtarek7

Description

@ziyadtarek7

Hello,

I'm trying to handle reservations in my project. I send reservation request from the server and handle it properly in my esp32 code but I get and error during runtime that causes the esp to panic and reboot.

Here is the part of code that causes the error:
auto con = getOcppContext();
auto res = con->getModel().getReservationService()->getReservation(1);
reserved = res->isActive();

the moment isActive() is called I get this error on my serial monitor:

Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Am I doing it wrong?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions