Hi Tech Support
I tried BLE bond function in frdmkw36_wireless_examples_bluetooth_ancs_c_freertos. The sdk version is 2.2.10. When I bond device successfully (Got the gConnEvtPairingComplete_c within connection callback and pConnectionEvent->eventData.pairingCompleteEvent.pairingSuccessful is TRUE) . But when I disconnect the device then I can't connect it again except I got BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED error. Please help, Thx
已解决! 转到解答。
Hi,
Does the following picture correspond to your setup?
Can you provide more details about the application you are using on your central device? Is this application based on any of the BLE demo applications from the KW38 SDK? If so, which one?
Regards,
Eduardo.
Hello @darkblue
Have you modified the base source code of ancs_c demo application? Could you confirm if the same behavior is observed using a clean version (with no modifications) of this demo?
I tested the application using the demo app with no modifications and the reconnection was successful, this was my setup:
Regards,
Eduardo.
Hello @EduardoZamora
I modified ancs_c a little bit, but didn't touch the BLE bond communication codes I guess. The first time for bonding is correct, see to below pic. But when I disconnect and make central to scan the ancs_device again. It just can't find the device . BTW my central is frdmkw38 bluetooth and the version of kw38 SDK is 2.6.212. even though I make kw38 search in the whitelist.
Hi,
Does the following picture correspond to your setup?
Can you provide more details about the application you are using on your central device? Is this application based on any of the BLE demo applications from the KW38 SDK? If so, which one?
Regards,
Eduardo.