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.

  • Well that's the hacky part, you only know that there's a radio event, there's no info on the type. For now you will have to find some logic that figures this out for you.

    Alternately the timeslot solution is also perfectly valid. I am not sure that either will outcompete eachother on current consumption.

Reply Children
No Data
Related