Is the advertising interval between two packets P1 and P2 defined as:
Interval = P2_start - P1_stop (time between packets)
or
Interval = P2_start - P1_start (time from start to start)
Kind regards Freddy
Is the advertising interval between two packets P1 and P2 defined as:
Interval = P2_start - P1_stop (time between packets)
or
Interval = P2_start - P1_start (time from start to start)
Kind regards Freddy
Section 4.4.2.2 BTLE Spec volume 6 (and a few afterwards) has the details on that.
For undirected advertising the interval is Start -> Start between advertising events. An advertising event usually does, but may not, consist of advertising packets on all of the 3 advertising channels, each <10mS Start to Start of the individual packets inside the event.
The time between the starts of those advertising events is the advertising interval plus a random delay of up to 10ms to avoid the situation two advertisers get in, and stay in, sync.
Thanks RK,
This explains why my interval variations. I was afraid it could be some kind of a interrupt priority problem.
/Freddy