2020-12-30 08:56 AM
Hi,
I am running a system with some STM32WB, one client and some server.
Right now i am connecting, pairing and bonding the devices.
If i start from a condition where i have all the server not bonded (aci_gap_get_bonded_devices return nothing) and I start the firmware, the client connects, pairs and bonds all the server and all works.
If i start from a condition where i have all the server already bonded and I start the firmware, the client connects and rebonds all the server and all works.
Instead if i start from a condition where I have some server bonded and others not I have some problems. In particular:
In particular:
I have tryed to call the aci_gap_send_pairing_req with the force rebond parameter equal to 0x00. I have tryed to update the stack to the one published in 1.10 packages but no changes. Do you have any idea witch can be the problem?
Thank you in advance
Solved! Go to Solution.
2022-06-10 05:54 AM
I solve starting pairing and rebond from the server and not from the client. Apparently it is the correct way to use BLE, the pairing and bonding are not started from the one that start the connection but from the one that advertise.
2022-05-26 04:31 AM
Are there any updates to this? Were you able to solve this?
2022-05-26 07:03 AM
I have the same problem. Can someone help?
2022-06-10 05:54 AM
I solve starting pairing and rebond from the server and not from the client. Apparently it is the correct way to use BLE, the pairing and bonding are not started from the one that start the connection but from the one that advertise.
2022-06-13 05:04 AM
Thank you for you answer @Community member so, the server starts the connection, but the client starts the pairing/bonding process?
2022-06-13 05:22 AM
The opposite. The server is the advertiser and the one that starts pairing/rebond process. The client finds the advertiser (or not if the server uses directed advertising) and starts the connection.
2022-06-13 05:54 AM
Thank you for the clarification.