-
I tried connecting to a Bluetooth device and sending commands and receiving responses successfully through the sample code. However, I can't automatically exit the terminal mode in the program after sending a command and receiving a response, without manually inputting ctrl+. Is there any way to stop it automatically after I input a command and receive a response? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
dlech
May 10, 2023
Replies: 1 comment 2 replies
-
If you want the whole program to exit, you can cancel all tasks like the disconnect handler. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
W1nDsoul
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want the whole program to exit, you can cancel all tasks like the disconnect handler.