ruuvi.firmware.c
ruuvi.firmware.c copied to clipboard
nRF reboots if trying to pair using Android's Bluetooth manager
If I try to pair with Android, RuuviTag reboots, measurement sequence number resets and history gets lost.
Tried with Samsung Galaxy S21 Ultra and Lenovo tablet.
Defective firmware versions: 3.30.2 and 3.30.3 (and possibly older ones).
Possibly fixed in #285, bonding was disabled in config. Needs verification
The RuuviTag crashes with error log
ruuvi_nrf5_sdk15_communication_ble_gatt.c:365 FATAL: INVALID_STATE
Possible solution is to handle the Android pairing process with the peer manager, hence the BLE_GAP_EVT_SEC_PARAMS_REQUEST
is not needed.
@markoaamunkajo please check if this is fixed in 3.31.2-RC1
@ojousima Still reboots 3.31.2-RC1 tag rev B7 and B8.
@niksiboxi Can you take a look?