Interleave between 2 advertisements

2 posts / 0 new
Last post
meriororen
Offline
Last seen:3 years 6 months ago
Joined:2015-08-12 13:45
Interleave between 2 advertisements

Hi,

I know it's impossible to have 2 advertisement going from one peripheral, so I want to have two advertisement
to switch back and forth. Is this even possible? I could do this using BlueZ stack on Linux, is DA14580 software (or even hardware)
support this? what's the fastest interval between them if I could do, and how?

Thanks

Device:
MT_dialog
Offline
Last seen:6 days 15 hours ago
Staff
Joined:2015-06-08 11:34
Hi meriororen,

Hi meriororen,

You can change the advertising string and go back and forth between two different advertising formats. In order to achieve this you must stop advertising change the advertising string and re-issue an advertise command. In order to check that one advertising event was released you can check the beacon reference design in the sleep.h file the app_asynch_trm function track the end of the advertising event, stop advertising, change the advertising string and restart advertise.

Thanks MT_dialog