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

◆ ZB_COMM_STATUS_CHECK

#define ZB_COMM_STATUS_CHECK ( COMM_STATUS)

#include <include/zigbee/zigbee_error_handler.h>

Value:
do { \
if (COMM_STATUS != ZB_TRUE) { \
LOG_ERR("Unable to start BDB commissioning at %s:%u", \
__FILE__, \
__LINE__); \
ZB_ERROR_CHECK(RET_ERROR); \
} \
} while (0)

Macro for calling the error handler function if the return code for bdb_start_top_level_commissioning indicates that the BDB procedure did not succeed.

Parameters
[in]COMM_STATUSValue returned by the bdb_start_top_level_commissioning function.