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

Extended Adverts, AUX Ptr and the 'Aux Offset' value

Hi

SDK v15.2.0
SD 6.1.1

I have managed to send out "Connectable, Non-Scannable" extended adverts with some AD packets as payload.

On a frontline sniffer as per the file attached I can see that the device sends ADV_EXT_IND on the 3 primary channels and then the AUX_ADV_IND.

For example, frames 1104,1105,1106 and 1107 respectively.
At frame 1107 we see the payload in the AUX_ADV_IND.

In frame 1104 we see that the Aux Offset=0x0093 which gives a calculated offset of 4410us

In frame 1105 the calculated offset is 2490us

In frame 1106 the offset is 1470us

At frame 1107 we see that Delta is 00:00:00.001498

All good :-)

Question, who decided that the offset was going to be 4410 us from the first advert?

The spec allows it to be any value hence I would have expected it to be a value that I could set but when I look at the ble_gap_adv_params_t struct, I cannot see anything there that describes that aux offset value.

In fact, it seems the specification allows multiple advert events to point to the same AUX_ADV_IND packet which could be many 10s of seconds in the future.

I think I missing this little piece of information to get to my 'aha' moment :-)

Look forward to hearing from you.

Kind regards
Mahendra

lecoded_adverts.zip

Related