Debug Print#

API and Callbacks for the Debug Print Component.

API#

sl_status_t
sl_zigbee_debug_print_enable_group(uint32_t group_type, bool enable)
void
sli_zigbee_debug_print_buffer(uint32_t group_type, const uint8_t *buffer, uint16_t buffer_length, bool with_space)

Enumerations#

enum
SL_ZIGBEE_DEBUG_PRINT_TYPE_STACK = 0x01
SL_ZIGBEE_DEBUG_PRINT_TYPE_CORE = 0x02
SL_ZIGBEE_DEBUG_PRINT_TYPE_APP = 0x04
SL_ZIGBEE_DEBUG_PRINT_TYPE_ZCL = 0x08
SL_ZIGBEE_DEBUG_PRINT_TYPE_LEGACY_AF_DEBUG = 0x10
}

Macros#

#define
#define
#define
sl_zigbee_app_debug_print_buffer (buffer, length, with_space)

API Documentation#

sl_zigbee_debug_print_enable_group#

sl_status_t sl_zigbee_debug_print_enable_group (uint32_t group_type, bool enable)
Parameters
N/Agroup_type

Ver.: always

N/Aenable

value Ver.: always

Enable groups in debug prints.

Returns

  • sl_status_t status code


Definition at line 82 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

sli_zigbee_debug_print_buffer#

void sli_zigbee_debug_print_buffer (uint32_t group_type, const uint8_t * buffer, uint16_t buffer_length, bool with_space)
Parameters
N/Agroup_type

Ver.: always

N/Abuffer

value Ver.: always

N/Abuffer_length
N/Awith_space

Enable groups in debug prints.

Returns

  • sl_status_t status code


Definition at line 84 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

Enumeration Documentation#

sl_zigbee_debug_print_type#

sl_zigbee_debug_print_type
Enumerator
SL_ZIGBEE_DEBUG_PRINT_TYPE_STACK
SL_ZIGBEE_DEBUG_PRINT_TYPE_CORE
SL_ZIGBEE_DEBUG_PRINT_TYPE_APP
SL_ZIGBEE_DEBUG_PRINT_TYPE_ZCL
SL_ZIGBEE_DEBUG_PRINT_TYPE_LEGACY_AF_DEBUG

Definition at line 62 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

Macro Definition Documentation#

local_printf#

#define local_printf
Value:
printf

Definition at line 55 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

local_vprintf#

#define local_vprintf
Value:
vprintf

Definition at line 56 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

sl_zigbee_stack_debug_print#

#define sl_zigbee_stack_debug_print

Definition at line 93 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

sl_zigbee_core_debug_print#

#define sl_zigbee_core_debug_print

Definition at line 99 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

sl_zigbee_app_debug_print#

#define sl_zigbee_app_debug_print

Definition at line 106 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

sl_zigbee_app_debug_print_buffer#

#define sl_zigbee_app_debug_print_buffer

Definition at line 107 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

sl_zigbee_zcl_debug_print#

#define sl_zigbee_zcl_debug_print

Definition at line 113 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h

sl_zigbee_debug_print#

#define sl_zigbee_debug_print

Definition at line 119 of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h