Debug Print#
API and Callbacks for the Debug Print Component.
API#
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, const char *format_string)
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
local_printf printf
#define
local_vprintf vprintf
#define
LIMIT_ATTR_STR_LENGTH (str)
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
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/A | group_type | Ver.: always |
N/A | enable | value Ver.: always |
Enable groups in debug prints.
Returns
sl_status_t status code
Definition at line
93
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, const char * format_string)
Parameters
N/A | group_type | Ver.: always |
N/A | buffer | value Ver.: always |
N/A | buffer_length | |
N/A | with_space | |
N/A | format_string |
Enable groups in debug prints.
Returns
sl_status_t status code
Definition at line
95
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
73
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
Macro Definition Documentation#
local_printf#
#define local_printfValue:
printf
Definition at line
62
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
local_vprintf#
#define local_vprintfValue:
vprintf
Definition at line
63
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
LIMIT_ATTR_STR_LENGTH#
#define LIMIT_ATTR_STR_LENGTHValue:
(str)
Definition at line
69
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
109
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_stack_debug_println#
#define sl_zigbee_stack_debug_println
Definition at line
110
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_stack_debug_print_buffer#
#define sl_zigbee_stack_debug_print_buffer
Definition at line
111
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_stack_debug_print_string#
#define sl_zigbee_stack_debug_print_string
Definition at line
112
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_stack_debug_print_long_string#
#define sl_zigbee_stack_debug_print_long_string
Definition at line
113
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
123
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_core_debug_println#
#define sl_zigbee_core_debug_println
Definition at line
124
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_core_debug_print_buffer#
#define sl_zigbee_core_debug_print_buffer
Definition at line
125
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_core_debug_print_string#
#define sl_zigbee_core_debug_print_string
Definition at line
126
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_core_debug_print_long_string#
#define sl_zigbee_core_debug_print_long_string
Definition at line
127
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
137
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_app_debug_println#
#define sl_zigbee_app_debug_println
Definition at line
138
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
139
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_app_debug_print_string#
#define sl_zigbee_app_debug_print_string
Definition at line
140
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_app_debug_print_long_string#
#define sl_zigbee_app_debug_print_long_string
Definition at line
141
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
151
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_zcl_debug_println#
#define sl_zigbee_zcl_debug_println
Definition at line
152
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_zcl_debug_print_buffer#
#define sl_zigbee_zcl_debug_print_buffer
Definition at line
153
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_zcl_debug_print_string#
#define sl_zigbee_zcl_debug_print_string
Definition at line
154
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_zcl_debug_print_long_string#
#define sl_zigbee_zcl_debug_print_long_string
Definition at line
155
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_legacy_af_debug_print#
#define sl_zigbee_legacy_af_debug_print
Definition at line
165
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_legacy_af_debug_println#
#define sl_zigbee_legacy_af_debug_println
Definition at line
166
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_legacy_af_debug_print_buffer#
#define sl_zigbee_legacy_af_debug_print_buffer
Definition at line
167
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_legacy_af_debug_print_string#
#define sl_zigbee_legacy_af_debug_print_string
Definition at line
168
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h
sl_zigbee_legacy_af_debug_print_long_string#
#define sl_zigbee_legacy_af_debug_print_long_string
Definition at line
169
of file app/framework/plugin/debug-print/sl_zigbee_debug_print.h