lexus2k / tinyproto

Tiny Software Protocol for communication over UART, SPI, etc
GNU General Public License v3.0
225 stars 51 forks source link

Connection is silently re-established #36

Open chenlijun99 opened 2 years ago

chenlijun99 commented 2 years ago

If a peer disconnects (e.g. due to reset) and then quickly re-connects (e.g. right after boot) TinyProto should notify via on_connect_event_cb that a new connection has been established, instead of proceeding as if no disconnection has happened.