Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I do not want use Advertising random delay(0ms to 10ms)

Hello,

I'm using the nrf15822 chip and am using the ble_app_uart example from nrf5_sdk_12.2.0.

I know softdevice will automatically generate random numbers through RNG and use advRandom from 0ms to 10ms.

so I do not want to use the advRandom delay time in BLE advertising.

Do I need to fix softdevice? Or is there anything else you can do?

If so, which function do I need to modify in the firmware?

  • Hi,

    This random delay, also known as advDelay, is "a pseudo-random value with a range of 0 ms to 10 ms," as mandated by the Bluetooth Core Specification Version 5.0, Vol 6, Part B, Section 4.4.2.2.1. It is an integral part of the SoftDevice and cannot be configured. (In fact, by removing the delay the SoftDevice would no longer comply with the BLE specification and it would not pass qualification with the Bluetooth SIG.)

    May I ask why you want to remove the delay? There may be other solutions to the underlying issue.

    Regards,
    Terje

  • Thank you for your answer.

    I know that advDelay is to prevent collision of different beacons. I want to synchronize these beacons.
    I want to do some testing by controlling advDelay

Related