- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@XinghaoZ_26 Jul 27, 2020 8:41 PM (in response to n s)
You can get the local device addres with API void wiced_bt_dev_read_local_addr (wiced_bt_device_address_t bd_addr);
To configure the addr, you can use the API void wiced_bt_set_local_bdaddr( wiced_bt_device_address_t bda , wiced_bt_ble_address_type_t addr_type);
Every time wiced_bt_dev_read_local_addr API, returns the same local address in different ble device.
From a production point of view, where we use hex files, what we care about is to obtain a unique identification number for each ble device. For that particular device, it will never change.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By downloading the application with BT_DEVICE_ADDRESS=FFFFFFFFFFFF in the make target.
And then if we use wiced_bt_dev_read_local_addr API, we get the unique address in each ble device, then will set it to a unique number and store it in the flash memory.
Check out 'Configuring the Bluetooth device address in CYW20706' in Cypress Developer Community.
It's very useful content.