Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

whitelist integration

hello , i am improving an iot  devices . my goal in this proram is to make the blueetooth network secure. What I want to do here is that if my phone is registered in the whitelist, its name will appear correctly on my phone and connect, but if it is not in the whitelist, write any default name. so i can only make changes on the peripheral side. 


 .  1-)  so i need a very simple example of this 

  2-) how can i test this ? 

3-) if ı dont know the peer id , is it ok to use the mac address ? or how to find the peer id of a phone .

i am not good at peer_manager.h or similar nordic library . so i need a basic main code .

best regards


Related