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

Update data of extended advertisement (BLE5)

Hello

I would like to use the extended advertisement feature of BLE 5 and sometimes update the data.

My code works but there is one of your functions which returns me an error code which disturbs a little.
When I call the "ble_advertising_advdata_update(...)" function, there is function "sd_ble_gap_adv_set_configure(...)" which returns error 9 (NRF_ERROR_INVALID_LENGTH).

I notice that if adv_data is smaller than 32 bytes, I have no error but if it is larger then I have error 9 ...

However I use the "extended" functionality so I should be able to exceed 31 bytes of adv_data right?



Parents Reply
  • Hi

    I thought that the SoftDevice automatically added the data on the secondary channel when using the extended advertisement: this is not true?

    If I have to specify that certain parts of my advertising packet must be in the secondary channels: do you have a function which makes it possible to do that? For exemple, is it possible to set "appearance" on the secondary channels ?

    Thank you

Children
No Data
Related