Skip to content

Flush serial buffers on connect#189

Open
okhsunrog wants to merge 1 commit intojamesmunns:mainfrom
okhsunrog:flush-serial-on-connect
Open

Flush serial buffers on connect#189
okhsunrog wants to merge 1 commit intojamesmunns:mainfrom
okhsunrog:flush-serial-on-connect

Conversation

@okhsunrog
Copy link
Collaborator

  • Clear serial port buffers when opening a connection to discard stale data
  • Send a COBS frame boundary byte (0x00) after connect to help resync after device resets

@okhsunrog okhsunrog force-pushed the flush-serial-on-connect branch from 50c46bf to bdd25aa Compare January 21, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant