hartmannathan opened a new pull request, #8483:
URL: https://github.com/apache/nuttx/pull/8483

   ## Summary
   
   Implements the TERMIOS(3) function `tcsendbreak()` and the serial driver 
IOCTLs `TCSBRK` and `TCSBRKP`.
   
   Previously NuttX included an extern declaration for `tcsendbreak()` but 
there was no implementation. This means that attempting to build any 
application that called `tcsendbreak()` would produce a linker error. Also, 
NuttX included the definitions for `TCSBRK` and `TCSBRKP` but they were not 
implemented anywhere.
   
   ## Impact
   
   `tcsendbreak()` and IOCTLs `TCSBRK` and `TCSBRKP` are implemented.
   
   Note that for this function and these IOCTLs to actually work, the lower 
half serial driver must implement BSD-compatible Break via the IOCTLs 
`TIOCSBRK` and `TIOCCBRK` to start and end the Break, respectively. Currently, 
not all lower half serial drivers in NuttX support these IOCTLs. Those that do 
implement them may need one or more Kconfig options to be set, such as 
`CONFIG_*_U[S]ART_BREAKS` and, on some architectures, a separate 
`CONFIG_*_SERIALBRK_BSDCOMPAT`.
   
   ## Testing
   
   None yet, but will be tested before PR is changed from Draft to Ready.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to