Skip to content

Custom interval for reconnecting after connection loss #197

@dariusptrs

Description

@dariusptrs

When the connection goes away, I get this message:

OSDP: CP: PD-1: 2024-10-23T13:57:45Z osdp_cp.c:1211 [ERROR] Going offline for 300 seconds; Was in 'ID-Request' state.

It would be great if the 300 seconds value could be configurable by the user.

Additionally, having the ability to detect this event (e.g., triggering an event in the code) would be helpful for error handling.

I'm using C++. If there’s already a way to achieve this, I'd appreciate some guidance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions