Thank you so much! It works after I attach the correct UART.
For doing some testing, I need to go to the diagnostic mode. As I know, I need to send something to the UART, then I can jump to diagnostic mode.
The script I use in python is here:
s = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_RAW, socket.BTPROTO_HCI)
I think it should work, however, I receive error:
Traceback (most recent call last):
File "enable_diag.py", line 5, in <module>
OSError: [Errno 22] Invalid argument
Do you have any idea of this issue?
Hi brzh_4710371 ,
Glad to know that it started working after choosing HCI UART.
But I am not sure about the new error. Can you please confirm what exactly you want to do / what test command you want to try ?