We need to build a device that acts as a peripheral (with some custom characteristic to transfer data toward a smartphone and having OTA/DFU functionalities), as a beacon with changing payload (not connectable and not scannable), and passive scanner, all three concurrently.
The beacon advertising interval will be in the range of 100mS-300mS with a payload that changes every a few seconds (jitter is OK, but absolute time consistency is required).
Application scenario: SDK 16.0.0 (the most recent....), nRF52832.
We started with the BLE peripheral Blinky example and we successfully added the passive scanner code. Now it is time to add the concurrent beacon function.
I am trying to browse all the forum and available examples... but I still have difficulties understanding the correct/wiser approach.
Is it possible to have more than one advertiser instance running concurrently ?
It seem "yes" but quite unclear if it is necessary to deal with the softdevice directly or even start messing with timeslot api, or we can stay within BLE Library Advertising Module.
Unfortunately in the forums there are partial overlapping answers but most of them referring to older SDKs.
Can you summarize what is the "today SDK" recommended approach to achieve our goal?
Is there an up to date example close to our needs?
I have read that in SDK 16, changing the advertiser payload has been improved/simplified, I am missing some documentation/example about this, can you share an hint?
thank you in advance and
best regards
Davide