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

PD: Reset phy state when ignoring a packet #101

Closed bjyoungblood closed 1 year ago

bjyoungblood commented 1 year ago

When receiving a non-multicast packet addressed to another PD, the PD kept trying to process it indefinitely instead of moving on to the next packet in the RX ring buffer.

bjyoungblood commented 1 year ago

Thanks for the review! I have updated as you suggested.