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

connect with static MAC everytime, APP developement

Hi Team,


Using the nrfconnect for mobile application. Where it is connecting to the BLE device. As every time connecting the MAC address of the mobile is changing, I know that is because of the resolvable address. That we can enable in the module side.

But in the point of mobile app developers, If we want to develop the new mobile app. Is it possible to set the below 2 queries are possible to do at the mobile side or not

--> RPA timeout need to set to zero 

--> Is it possible to connect everytime with the static MAC rather than random MAC

Parents Reply Children
  • Sorry about the delay.

    Some feedback from our developers:

    On both platforms you need to scan before connecting.
    On Android even if you were connected to some static address before and saved it, you need to scan for it. There’s API to scan with Pending Intent on Android 8+ that is efficient in background use. Otherwise, Android may assume that the type of that address is public and connect attempt will fail even in the proximity of the device.

    RPA - Neither Android nor iOS can modify anything related to this using public API.

    Br,
    Joakim

Related