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

Chained Advertisement

Hello,

I am using PCA10040 development board based on nRF52832, Softdevice 6.1.0 & SDK 15.1.0.

On the Nordic website, I have verified that Softdevice v6.1.0 supports Chained Advertisement feature of Bluetooth 5.

But I cant perform Chained Advertising application.

So, I want to ask that does SDK 15.1.0 not having the feature of Chained Advertisement?

Thanks

Parents
  • Hi,

    As far as I can see the advertisement module supports packet of a length up to: BLE_GAP_ADV_SET_DATA_SIZE_EXTENDED_CONNECTABLE_MAX_SUPPORTED (238).

    If you look at the Softdevice release notes you can see that; The SoftDevice is now able to send chained advertisements. The advertising data fragmentation is handled autonomously by the SoftDevice. This means you do not have to worry about chained advertisements in your application.

     

  • In the ble_advdata.c file, there is an instruction like this  if (((*p_offset) + AD_DATA_OFFSET + data_size) > max_size)
        {
            return NRF_ERROR_DATA_SIZE;
        }

    inside the sections of encoding of each advertising data. So based upon this, we can say that if we send more than max allowed size, it will return an error of Data Size exceeds than specified. So here we cant perform Chained Advertisement.

    Kindly suggest the solution to do Chained Advertisement on the platform having PCA10040, S132 v6.1.0 & SDK 15.1.0

Reply
  • In the ble_advdata.c file, there is an instruction like this  if (((*p_offset) + AD_DATA_OFFSET + data_size) > max_size)
        {
            return NRF_ERROR_DATA_SIZE;
        }

    inside the sections of encoding of each advertising data. So based upon this, we can say that if we send more than max allowed size, it will return an error of Data Size exceeds than specified. So here we cant perform Chained Advertisement.

    Kindly suggest the solution to do Chained Advertisement on the platform having PCA10040, S132 v6.1.0 & SDK 15.1.0

Children
No Data
Related