Trace Definitions

Trace APIs for ESP Zigbee SDK.

API Reference

Header File

Functions

void esp_zb_set_trace_level_mask(esp_zb_trace_level_cfg_t trace_level, uint32_t trace_mask)

The Zigbee trace configuration.

Note

Please ensure to call esp_zb_set_trace_level_mask before invoking esp_zb_init

Parameters
  • trace_level[in] set trace level refer to esp_zb_trace_level_cfg_t

  • trace_mask[in] Set trace mask

Macros

ESP_ZB_TRACE_SUBSYSTEM_COMMON

The Zigbee SDK trace mask

Note

Different masks represent different sections of the zigbee stack Common subsystem

ESP_ZB_TRACE_SUBSYSTEM_MEM

MEM subsystem (buffers pool)

ESP_ZB_TRACE_SUBSYSTEM_MAC

MAC subsystem

ESP_ZB_TRACE_SUBSYSTEM_NWK

NWK subsystem

ESP_ZB_TRACE_SUBSYSTEM_APS

APS subsystem

ESP_ZB_TRACE_SUBSYSTEM_ZSE

ZSE subsystem

ESP_ZB_TRACE_SUBSYSTEM_ZDO

ZDO subsystem

ESP_ZB_TRACE_SUBSYSTEM_SECUR

Security subsystem

ESP_ZB_TRACE_SUBSYSTEM_ZCL

ZCL subsystem

ESP_ZB_TRACE_SUBSYSTEM_ZLL

ZLL/Touchlink subsystem

ESP_ZB_TRACE_SUBSYSTEM_SSL

SSL subsystem

ESP_ZB_TRACE_SUBSYSTEM_NCP_TRANSPORT
ESP_ZB_TRACE_SUBSYSTEM_MACSPLIT
ESP_ZB_TRACE_SUBSYSTEM_APP

User Application

ESP_ZB_TRACE_SUBSYSTEM_LWIP

LWIP is used, else free

ESP_ZB_TRACE_SUBSYSTEM_ALIEN

Some special debug

ESP_ZB_TRACE_SUBSYSTEM_ZGP

ZGP subsystem

ESP_ZB_TRACE_SUBSYSTEM_MAC_API

MAC API subsystem

ESP_ZB_TRACE_SUBSYSTEM_MACLL

MAC LL subsystem

ESP_ZB_TRACE_SUBSYSTEM_SPECIAL1

Special subsystem

ESP_ZB_TRACE_SUBSYSTEM_BATTERY

Battery subsystem

ESP_ZB_TRACE_SUBSYSTEM_OTA

OTA subsystem

ESP_ZB_TRACE_SUBSYSTEM_TRANSPORT

Transport subsystem

ESP_ZB_TRACE_SUBSYSTEM_USB

USB subsystem

ESP_ZB_TRACE_SUBSYSTEM_SPI

SPI subsystem

ESP_ZB_TRACE_SUBSYSTEM_UART

UART subsystem

ESP_ZB_TRACE_SUBSYSTEM_JSON

JSON subsystem

ESP_ZB_TRACE_SUBSYSTEM_HTTP

HTTP subsystem

ESP_ZB_TRACE_SUBSYSTEM_CLOUD

Interface to the Cloud

ESP_ZB_TRACE_SUBSYSTEM_ZBDIRECT

Zigbee Direct subsystem

ESP_ZB_TRACE_SUBSYSTEM_DIAGNOSTIC

Diagnostic subsystem

ESP_ZB_TRACE_SUBSYSTEM_NS

Network simulator subsystem

Enumerations

enum esp_zb_trace_level_cfg_t

The esp zigbee SDK trace level value.

Values:

enumerator ESP_ZB_TRACE_LEVEL_NONE
enumerator ESP_ZB_TRACE_LEVEL_CRITICAL
enumerator ESP_ZB_TRACE_LEVEL_WARN
enumerator ESP_ZB_TRACE_LEVEL_INFO
enumerator ESP_ZB_TRACE_LEVEL_DEBUG
enumerator ESP_ZB_TRACE_LEVEL_VERBOSE