- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have 2 CY8CKIT_062-WiFi-BT PSoC6 Pioneer kits. When I use CySmart mobile app, I see that the addresses of both kits are the same. I want to change the addresses of the kits. The following is the first code snippet that one of the kit executes after startup:
wiced_bt_device_address_t my_addr = {0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF};
void GoBleThread_start(void)
{
WPRINT_APP_INFO(("GoBleThread_start before wiced_bt_stack_init \n"));
wiced_bt_dev_status_t st;
st = wiced_bt_stack_init(goble_management_callback, &wiced_bt_cfg_settings, wiced_bt_cfg_buf_pools);
WPRINT_APP_INFO(("GoBleThread_start after wiced_bt_stack_init. st of init: %u \n", st));
wiced_bt_set_local_bdaddr( my_addr);
}
However, this does not work. Apparently wiced_bt_set_local_bdaddr function does not work properly. How can I solve this issue? Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try setting the BD address inside the management callback?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content