Connection via --ble freezes after "BLE connected"
Hello, I am trying to connect to multiple RAK19003 boards via bluetooth from my laptop. Pairing was successful. I am on Kubuntu 25.04.
- The meshtastic CLI via an USB-C cable works fine.
- The meshtastic CLI via bluetooth freezes.
- The bluetooth connection via the android app on my phone works fine.
The last message i see when using meshtastic --ble <name> --info --debug is BLE connected. I also checked the code and it freezes indefinetly at this line: https://github.com/meshtastic/python/blob/master/meshtastic/ble_interface.py#L70
Not sure what else i can do? Any help is appreciated. Cheers
I tried to investigate this because I happens to me as well.
I am using a Seeed XIAO nRF52840 and I have flashed the latest alpha firmware (2.7.0.705515a). Also I am on linux.
After I paired (but disconnected) the chip I would also get the freeze at the same place. It seems like it's trying to send a disconnect = true packet, and I managed to track this back to the disconnect callback we pass to BleakClient.
I have not figured out why the client disconnects yet, but this triggers the send that freezes, so I am wondering if maybe we shouldn't try to send anything after the client has already disconnected. However the callback does more things than just send that packet and this is the first time I look at the code.
Also, the client disconnecting shouldn't be happening in the first place so it seems there is a deeper issue here