nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ check_factory_reset_button()

void check_factory_reset_button ( uint32_t button_state,
uint32_t has_changed )

#include <include/zigbee/zigbee_app_utils.h>

Checks if Factory Reset button was pressed. If so, it initiates the procedure of checking if it was pressed for specified time.

Note
register_factory_reset_button function has to be called before (once)
Parameters
[in]button_statestate of Development Kit buttons; passed from button handler
[in]has_changeddetermines which buttons changed; passed from button handler