joan2937 / pigpio

pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
The Unlicense
1.45k stars 407 forks source link

serOpen() serFlags? #576

Open subw0fer opened 1 year ago

subw0fer commented 1 year ago

Hello, please give advice on serFlags for the serial port, I haven't found anything in documentation, only that it should be set to null. But that If I want to set 8E1, how to do this?

guymcswain commented 1 year ago

As the doc states, these flags are (currently) undefined and must be set to zero. There are no plans to make any enhancements in this area.

if you are using baud rates < 38K, you can use the bbserial apis which allow more control over the frame.