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

Reply before address check #85

Closed vitalyPru closed 1 year ago

vitalyPru commented 1 year ago

phy_check_header() and phy_check_packet() assumes the possibility to send NACK reply before address verification in the packet. That means all PD's in multi-drop environments will send replies simultaneously in these cases.

sidcha commented 1 year ago

Yes, indeed. Thanks for reporting the issue.