This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Any chance to get support for multiple advertising messages?

Hello,

I really need the ability to switch between different advertising messages. Could you please (please!) add a callback after an advertising message has been sent or allow different advertising messages to be queued? I want e.g. two advertising messages A and B to be sent like this:

A B A B A B

The radio notification handler is called far too often and cannot distinguish between connections, advertising, etc,..... I could use a timer, but this will run completely asynchronous to the Softdevice scheduler. I want to have a clean solution for this problem.

Thanks, Marius

Parents
  • Hi Marius,

    changing advertising (+ scan response) data through Radio Notification Event is pretty simple and works well. You can (as long as you are fine with some obvious limitations on selected timings) "multiplex" two or more broadcasts just by using standard advertisement in GAP Peripheral of Nordic's Soft Devices. And if you would like to pretend to be multiple of completely independent devices, you could probably very well also change Adv. Address (still you need to select right advertising interval so "virtual" devices appear with effectively double/triple/... interval to the observer). Need an example? I've already posted here on the forum source code which makes Nordic standard Beacon app from SDK changing broadcasts for each interval (adjusting it to your needs looks like trivial few minute job)

    Cheers Jan

Reply
  • Hi Marius,

    changing advertising (+ scan response) data through Radio Notification Event is pretty simple and works well. You can (as long as you are fine with some obvious limitations on selected timings) "multiplex" two or more broadcasts just by using standard advertisement in GAP Peripheral of Nordic's Soft Devices. And if you would like to pretend to be multiple of completely independent devices, you could probably very well also change Adv. Address (still you need to select right advertising interval so "virtual" devices appear with effectively double/triple/... interval to the observer). Need an example? I've already posted here on the forum source code which makes Nordic standard Beacon app from SDK changing broadcasts for each interval (adjusting it to your needs looks like trivial few minute job)

    Cheers Jan

Children
No Data
Related