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

How to connect my device with one special Central Device(Andriod and Iphone))

Hi nordic, Is there any ways to implement that my device connect with one special Central Device likes Andriod phone and Iphone. Currently I know is whitelist. First I add the special Central Device mac address to my whitelists, and then I filter the other devices to do a connection. Thats may be effective to Andriod phone because its address will not change, but for Iphone it may not works because Iphone's mac address will changes when it do scanning ,so how to deal with that? Please give some advice and I will be grateful.

Parents
  • FormerMember
    0 FormerMember

    Yes, for Android phone you can the device mac address for central directly.

    For the iPhone, that uses random resolvable address, you should add its IRK to the whitelist. Upon a connect request from an iPhone, the nRF51/52 device will accept or reject the connect request based on the iPhones IRK.

Reply
  • FormerMember
    0 FormerMember

    Yes, for Android phone you can the device mac address for central directly.

    For the iPhone, that uses random resolvable address, you should add its IRK to the whitelist. Upon a connect request from an iPhone, the nRF51/52 device will accept or reject the connect request based on the iPhones IRK.

Children
Related