Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Serial port read issue (with unblocking)
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: Serial port read issue (with unblocking)
  • SDP: 6.3.0
  • Target: Any supported target
________________________________________________________________________

Recommendation
________________________________________________________________________

If you want to unblock the reading serial port, you have a couple of options:
- You can open the serial port using the O_NONBLOCK o flag in the open() call.
- You can use another function like fcntl() to set the fd to non-block mode.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.