cancel
Showing results for 
Search instead for 
Did you mean: 

Studio Bluetooth

ns_4270701
New Contributor II

@Moderatore 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.

0 Likes
1 Solution
ns_4270701
New Contributor II

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.

View solution in original post

0 Likes
1 Reply
ns_4270701
New Contributor II

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.

View solution in original post

0 Likes