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

Using Whitelist without Device Manager

Hi, I need to use whitelist in ble_app_uart example, What are the steps that need to be followed for that. Is device Manager is mandatory for using whitelist. Can anyone throw me some light on this ?

Thanks,

Parents
  • Hi Thangaraj,

    No, you don't have to use device manager. We provided device manager as a library, you can choose to use it or not.

    You can use the APIs provided by softdevice directly to setup the whitelist.

    If you have a look at this blog. You can find the example code for setting up the whitelist for a central device address. It's not include the whitelist using IRK, but it shouldn't be too hard to implement one.

  • Hi Hung, Thanks for your response. I checked that blog already.. But my use case is a bit different. In that blog address is hard coded . My use case is this, My Device will advertise , after a connection is made, user may or may not save the address. If he opt for save, Next time on advertising it will advertise with whitelist . This Whitelist need to be stored in Flash at some fixed address . How can I achieve this ?

Reply
  • Hi Hung, Thanks for your response. I checked that blog already.. But my use case is a bit different. In that blog address is hard coded . My use case is this, My Device will advertise , after a connection is made, user may or may not save the address. If he opt for save, Next time on advertising it will advertise with whitelist . This Whitelist need to be stored in Flash at some fixed address . How can I achieve this ?

Children
No Data
Related