Hello!
I am trying to distinguish between each individual periodic advertisement by adding either a counter (1 byte is enough) or a timestamp. I want to be able to read that counter when scanning the periodic advertisement. I tried using bt_le_adv_update_data, but I seem to be getting nowhere. I am using the direction finding connectionless tx example from the latest stable release of nRF Connect SDK for reference (working with nrf5340dk).
I imagined I would need to change a counter in the advertising data with a callback that triggers when an advertisement is sent, but I'm not sure if that would be the right approach. Including a timestamp in each advertisement would also suffice.
I tried looking for examples that do something similar, but I couldn't find anything.
Any pointers or suggestions would be incredibly helpful.