ruuvi.firmware.c icon indicating copy to clipboard operation
ruuvi.firmware.c copied to clipboard

nRF reboots if trying to pair using Android's Bluetooth manager

Open laurijamsa opened this issue 3 years ago • 6 comments

If I try to pair with Android, RuuviTag reboots, measurement sequence number resets and history gets lost.

image

Tried with Samsung Galaxy S21 Ultra and Lenovo tablet.

Defective firmware versions: 3.30.2 and 3.30.3 (and possibly older ones).

laurijamsa avatar Aug 21 '21 16:08 laurijamsa

Possibly fixed in #285, bonding was disabled in config. Needs verification

ojousima avatar Sep 08 '21 10:09 ojousima

The RuuviTag crashes with error log ruuvi_nrf5_sdk15_communication_ble_gatt.c:365 FATAL: INVALID_STATE

niksiboxi avatar Nov 18 '21 14:11 niksiboxi

Possible solution is to handle the Android pairing process with the peer manager, hence the BLE_GAP_EVT_SEC_PARAMS_REQUEST is not needed.

niksiboxi avatar Nov 29 '21 17:11 niksiboxi

@markoaamunkajo please check if this is fixed in 3.31.2-RC1

ojousima avatar Dec 28 '21 13:12 ojousima

@ojousima Still reboots 3.31.2-RC1 tag rev B7 and B8.

markoaamunkajo avatar Jan 10 '22 14:01 markoaamunkajo

@niksiboxi Can you take a look?

ojousima avatar Jan 12 '22 09:01 ojousima