1 Reply Latest reply on Dec 16, 2018 11:37 PM by SheetalJ_96

    Changing the address of a device




      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.