2 Replies Latest reply on Aug 16, 2019 12:48 AM by DheerajP_41

    how to store the defined device address in flash




      1. I want to realize "store the defined device address in flash". I have watch the linkConfiguring the Bluetooth device address in CYW20706 .

      There is "First, set the device address to all 0xFFs by making use of the BT_DEVICE_ADDRESS=FFFFFFFFFFFF in the make target and download your application." step. How can I realize the "BT_DEVICE_ADDRESS=FFFFFFFFFFFF in the make target and download your application" function in my code? Because above step should use WICED-Studio make target, if  FW upgrade is thourgh OTA(Not WICED-Studio tool), there is no tool.

      2. For when to set wiced_bt_set_local_bdaddr which disscussed in link https://community.cypress.com/thread/48118

      I know Call wiced_bt_set_local_bdaddr() after stack initialization. I call wiced_bt_set_local_bdaddr() when uart receive my needed set MAC address(This step is analyze recived data then parse then set, it is done in the code runtime). Then wiced_bt_dev_read_local_addr(bda), it is changed. But after reset device, my setted address come back to the old MAC. Can you understand my meanning?