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 actually behaves the exact 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] request bonding when the button is pressed only when the [N] does not sense stronger RF signal thus implementing List-Before-Talk technique.

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