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,
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,
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 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 ?
Then you need to store the address in flash, you can use the softdevice flash APIs, or you can use pstorage library, or you can use the fstorage library.