libosdp
libosdp copied to clipboard
Implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol); provides a C library with support for C++, Rust and Python3
Now the application can setup a CP with different SCBKs for each PD without passing a master key. But an ignorant programmer can pass the same SCBK buffer to all...
A lot of times, we need to perform some actions based on whether a command succeeded or failed. Since there are 2 level state machines (very messy) in `osdp_cp.c`, we...
According to the OSDP protocol the SQN which defines in message control byte, I think if CP receives PD response SQN error or No response from PD,the CP should repeat...
According to the standard (3.9) the command command structure is 4-byte element, **repeated 1 or more times**.
Hello, Thanks for this good library ! I think i found a small bug when the function osdp_decrypt_data is call with null length, the function return -1.
Can CP send a broadcast to PD now? I checked the API and found that only the osdp_cp_send_command function is available. This function requires specifying the PD offset. However, osdp_cp_setup...
It's often convenient to let LibOSDP own the entire channel (and hence responsible for calling a `channel->close()`) instead of the app having to keep a reference to the channel and...
It would be useful to have an event on the CP about the PD status change from offline to online and from online to offline. Regards.
PR #174 addressed a copy/paste bug with PD app command callbacks; but the test suite should have caught this for us. Update test suite to check for these callbacks and...