Skip to content

tud_cdc_connected() #1173

Answered by mws-rmain
oznotes asked this question in Q&A
Oct 31, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

tud_cdc_connected() reflects the state of 'DTR' (Data Terminal Ready) of the virtual UART. Check the QT code for a setting for 'hardware handshake', 'DTR/RTS', etc., and enable this. If there is no mention of it, see QSerialPort Class, and look at setDataTerminalReady() (possibly the terminal example is not using DTR). Also setflowControl() can be used to set hardware flow control, but it looks like that only affects use of RTS/CTS.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oznotes
Comment options

Answer selected by oznotes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants