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

Is it possible to advertise more than 31 bytes of data using S140 SoftDevice version 5.0.0-3.alpha?

I'm using the with SDK version 13.1.0 along with S140 SoftDevice v 5.0.0-3.alpha and trying to utilize the Bluetooth 5 Extended Advertising feature.

The function ble_advdata_set() limits the data size to BLE_GAP_ADV_SR_MAX_LEN_DEFAULT which is equal to 31. I tried changing it to use the newly defined macro BLE_GAP_ADV_SR_MAX_DATA_LEN (which is set to 1650 bytes), but that didn't work and the application doesn't advertise anymore.

Related