The term advDelay is being used for the 0-10 ms random delay added to the fixed advertising interval. Since it is set by the link layer and can't be controlled by us, I want to understand the behavior of these random values. According to the BLE core specification,
"The advDelay is a pseudo-random value with a range of 0 ms to 10 ms generated by the Link Layer for each advertising event"
As observed through experimentation, the random values taken up by advDelay do not seem to be uniformly distributed. Most common values of advDelay seem to lie in the range 5-7 ms. I wanted to know what exactly is the probability distribution of these values? Or if there's any algorithm used to generate these values? In what sense is this delay "pseudo"-random? I could not find anything in the core specification. Any useful insight would be highly appreciated.
Regards,
Sukriti