RafaelKa / node-serialport-enocean-parser

ESP3 parser for nodes serialport
Do What The F*ck You Want To Public License
6 stars 2 forks source link

Packet dropped due to bug when sending data #6

Closed codlab closed 7 years ago

codlab commented 7 years ago

When sending data to a compatible device and having a response from the TCMXXX, it is common that the packet does not have optional data (optional data length == 0), is then causes a fault in the state machine which does not trigger the "data" event and makes the next packet to be dropped in order to the machine to be in its correct state.

A fix is proposed in the #5 Pull Request

RafaelKa commented 7 years ago

oops Fixed in #5.