I have two different advertisement sets with different advertisement data, both connectable, that I have to configure to have different advertisement intervals which can also change depending on some conditions. Suppose let the two advertisement sets be Set A and B. Set A needs to be advertised at 500 ms interval, which can change to 800 ms interval delay if no connection is made after 5 hours. Set B needs to advertise at 100 ms and interval will change to 3 sec after 1 day of inactivity. Earlier I was trying to implement this by using two different timers to advertise the two advertising sets, and update the timeout time of the timers accordingly if no connection is made.
I am using nrf sdk 17.1.0 that doesn't support Multiple advertising sets, hence this approach. Is this the correct way? Is there any better alternative to accomplish this?
Any help is appreciated. Thanks in advance!