Custom interval for reconnecting after connection loss #198
|
When the connection goes away, I get this message:
It would be great if the 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! |
Replies: 1 comment
You can customize this timeout by editing the src/config.h.in file. For this case, it would be osdp_config.h.in:31
See notification events; also don't forget to enable it for each PD that you want to receive those notifications. |
You can customize this timeout by editing the src/config.h.in file. For this case, it would be osdp_config.h.in:31
See notification events; also don't forget to enable it for each PD that you want to receive those notifications.