Hello!
I am experiencing a mysterious symptom. I use a BGM 121 starter kit with a Bluetooth Software 2.12.3 central app (central_security_demo.sls) and an iPhone SE with an iOS 13.1 peripheral app (ios-cbperipheral-example-master.zip).
The bonding process is normally completed in security level 4.
stack version: 2.12.3
local BT device address: 00:0b:57:15:9a:1e
boot event - starting scanning
gecko_cmd_sm_list_all_bondings result 0x0
cmd: gecko_cmd_sm_configure result 0x0000
cmd: gecko_cmd_sm_set_bondable_mode result 0x0000
cmd: gecko_cmd_sm_set_passkey result 0x0000
bonding enter: bonding handle 0, remote device 0x00:0x0b:0x57:0x15:0x98:0x55, address type 0
report bonding complete
EVENT: gecko_evt_le_gap_scan_response_id from 41:b2:0c:57:c3:02
EVENT: gecko_evt_le_gap_scan_response_id from 5f:ff:a5:a2:bf:fc
Found device
EVENT: gecko_evt_le_gap_scan_response_id from 75:a7:b8:f6:d7:2e
connection opened, bonding 0xff
cmd: gecko_cmd_sm_increase_security result 0x0000
connection parameter,connectionHandler 1, securityMode 0
display passKey: 123456
connection parameter,connectionHandler 1, securityMode 3
Bonding completed
connection closed, reason: 0x213
Then I reset the BGM board and they connect again with bonding but I can increase their secure level only to 2.
stack version: 2.12.3
local BT device address: 00:0b:57:15:9a:1e
boot event - starting scanning
gecko_cmd_sm_list_all_bondings result 0x0
cmd: gecko_cmd_sm_configure result 0x0000
cmd: gecko_cmd_sm_set_bondable_mode result 0x0000
cmd: gecko_cmd_sm_set_passkey result 0x0000
bonding enter: bonding handle 0, remote device 0x00:0x0b:0x57:0x15:0x98:0x55, address type 0
bonding enter: bonding handle 1, remote device 0xe0:0xc7:0x67:0xbc:0x45:0x4d, address type 0
report bonding complete
EVENT: gecko_evt_le_gap_scan_response_id from 72:89:87:5d:d2:d2
EVENT: gecko_evt_le_gap_scan_response_id from 41:b2:0c:57:c3:02
EVENT: gecko_evt_le_gap_scan_response_id from 5f:ff:a5:a2:bf:fc
Found device
connection opened, bonding 0x1
cmd: gecko_cmd_sm_increase_security result 0x0000
connection parameter,connectionHandler 1, securityMode 0
connection parameter,connectionHandler 1, securityMode 1
connection closed, reason: 0x213
How can I get its security level to 4 in this case?
Security level remains 2 with bonding?
Hello!
I am experiencing a mysterious symptom. I use a BGM 121 starter kit with a Bluetooth Software 2.12.3 central app (central_security_demo.sls) and an iPhone SE with an iOS 13.1 peripheral app (ios-cbperipheral-example-master.zip).
The bonding process is normally completed in security level 4.
Then I reset the BGM board and they connect again with bonding but I can increase their secure level only to 2.
How can I get its security level to 4 in this case?
As the log of reconnection shows our BGM central remembers the bonding.
I do not know how I can see the detail on iOS, but at least the Settings->Bluetooth page of my iPhone shows "Empty Example" under MY DEVICES, which is quite normal for a bonded device. Since I do not handle bonding information in the iOS sample program explicitly, I have no reason to think that any would be lost.