Is there an internal counter for the number of packets transmitted since power on?
Im trying to change the advertising packet content after a timer is expired or a certain count, but i get invalid parameter error in advertising_init() and advertising_start() functions when i call them for the 3rd time. I think this can solve the problem about changing the packet but im trying to understand when to change it first.
What would be the preferred approach for getting the timer ticks since the board is powered on or get number of packets transmitted so far?
Im using ble_app_hrs example with nrf51-dk on sdk6.1.0 and sd 7.0.0.