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!