CYBT-353027-02 Changing BT broadcast name

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
eSteve
Level 2
Level 2
10 sign-ins 5 replies posted 5 questions asked

Hi,

When I configure my CYBT-353027-02, I set the Bluetooth device name by setting the device name in this structure member:

wiced_bt_cfg_settings.device_name

then initialising the BT stack with:

wiced_bt_stack_init( app_management_callback,
&wiced_bt_cfg_settings,
wiced_bt_cfg_buf_pools );

How is it possible to change the name subsequently?  I can't see any direct operation to do this.  Do I have to re-init the stack again?

Thanks.

 

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

If you want to change the device name in the advertising packet, you can use the API wiced_bt_ble_set_raw_advertisement_data(num_elem, adv_elem);

You may refer to the void hello_sensor_set_advertisement_data(void) function in the hello_sensor demo.

View solution in original post

0 Likes
1 Reply
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

If you want to change the device name in the advertising packet, you can use the API wiced_bt_ble_set_raw_advertisement_data(num_elem, adv_elem);

You may refer to the void hello_sensor_set_advertisement_data(void) function in the hello_sensor demo.

0 Likes