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

ANT reset pairing bit on master

I am working on a system where two nRF51 will communicate with use of the ANT protocol (S210). The master and slave must be paired after pressing a button on both sides. I want to use the pairing bit of the Device Type, so the slave knows to which master a connection should be made. An available master sets it's pairing bit to 1 and resets the pairing bit when it's connected to a slave. A slave only searches for a master with the pairing bit set.

The "ANT app note device pairing" tells me this: "The pairing bit can be reset on the master device while the channel is open." and "ANT resets the pairing bit automatically at the slave when it has successfully connected with the master."

But i can only find the function sd_ant_channel_id_set, where i can set the device type. But this function can't be used when the channel is already open. How can i reset the pairing bit on the master device without closing the channel?

Thanks in advance.

Related