goToMain / libosdp

Implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol); provides a C library with support for C++, Rust and Python3
https://libosdp.sidcha.dev
Apache License 2.0
128 stars 69 forks source link

Give PD the ability to detect offline #134

Closed rm5248 closed 9 months ago

rm5248 commented 9 months ago

If the PD does not receive a message from the CP(any message, including a poll), then it will now indicate that it is offline through the osdp_get_status_mask method.

rm5248 commented 9 months ago

See issue: #133

sidcha commented 9 months ago

I had something else in mind, let me push that change to a branch so you can take a look if it works for you.

sidcha commented 9 months ago

See: https://github.com/goToMain/libosdp/pull/135