- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am learning the BLE bonding and pairing by studying the code example "CE212742".
In the StackEventHandle in the example code, there is the following code:
/* Generate new private address automatically */
Cy_BLE_SetResolvablePvtAddressTimeOut(CY_BLE_PVT_ADDRESS_TIMEOUT);
My question is:
1. Will the BLE API automatically renew the private address after this "CY_BLE_PVT_ADDRESS_TIMEOUT"?
2. Will the StackEventHandle receive an event after this "CY_BLE_PVT_ADDRESS_TIMEOUT"? If yes, what is the event?
Thank you very much for reading the question and providing any comments or suggestions.
Best regards,
Jiabin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Cy_BLE_SetResolvablePvtAddressTimeOut function is used to set the length of time the controller uses a Resolvable Private Address before a new resolvable private address is generated and starts being used. This timeout applies to all addresses generated by the BLE Stack.
Request complete is informed through 'CY_BLE_EVT_SET_RPA_TO_COMPLETE' event. This event indicates completion of the Set RPA timeout command.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Cy_BLE_SetResolvablePvtAddressTimeOut function is used to set the length of time the controller uses a Resolvable Private Address before a new resolvable private address is generated and starts being used. This timeout applies to all addresses generated by the BLE Stack.
Request complete is informed through 'CY_BLE_EVT_SET_RPA_TO_COMPLETE' event. This event indicates completion of the Set RPA timeout command.
Thanks,
P Yugandhar.