nRF5 SDK for Thread and Zigbee v4.2.0
Macros | Functions
Switching dump on and off


#define ZB_SET_TRAF_DUMP_OFF()   g_traf_dump = 0U
#define ZB_SET_TRAF_DUMP_ON()   g_traf_dump = 1U
#define ZB_GET_TRAF_DUMP_STATE()   zb_get_traf_dump_state()


static ZB_INLINE zb_uint8_t zb_get_traf_dump_state (void)

Detailed Description

Macro Definition Documentation

#define ZB_SET_TRAF_DUMP_OFF ( )    g_traf_dump = 0U

Switch Zigbee traffic dump OFF

#define ZB_SET_TRAF_DUMP_ON ( )    g_traf_dump = 1U

Switch Zigbee traffic dump ON

That function works only if traffic dump is enabled at compile time.

Documentation feedback | Developer Zone | Subscribe | Updated