PreviousNext
Bonding
Help > Custom DPA Handler > Examples > Bonding

This example shows how to implement a custom (un)bonding procedure inside the Reset event. The code behaves the same way the default (un)bonding procedure does, except the button is (might be) assigned to the different MCU GPIO pin and the [N] is not put to sleep when the button is not pressed for a longer time. The example supports three bonding types: Smart Connect, and traditional “button” bonding.

 

→ Self-study tip: Modify the code in the way the [N] requests bonding when the button is pressed only when the [N] does not sense a stronger RF signal thus implementing the List-Before-Talk technique.

 Hint: Use checkRF IQRF OS function to sense RF signal.