This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Updating Advertising Data in SDK15

Greetings everyone,

i am trying to migrate from SDK 14.2 to SDK 15 but I got this problem with updating "advertising" and "scan response data". I have read other threads/post but couldn't find a reliable solution. It would be nice if Nordic can provide a working example with that feature.

Regards

Parents Reply
  • Adding "advertising data" and "scan response data" was possible by using "ble_advdata_encode" and directly "sd_ble_gap_adv_set_configure" but I wasn't able to update the data.

    Now I use "ble_advertising_init" and "ble_advertising_conn_cfg_tag_set" to initialize and I can just update "advertising data" by using "ble_advdata_encode" and "sd_ble_gap_adv_set_configure". So I had to skip "scan response data". I couldn't find any solutions to initialize them both and update them later. It crushed everytime.

    Again a simple example would be helpful.

Children
Related