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

Whitelist vs Directed Advertisement (without peer manager)

hi,

I'm using SDK 15.1.0 and s132

I have two custom boards one peripheral and one central. i don't want to use peer manager (according to requirements)

And i want the peripheral to connect to that one central only. so the way it should happen is ->

peripheral starts adv and central scans and they connect (without any directed adv or whitelist), now on some trigger peripheral needs to connect to the same central!

should i use whitelist for central or peripheral or should i use directed adv ??

PS: is there an example that uses whitelist without peer manager? it would really speed up my feature.

EDIT : i have multiple such pairs, so UUID based filter won't help in this case!

Parents Reply
  • How about allowing some kind of pairing by the end user? 

    For instance ask the user to press a button and keep the two devices very close together, then both devices can go into a "pairing mode", where the devices will only connect with a peer that is very close by (measured by using rssi value in "pairing mode"). Then the devices can store the gap address of the peer to flash for future communication.

    Best regards,
    Kenneth

Children
Related