Dear Nordic:
Help to see this problem,tks
Problem description:
SDK:nRF5_SDK_15.2.0_9412b96
status:bonded device
demo:Let's refer to this sample code ---- nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_template
First, bond the nrf52832 device on the sdm845 mobile phone using android settings app. Then turn off the nrf52832 and turn it on again. The nrf52832 and the mobile phone cannot be connected successfully.
hci log on phone:
1,211 Event Disconnection Complete Success 0x0002 4 7 2020/9/28 16:57:28.069864 00:00:00.001053 //turn off nrf52832 and disconnected between nrf52832 and phone
1,216 Command 0x2011 Low Energy HCI_LE_Add_Device_To_White_List 7 11 2020/9/28 16:57:28.074141 00:00:00.000609 // write white list on phone
1,218 Command 0x2043 Low Energy HCI_LE_Extended_Create_Connection_Command 42 46 2020/9/28 16:57:28.079150 00:00:00.000567 //enable background connection on phone
1,220 Event LE Enhanced Connection Complete Success 31 34 2020/9/28 17:04:17.872735 00:06:49.789484 //turn on nrf52832 then receive connection complete event
1,240 Command 0x2019 Low Energy HCI_LE_Start_Encryption 28 32 2020/9/28 17:04:17.895165 00:00:00.000514 // phone Start_Encryption
1,249 Event Encryption Change PIN or Key Missing 0x0004 4 7 2020/9/28 17:04:18.735462 00:00:00.171885 //but Encryption fail
Attempted operation:
1. turn on then turn off Bluetooth on phone,then Encryption success,connection succeed
2. nrf52832 keep away from the phone. After the link is disconnected, then close to the phone again, and the automatic reconnection is successful.