uart_service example connects and disconnects #1708
nastiliano
started this conversation in
General
Replies: 1 comment 11 replies
-
Logging Bluetooth packets as described in the troubleshooting page of the Bleak docs is the best way to solve problems like this. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody.
I'm trying to implement a bidirectional comunication between my PC (Python - Bleak) and a ESP32 (Micropython - bluetooth uart), because I'm able to comunicate these with GATT characteristics but is too slow just for send 1kB.
With bleak example (https://github.com/hbldh/bleak/blob/develop/examples/uart_service.py) and micropython example (https://github.com/micropython/micropython/blob/master/examples/bluetooth/ble_uart_peripheral.py) I can connect the devices but immediately the connection disconnects.
In ESP32 device I can see the IRQ getting the connection and immediately a disconnection IRQ occurs.
Could you help me please??
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions