Button Joining#

Callbacks for Button Joining Component.

Callbacks#

void
sl_zigbee_af_button_joining_button_event_cb(uint8_t buttonNumber, uint32_t buttonPressDurationMs)

Button Event.

Callbacks Documentation#

sl_zigbee_af_button_joining_button_event_cb#

void sl_zigbee_af_button_joining_button_event_cb (uint8_t buttonNumber, uint32_t buttonPressDurationMs)

Button Event.

Parameters
N/AbuttonNumber

The button number that was pressed. Ver.: always

N/AbuttonPressDurationMs

The length of time button was held down before it was released. Ver.: always

This allows another module to get notification when a button is pressed and released but the button joining plugin did not handle it. This callback is NOT called in the ISR context so there are no restrictions on what code can execute.


Definition at line 87 of file app/framework/plugin/button-joining/button-joining.h