-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: support defining number of stop bits in serial URI
in the past the serial backend was limited to a single stop bit, when most hardware can support one or two. This allows URIs to define the number of stop bits in a standard notation (8n1). This means serial uri are now defined as: serial:port,baud,config serial:/dev/ttyUSB0,115200,8n1 This does break backwards compatibility with the previous serial URI which was: serial:/dev/ttyUSB0,115200n8 Since this is outside the library, and there are few serial users, and 8n1 is the "standard" way of doing things - it's better to change/update now. Update the doc (which mistakenly said we supported this). Signed-off-by: Robin Getz <[email protected]>
- Loading branch information
Showing
2 changed files
with
90 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters