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

Multiactivity Example vs. Github Multirole Advertiser

Hi,

I want to implement Advertising with the Timeslot API. I only need non-connectable advertisements but I want to be able to control the transmit power.

  • Which example should I start with?
  • Is any of these outdated?
  • Are they both compatible with NRF52 as well?
  • Support for multiple advertising messages isn't getting implemented in the SoftDevice soon, is that right?

I am using the S130 v2 Softdevice and I want as little code overhead as possible as I am duplicating code that is already in the Softdevice by implementing this.

Thanks

Parents
  • Hi,

    The multiactivity example is the one that is the most up to date.

    Neither is compatible for nRF52 out of the box, I do not know why the multiactivity example is not shipped for nRF52 by default, as far as I can see there's nothing in there that won't be easily transferrable to nRF52.

    I can't comment on future SoftDevice releases. You will have to consult your regional sales manager for these questions (send me a PM if you need contact info).

    The code overhead shouldn't be so bad, in the multiactivity example everything in total is about 3-400 lines of code.

    I recommend having a look at the timeslot tutorial, the blog on concurrent BLE and ESB is also useful to get a feel for timeslots.

  • Thanks, but what exaclty could be the hacky part? I have connections coming and going and even advertisements starting and stopping. How would I be able to know in the beginning of an advertisement session that the softdevice will indeed be advertising? Any fixed address in the RAM of the Softdevice that I could query?^^

    I also want to be able to implement multiple advertising messages, knowing the beginning of each advertising event and the end would be very, very helpful. (Will one radio session always only be of one kind? e.g. advertising / connection?)

Reply
  • Thanks, but what exaclty could be the hacky part? I have connections coming and going and even advertisements starting and stopping. How would I be able to know in the beginning of an advertisement session that the softdevice will indeed be advertising? Any fixed address in the RAM of the Softdevice that I could query?^^

    I also want to be able to implement multiple advertising messages, knowing the beginning of each advertising event and the end would be very, very helpful. (Will one radio session always only be of one kind? e.g. advertising / connection?)

Children
No Data
Related