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

Update advertising data (battery level)

Hello,

   I'm new with the nordic chips and SDK and have a short question: I'm trying to send the battery capacity of my BLE device within the advertising data. I found some code from former SDK (<15) that uses the ble_advdata_set() command. But I found it is deprecated in SDK >15.0. I found this page:

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fmigration.html

but I'm still looking for a working example. Do you have a link to an example for me?

Thanks and best regards

Related