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

LE privacy with timeslot API

Hi,

i want to know if there is a solution to apply LE privacy to a timeslot advertisement ?, my problem is : 

i have multiple advertisements at the same time (sofdevice + timeslot), each one on different MAC adress, i want to apply LE privacy to my

application in purpose to have the rotation of the MAC adresses, so, with softdevice no problem i adjust the ble_gap_privacy_params_t to

have a rotation each 10 minutes and it works, but with softdevice there is only one MAC adress and it didn't change, and even when i reboot 

the PDK the adress of softdevice changes but those with timeslot don't !!

Any one have an idea how to apply LE privacy to timeslot advertisement?

thanks,

regards  

Parents Reply Children
  • Hi,

    The multiactivity beacon example in SDK 11 has its advertising implementation in advertiser_beacon_timeslot.c. Unfortunately there is no built-in privacy feature in that implementation. (It is a simple implementation using static address only.) This means you must either implement that yourself, by adding address changing behavior, or use the SoftDevice instead.

    I see that you have tagged the question with nRF52840, for which you would need a newer SDK. I recommend using the newest SDK (currently 14.2). If you use an nRF51 series SoC then I recommend SDK 12.3 which is the latest release supporting nRF51.

    Some of the use cases previously requiring timeslot advertising can now be done with a SoftDevice (s130, s132 and s140), although for multiple advertisers it is still not straightforward. In any case you may have a look at using the SoftDevice for both advertisements, i.e. set address and advdata for #1, advertise for #1, stop advertising, set address and advdata for #2, advertise for #2, stop advertising, repeat.

    If you go for a timeslot solution then you will not be using the SoftDevice (which is qualified with Bluetooth SIG) which means you may have to qualify your custom advertiser yourself.

    Regards,
    Terje

Related