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

Pairing and bonding with only one phone

Hi,

how can i pairing the nrf52 with only one phone?

Thanks, Anna

Parents
  • So then do pairing once and you are done, nothing to restrict. If your device is GAP Peripheral and you want to restrict connections from other peripherals then you can easily refuse (terminate) any unwanted connection with device which is not your peer. If you want to prevent even these short connections then you can use direct advertising but remember that it's just for devices which play "nicely" and according to the spec. If some rough Central wants to issue CONNECT_REQ packet even it is not targeted by directed advertisement it indeed can try it and it's up to your device to protect itself.

Reply
  • So then do pairing once and you are done, nothing to restrict. If your device is GAP Peripheral and you want to restrict connections from other peripherals then you can easily refuse (terminate) any unwanted connection with device which is not your peer. If you want to prevent even these short connections then you can use direct advertising but remember that it's just for devices which play "nicely" and according to the spec. If some rough Central wants to issue CONNECT_REQ packet even it is not targeted by directed advertisement it indeed can try it and it's up to your device to protect itself.

Children
No Data
Related