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
130 stars 69 forks source link

fix LED & Buzzer repeated command #122

Closed sgouraud closed 1 year ago

sgouraud commented 1 year ago

According OSDP v2.2, output control, buzzer & LED message packet may contain multiple records. Currently, the lib support this only for output control command. This PR add this feature for buzzer & LED command.