I’m trying to get my Argon speaking to a Lego BLE Hub. I can discover the device and call
connect(), however I found this would hang and then cause an assertion error (10 red flashes). After investigating the
automatic flag I tried setting it to
false and then the call to
connect() succeeded, but I can’t get the characteristics by calling
getCharacteristicByUUID(). Trying to call
discoverAllCharacteristics() directly also hangs. Here is what I got from the trace logs:
0000016440 [system] ERROR: Failed to load session data from persistent storage 0000053237 [app] INFO: Pre connect 0000053345 [wiring.ble] TRACE: New peripheral is connected. 0000053346 [wiring.ble] TRACE: Start discovering services. 0000053885 [wiring.ble] TRACE: Start discovering characteristics.
I’ll be looking through the device-os source code to see if I can spot the issue, but if anyone has any advice it would be much appreciated!
Just to add - this is on firmware 1.4.2.