- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i have a question about the use of the function that wiced_bt_dev_set_local_name.
There is no sample to use this function. Can you explain more?
Jane.Xia
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jane,
wiced_bt_dev_set_local_name is used to change the name of the device. However, this is useful only in BR/EDR applications.
Note the following regarding device name:
- If you want to change the device name during discovery(inquiry), then you will need to modify the name manually when setting the EIR data.
- In BLE applications, you will have to change the name in advertisement packet (if necessary) and in the GATT database under the device name characteristic.
To use wiced_bt_dev_set_local_name API, add this API in the BTM_ENABLED_EVT to an example project, say a2dp_sink. Using your mobile, search for BT devices. Initially, you will see "a2dp_sink" but once you connect to it, the device name will change to whatever you have set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have a specific use-case scenario?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jane,
wiced_bt_dev_set_local_name is used to change the name of the device. However, this is useful only in BR/EDR applications.
Note the following regarding device name:
- If you want to change the device name during discovery(inquiry), then you will need to modify the name manually when setting the EIR data.
- In BLE applications, you will have to change the name in advertisement packet (if necessary) and in the GATT database under the device name characteristic.
To use wiced_bt_dev_set_local_name API, add this API in the BTM_ENABLED_EVT to an example project, say a2dp_sink. Using your mobile, search for BT devices. Initially, you will see "a2dp_sink" but once you connect to it, the device name will change to whatever you have set.