I'm using two BG22 one as client another one as server, I can successfully setup a connection between BG22 server and iPhone with bonding, but when I use my BG22 client to connect with BG22 server, it seems that doesn't have bonding request event generated in BG22 client, which event actually that I can catch for starting bonding process?
I tried to catch below event in BG22 client, but still no luck
gecko_evt_sm_passkey_display_id
gecko_evt_sm_passkey_request_id
gecko_evt_sm_confirm_passkey_id
gecko_evt_sm_confirm_bonding_id
gecko_evt_sm_bonded_id
gecko_evt_sm_bonding_failed_id
Thanks and regards,
Kevin
Bluetooth Low Energy
Discussion Forums
Unanswered
Hi Kevin!
Do you call the gecko_cmd_sm_increase_security() command on one of the devices? This command will initiate the bonding.
BG22 client bonding event
Hello,
I'm using two BG22 one as client another one as server, I can successfully setup a connection between BG22 server and iPhone with bonding, but when I use my BG22 client to connect with BG22 server, it seems that doesn't have bonding request event generated in BG22 client, which event actually that I can catch for starting bonding process?
I tried to catch below event in BG22 client, but still no luck
gecko_evt_sm_passkey_display_id
gecko_evt_sm_passkey_request_id
gecko_evt_sm_confirm_passkey_id
gecko_evt_sm_confirm_bonding_id
gecko_evt_sm_bonded_id
gecko_evt_sm_bonding_failed_id
Thanks and regards,
Kevin
Hi Kevin!
Do you call the gecko_cmd_sm_increase_security() command on one of the devices? This command will initiate the bonding.
See this article:
https://docs.silabs.com/bluetooth/2.13/general/security/using-bluetooth-security-features-in-silicon-labs-bluetooth-sdk