Hey guys, I could really use some help with the Nicla Sense ME Board and establishing and BLE connection – ideally via the classic WebBLE Dashboard, but for the beginning I would be happy with any connection at all.
I'm working at a university where we own a total of 3 Sense ME Boards – one of which is currently working and two are failing with the exact same build.
I have been following this Tutorial from the official Arduino documentation. The chrome flag for WebBLE is set.
As far as I can tell, the Arduino advertises correctly as an BLE Device and is recognized by my Mac (13.4, Chrome 112.0.0.0). As soon as I press connect, the LED on the Sense turns red – so the disconnectHandler got triggered and the browser window stays unchanged on the message "connecting to device…". The browser does not show any errors in the console log.
After activating the debug option and looking at the Serial I get these HCI Logs:
Start
Boot status: 11
Boot status: 13
Interrupt ctrl: 0
Interface ctrl: 0
[META EVENT WAKE UP] Firmware initialized. Firmware version 5978
[META EVENT] Firmware initialized. Firmware version 5978Present sensors:
[ All Sensors being listed ]HCI COMMAND TX -> 01030C00
HCI EVENT RX <- 040E0401030C00
HCI COMMAND TX -> 01011000
HCI EVENT RX <- 040E0C01011000090323095F000323
HCI COMMAND TX -> 01010C08FFFFFFFFFFFFFF3F
HCI EVENT RX <- 040E0401010C00
HCI COMMAND TX -> 01012008FF03000000000000
HCI EVENT RX <- 040E0401012000
HCI COMMAND TX -> 01022000
HCI EVENT RX <- 040E0701022000000104
HCI COMMAND TX -> 01091000
HCI EVENT RX <- 040E0A01091000F0CAD3235474
address = 74:54:23:d3:ca:f0
name = NiclaSenseME-CAF0
HCI COMMAND TX -> 010A200100
HCI EVENT RX <- 040E04010A2000
HCI COMMAND TX -> 0106200FA000A0000000000000000000000700
HCI EVENT RX <- 040E0401062000
HCI COMMAND TX -> 0108202015020106110614128A7604D16C4F7E5300000000B11900000000000000000000
HCI EVENT RX <- 040E0401082000
HCI COMMAND TX -> 010920201312094E69636C6153656E73654D452D43414630000000000000000000000000
HCI EVENT RX <- 040E0401092000
HCI COMMAND TX -> 010A200101
HCI EVENT RX <- 040E04010A2000
HCI EVENT RX <- 043E1F0A0000000101DF3C570CA94700000000000000000000000018000000480001[ A lot of META EVENTS for changed power modes, sample rates and accuracies ]
[META EVENT] FIFO overflow
Sensor: 13 size: 7 value: 2 0 9 0 0 0 [ ... ] Sensor: 128 size: 5 value: 25 B 0 0
HCI EVENT RX <- 04050400000008
HCI COMMAND TX -> 010A200101
HCI EVENT RX <- 0413050100000000
HCI EVENT RX <- 040E04010A2000
HCI EVENT RX <- 043E1F0A0000000101DF3C570CA94700000000000000000000000018000000480001
[META EVENT] FIFO overflow
Sensor: 13 size: 7 value: FE FF 0 0 0 0 [ ... ] Sensor: 34 size: 11 value: 2F 2 D3 DA 90 7 7E 33 F C9
HCI EVENT RX <- 04050400000008
HCI COMMAND TX -> 010A200101
HCI EVENT RX <- 0413050100000000
HCI EVENT RX <- 040E04010A2000
HCI EVENT RX <- 043E1F0A0000000101DF3C570CA94700000000000000000000000018000000480001
[META EVENT] FIFO overflow
This then continues until I A) force reboot the Sense or B) reload the browser window.
System:
- MacOS 13.4 (also tested 12.5 and 11.4)
- Chrome 112.0.0.0 – WebBLE flag activated
- Mbed OS Nicla Boards; v4.0.2
- BHY2; v1.0.6
- ArduinoBLE; v1.3.4
- Nicla Sense ME Firmware 5978
I also tried to connect to the Sense with nRF Connect from my iPhone where the connection can't be established and the status on the app never changes from "Connecting…".
I can discover the Sense but after clicking connect the same procedure starts as written above.
Am I doing something wrong, or has anybody ran into the same bizare behavior?
I highly appreciate any help!
Cheers,
Moritz