I use Nordic 52832 as the master-slave machine with pairing and binding at the same time. I can get all paired peer_ids, but how do I know if this is a pairing binding when I am a host or a pairing binding peer_id when I am a slave machine?
I use Nordic 52832 as the master-slave machine with pairing and binding at the same time. I can get all paired peer_ids, but how do I know if this is a pairing binding when I am a host or a pairing binding peer_id when I am a slave machine?
Hi,
If you use the peer manager you could get the get the peer id by providing the connection handle to the function pm_peer_id_get(). You can then differentiate the peer id for a central and peripheral based on the connection handle.
regards
Jared