Currently, we are testing Bonding & Connect.
Please see the attached log below.
If Click 「Bond」 on Android App (nRF Connect), disconnection occurs after "PM_EVT_CONN_SEC_SUCCEEDED" as shown below, and fast advertisement with whiterliset.
This is similar to the other Project (ble_app_hids_keyboard) logs.But why does disconnection occur?(This is question 1.)
And If Click 「Connect」 on the Android App (nRF Connect),DIsconnection occurs with 0x3D.
Why is this happening? (This is Question 2.)
And please let me know how you can solve it.
<Log>
0> <info> app: BLE_ADV_EVT_WHITELIST_REQUEST
0> <info> app: pm_whitelist_get returns 0 addr in whitelist and 0 irk whitelist
0> <info> app: Fast advertising.
0> <info> app: Connected.
0> <info> app: PM_EVT_CONN_SEC_START
0> <info> app: PM_EVT_CONN_SEC_PARAMS_REQ
0> <info> app: PM_EVT_CONN_SEC_SUCCEEDED
0> <info> app: Connection secured: role: 1, conn_handle: 0x0, procedure: 1, peer_id:0
0> <info> app: PM_EVT_PEER_DATA_UPDATE_SUCCEEDED
0> <info> app: New Bond, add the peer to the whitelist if possible
0> <info> app: m_whitelist_peer_cnt 1, MAX_PEERS_WLIST 8
0> <info> app: PM_EVT_PEER_DATA_UPDATE_SUCCEEDED
0> <info> app: PM_EVT_PEER_DATA_UPDATE_SUCCEEDED
0> <info> app: Disconnected. <--------- Question Number 1
0> <info> app: Reason:0x13
0>
0> <info> app: BLE_ADV_EVT_WHITELIST_REQUEST
0> <info> app: pm_whitelist_get returns 1 addr in whitelist and 1 irk whitelist
0> <info> app: Fast advertising with whitelist.
0> <info> app: advertising_start false
0>
0> <info> app: Connected.
0> <info> app: Connected to a previously bonded device.
0> <info> app: PM_EVT_LOCAL_DB_CACHE_APPLIED
0> <info> app: PM_EVT_CONN_SEC_START
0> <info> app: Disconnected. <--------- Question Number 2
0> <info> app: Reason:0x3D
0>
0> <info> app: BLE_ADV_EVT_WHITELIST_REQUEST
0> <info> app: pm_whitelist_get returns 1 addr in whitelist and 1 irk whitelist
0> <info> app: Fast advertising with whitelist.
0> <info> app: advertising_start false