- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Can two or more BD addresses that dynamically change on one board be generated use by PSoC Creator?
Best regards,
Yoshizu
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you can change the BD Address dynamically using the CyBle_GetDeviceAddress API when the device is not advertising.
Regards,
- Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you can change the BD Address dynamically using the CyBle_GetDeviceAddress API when the device is not advertising.
Regards,
- Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have one more question.
Can the BD address of the advertising packet be dynamically changed as a broadcaster?
Best regards,
Yoshizu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You have to use CyBle_SetDeviceAddress() API before start advertisment API. Please go through the BLE component datasheet for explanation.
Each time when you update the adv parameters for Dynamic broadcaster, you may have to call APIs for set device address with address which you have to set. Then call API for start adv.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Anjana
I was able to increment BD address add by next step in while() at main().
cyBle_deviceAddress.bdAddr[0]++;
if(cyBle_deviceAddress.bdAddr[0]==0)cyBle_deviceAddress.bdAddr[1]++;
if(cyBle_deviceAddress.bdAddr[1]==0)cyBle_deviceAddress.bdAddr[2]++;
CyBle_SetDeviceAddress(&cyBle_deviceAddress);
Best regards,
Yoshizu