Logo
Developing with ZBOSS for Zigbee
Compile-time configuration parameters

Macros

#define ZB_ZGP_DEFAULT_COMMISSIONING_EXIT_MODE   ZGP_COMMISSIONING_EXIT_MODE_ON_PAIRING_SUCCESS
 
#define STACK_NETWORK_SELECT   0x00U
 
#define STACK_2007   0x01U
 
#define STACK_PRO   0x02U
 
#define ZB_PRO_STACK
 
#define ZB_DEFAULT_APS_CHANNEL_MASK   (ZB_TRANSCEIVER_ALL_CHANNELS_MASK)
 
#define ZB_NEIGHBOR_TABLE_SIZE   32U
 
#define ZB_SCHEDULER_Q_SIZE   16U
 
#define ZB_MAX_EP_NUMBER   5U
 
#define ZB_APS_SRC_BINDING_TABLE_SIZE   32U
 
#define ZB_APS_DST_BINDING_TABLE_SIZE   32U
 
#define ZB_APS_GROUP_TABLE_SIZE   16U
 
#define ZB_APS_ENDPOINTS_IN_GROUP_TABLE   8U
 
#define ZB_APS_GROUP_UP_Q_SIZE   8U
 
#define ZB_N_APS_KEY_PAIR_ARR_MAX_SIZE   5U
 
#define ZB_APS_SECURITY_TIME_OUT_PERIOD_DEFAULT   10000U
 
#define ZB_N_APS_ACK_WAIT_DURATION(_rx_on_when_idle)
 
#define ZB_IEEE_ADDR_TABLE_SIZE   101U
 
#define ZB_PANID_TABLE_SIZE   16U
 
#define ZB_DEFAULT_SCAN_DURATION   5U
 
#define ZB_DEFAULT_SCAN_DURATION_SUB_GHZ   ZB_DEFAULT_SCAN_DURATION
 
#define ZB_ZDO_PENDING_LEAVE_SIZE   4U
 
#define ZB_CHANNEL_PAGES_MAX_NUM   11u
 
#define ZB_CHANNEL_PAGES_NUM   1u
 
#define ZB_BUF_Q_SIZE   8U
 
#define ZB_IO_BUF_SIZE   152U
 
#define ZB_BUF_ALLOC_ALIGN   (4U)
 
#define ZB_APS_MAX_IN_FRAGMENT_TRANSMISSIONS   3U
 
#define ZB_IOBUF_POOL_SIZE   26U
 
#define ZB_NWK_ROUTING_FAILURE_ATTEMPTS_NUM   1U
 
#define ZB_NWK_ROUTING_FAILURE_EXPIRY_STEP   (ZB_NWK_ROUTING_TABLE_EXPIRY / ZB_NWK_ROUTING_FAILURE_ATTEMPTS_NUM)
 
#define ZB_ZDO_KEY_NEGOTIATIONS_NUM   1U
 
#define ZB_ZDO_PARENT_LINK_FAILURE_CNT   12U
 
#define ZB_ENABLE_INTER_PAN_EXCHANGE
 Controls inter-PAN exchange feature. More...
 
#define ZB_NEED_AES128_DEC
 
#define ZB_ZLL_ENABLE_COMMISSIONING_CLIENT
 
#define ZB_ZLL_ENABLE_COMMISSIONING_SERVER
 
#define ZB_ZLL_ADDR_ASSIGN_CAPABLE
 
#define ZB_ZLL_PRIMARY_CHANNELS   {11, 15, 20, 25}
 
#define ZB_TRACE_SERIAL_BAUDRATE   115200U
 
#define ZB_WATCHDOG_SCHED_QUANT   (20U * ZB_TIME_ONE_SECOND)
 
#define MAC_FRAME_VERSION   MAC_FRAME_IEEE_802_15_4_2003
 
#define ZB_ZGP_APP_DESCR_REPORTS_NUM   3U
 
#define ZB_ZGP_APP_DESCR_REPORT_DATA_SIZE   32U
 
#define MAC_AUTO_DELAY_IN_MAC_GP_SEND
 
#define ZB_GPD_RX_OFFSET_MS   20U
 
#define ZB_GPD_TX_OFFSET_US   (ZB_MILLISECONDS_TO_USEC(ZB_GPD_RX_OFFSET_MS))
 
#define ZB_GPD_MIN_RX_WINDOW_MS   50U
 
#define ZB_N_BUF_IDS   (ZB_IOBUF_POOL_SIZE + 1U)
 
#define ZB_STANDARD_TC_KEY   {0x5A, 0x69, 0x67, 0x42, 0x65, 0x65, 0x41, 0x6C, 0x6C, 0x69, 0x61, 0x6E, 0x63, 0x65, 0x30, 0x39 };
 
#define ZB_STANDARD_ECDHE_KEY   {0x5A, 0x69, 0x67, 0x42, 0x65, 0x65, 0x41, 0x6C, 0x6C, 0x69, 0x61, 0x6E, 0x63, 0x65, 0x31, 0x38 };
 
#define ZB_DISTRIBUTED_GLOBAL_KEY   {0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf};
 
#define ZB_CCM_KEY_SIZE   16U
 
#define ZB_CCM_KEY_CRC_SIZE   2U
 
#define ZB_SECUR_N_SECUR_MATERIAL   5U
 
#define ZB_PAKE_PASSCODE_LENGTH   4
 
#define ZB_PAKE_PASSCODE_EXPAND_LENGTH   ZB_CCM_KEY_SIZE
 
#define ZB_SECURITY_LEVEL   5U
 
#define ZB_MAC_INDIRECT_POLL_EXPIRE_TMO   ZB_MILLISECONDS_TO_BEACON_INTERVAL(7680U)
 
#define ZB_N_APS_MAX_FRAME_RETRIES_CONST   3U
 
#define ZB_N_APS_MAX_FRAME_RETRIES   ZB_N_APS_MAX_FRAME_RETRIES_CONST
 
#define ZB_N_APS_ACK_WAIT_DURATION_FROM_SLEEPY_CONST   ZB_N_APS_ACK_WAIT_DURATION_FROM_NON_SLEEPY
 
#define ZB_N_APS_ACK_WAIT_DURATION_FROM_SLEEPY   ZB_N_APS_ACK_WAIT_DURATION_FROM_SLEEPY_CONST
 
#define ZB_N_APS_ACK_WAIT_DURATION_FROM_NON_SLEEPY_CONST   (ZB_MILLISECONDS_TO_BEACON_INTERVAL(1600))
 
#define ZB_N_APS_ACK_WAIT_DURATION_FROM_NON_SLEEPY   (ZB_MILLISECONDS_TO_BEACON_INTERVAL(1600))
 
#define ZB_N_APS_BINDTRANS_ARR_MAX_SIZE   5U
 
#define ZB_N_APS_BINDTRANS_DST_INDEX_ARR_MAX_SIZE   ZB_APS_DST_BINDING_TABLE_SIZE
 
#define ZB_APS_MAX_PAYLOAD_SIZE   ZB_APS_GUARANTEED_PAYLOAD_SIZE_WO_SECURITY
 
#define APS_IN_FRAG_MAX_BUF_SIZE   1500U
 
#define ZB_NWK_LINK_STATUS_PERIOD   0xfU
 
#define ZB_NWK_ROUTER_AGE_LIMIT   3U
 
#define ZB_NWK_REJOIN_TIMEOUT   (ZB_TIME_ONE_SECOND * 5U)
 
#define ZB_NWK_IMMEDIATE_REJOIN_DELAY_MS   (1000U)
 
#define ZB_NWK_REJOIN_FIRST_POLL_DELAY   (ZB_TIME_ONE_SECOND / 2U)
 
#define ZB_NWK_REJOIN_POLL_ATTEMPTS   3U
 
#define ZB_PIM_DEFAULT_FAST_POLL_TIMEOUT   (ZB_TIME_ONE_SECOND * 10U)
 
#define ZB_PIM_DEFAULT_FAST_POLL_INTERVAL   ZB_QUARTERECONDS_TO_BEACON_INTERVAL(2U)
 
#define ZB_PIM_DEFAULT_LONG_POLL_INTERVAL   (ZB_TIME_ONE_SECOND * 5U)
 
#define ZB_PIM_MINIMUM_LONG_POLL_INTERVAL_IN_QS   0x04U
 
#define ZB_PIM_DEFAULT_LONG_POLL_INTERVAL_IN_QS   0x0014U
 
#define ZB_PIM_MAXIMUM_LONG_POLL_INTERVAL_IN_QS   0x6e0000U
 
#define ZB_PIM_MINIMUM_SHORT_POLL_INTERVAL_IN_QS   0x01U
 
#define ZB_PIM_DEFAULT_SHORT_POLL_INTERVAL_IN_QS   0x02U
 
#define ZB_PIM_MAXIMUM_SHORT_POLL_INTERVAL_IN_QS   0xffffU
 
#define ZB_PIM_DEFAULT_TURBO_POLL_INTERVAL   ZB_MILLISECONDS_TO_BEACON_INTERVAL(100U)
 
#define ZB_PIM_DEFAULT_MIN_TURBO_POLL_INTERVAL   ZB_MILLISECONDS_TO_BEACON_INTERVAL(100U)
 
#define ZB_PIM_DEFAULT_MAX_TURBO_POLL_INTERVAL   ZB_MILLISECONDS_TO_BEACON_INTERVAL(3000U)
 
#define ZB_PIM_TURBO_POLL_PACKETS_TIMEOUT   (ZB_TIME_ONE_SECOND * 15U)
 
#define ZB_PIM_TURBO_POLL_LEAVE_TIMEOUT   (ZB_TIME_ONE_SECOND / 3U)
 
#define ZB_PIM_TURBO_POLL_MAX_RETRIES   (3U)
 
#define ZB_ZDO_NWK_TIME_BTWN_SCANS   30U
 
#define ZB_ZDO_NWK_SCAN_ATTEMPTS   5U
 
#define ZB_MAX_BEACON_APPENDIX_TLV_SIZE   32U
 
#define ZB_ZGP_DUPLICATE_TIMEOUT   (1U * ZB_TIME_ONE_SECOND)
 
#define ZB_ZGPD_FIRST_CH   11U
 
#define ZB_ZGPD_LAST_CH   26U
 
#define ZB_ZGP_CHANNEL_REQ_ON_TX_CH_TIMEOUT   (5U * ZB_TIME_ONE_SECOND)
 
#define ZB_ZGP_TIMEOUT_BEFORE_FORCE_CANCEL   0U
 
#define ZB_ZGPD_MANUF_ID_UNSPEC   0xFFFFU
 
#define ZB_ZGPD_DEF_MANUFACTURER_ID   0x10d0U
 
#define ZB_ZGP_MAX_LW_UNICAST_ADDR_PER_GPD   2U
 
#define ZB_ZGP_MAX_SINK_GROUP_PER_GPD   2U
 
#define ZB_ZGP_MAX_PAIRED_ENDPOINTS   2U
 
#define ZB_ZGP_MAX_PAIRED_CONF_GPD_COMMANDS   16U
 
#define ZB_ZGP_MAX_PAIRED_SRV_CONF_CLUSTERS   15U
 
#define ZB_ZGP_MAX_PAIRED_CLI_CONF_CLUSTERS   15U
 

Detailed Description

Most of the mentioned defines can be used only as an additional source of information about ZBOSS Stack.

Value of some defines can be changed in the application, see detailed instruction in Configurable ZBOSS memory sizes

Macro Definition Documentation

§ APS_IN_FRAG_MAX_BUF_SIZE

#define APS_IN_FRAG_MAX_BUF_SIZE   1500U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

Maximum buffer size for APS fragmentation. Bigger buffer will not be created for APS fragmentation

§ MAC_AUTO_DELAY_IN_MAC_GP_SEND

§ MAC_FRAME_VERSION

#define MAC_FRAME_VERSION   MAC_FRAME_IEEE_802_15_4_2003

§ STACK_2007

§ STACK_NETWORK_SELECT

#define STACK_NETWORK_SELECT   0x00U

§ STACK_PRO

§ ZB_APS_DST_BINDING_TABLE_SIZE

#define ZB_APS_DST_BINDING_TABLE_SIZE   32U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

APS: DST binding table size

Note
This is a default value of the define. This value can be changed by user.

§ ZB_APS_ENDPOINTS_IN_GROUP_TABLE

#define ZB_APS_ENDPOINTS_IN_GROUP_TABLE   8U

§ ZB_APS_GROUP_TABLE_SIZE

#define ZB_APS_GROUP_TABLE_SIZE   16U

§ ZB_APS_GROUP_UP_Q_SIZE

#define ZB_APS_GROUP_UP_Q_SIZE   8U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

APS: size of queue to be used to pass incoming group addresses packets up

§ ZB_APS_MAX_IN_FRAGMENT_TRANSMISSIONS

#define ZB_APS_MAX_IN_FRAGMENT_TRANSMISSIONS   3U

§ ZB_APS_MAX_PAYLOAD_SIZE

#define ZB_APS_MAX_PAYLOAD_SIZE   ZB_APS_GUARANTEED_PAYLOAD_SIZE_WO_SECURITY

§ ZB_APS_SECURITY_TIME_OUT_PERIOD_DEFAULT

#define ZB_APS_SECURITY_TIME_OUT_PERIOD_DEFAULT   10000U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

If the joining device does not receive any of the keys within apsSecurityTimeOutPeriod, of receiving the NLME-JOIN. confirm primitive, it shall reset

apsSecurityTimeOutPeriod value for revision 23 equal to 10 seconds (See Zigbee specification subclause 4.4.12)

§ ZB_APS_SRC_BINDING_TABLE_SIZE

#define ZB_APS_SRC_BINDING_TABLE_SIZE   32U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

APS: SRC binding table size

Note
This is a default value of the define. This value can be changed by user.

§ ZB_BUF_ALLOC_ALIGN

#define ZB_BUF_ALLOC_ALIGN   (4U)

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Buffer tail portion alignment - 4.

Note: not sizeof(zb_size_t) because at 64-bit build it is 8 which we don't want.

§ ZB_BUF_Q_SIZE

#define ZB_BUF_Q_SIZE   8U

§ ZB_CCM_KEY_CRC_SIZE

§ ZB_CCM_KEY_SIZE

§ ZB_CHANNEL_PAGES_MAX_NUM

#define ZB_CHANNEL_PAGES_MAX_NUM   11u

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Maximum channel pages number according to the Zigbee revision 23 specification

§ ZB_CHANNEL_PAGES_NUM

§ ZB_DEFAULT_APS_CHANNEL_MASK

#define ZB_DEFAULT_APS_CHANNEL_MASK   (ZB_TRANSCEIVER_ALL_CHANNELS_MASK)

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Zigbee channel selection. Default value of ZB_AIB().aps_channel_mask Channels to be used for discovery and join. If a single channel is selected, there is no need to perform energy scan.

Note
ZLL, HA, ZLL tests can redefine this mask with the means of other constants.

§ ZB_DEFAULT_SCAN_DURATION

§ ZB_DEFAULT_SCAN_DURATION_SUB_GHZ

§ ZB_DISTRIBUTED_GLOBAL_KEY

#define ZB_DISTRIBUTED_GLOBAL_KEY   {0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf};

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

In ZLL specification this is ZLL Certification pre-installed link key - see 8.7.2 Transfer ring the network key during classical Zigbee commissioning.

The distributed security global link key is used to join a distributed security network. This link key is provided to a company as a result of a successful certification of a product. For testing, this key SHALL have this default value.

See Base Device Behaviour Specification subclause 6.3.2 Distributed security global link key

§ ZB_ENABLE_INTER_PAN_EXCHANGE

#define ZB_ENABLE_INTER_PAN_EXCHANGE

§ ZB_GPD_MIN_RX_WINDOW_MS

#define ZB_GPD_MIN_RX_WINDOW_MS   50U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

gpdMinRxWindow The gpdMinRxWindow is minimal duration of the reception window of an Rx-capable GPD. It has the value of 0.576 ms that corresponds to the Channel Configuration GPDF of 18B. GPD vendors shall implement reception window duration that corresponds to the actual GPD frame size to be received by this GPD, which may never be shorter than gpdMinRxWindow.

A.1.6.3.2 gpdMinRxWindow

§ ZB_GPD_RX_OFFSET_MS

§ ZB_GPD_TX_OFFSET_US

§ ZB_IEEE_ADDR_TABLE_SIZE

#define ZB_IEEE_ADDR_TABLE_SIZE   101U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

NWK: size of the long-short address translation table

Note
This is a default value of the define. This value can be changed by user.

§ ZB_IO_BUF_SIZE

§ ZB_IOBUF_POOL_SIZE

#define ZB_IOBUF_POOL_SIZE   26U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Number of packet buffers. More buffers - more memory. Less buffers - risk to be blocked due to buffer absence.

Note
This is a default value of the define. This value can be changed by user.

§ ZB_MAC_INDIRECT_POLL_EXPIRE_TMO

§ ZB_MAX_BEACON_APPENDIX_TLV_SIZE

§ ZB_MAX_EP_NUMBER

#define ZB_MAX_EP_NUMBER   5U

§ ZB_N_APS_ACK_WAIT_DURATION

#define ZB_N_APS_ACK_WAIT_DURATION (   _rx_on_when_idle)

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Value:
((_rx_on_when_idle) ? \
#define ZB_N_APS_ACK_WAIT_DURATION_FROM_NON_SLEEPY
Definition: zb_config_common.h:302
#define ZB_N_APS_ACK_WAIT_DURATION_FROM_SLEEPY
Definition: zb_config_common.h:274

APS: Get APS ACK wait time for the device depending on its receiver on when idle

§ ZB_N_APS_ACK_WAIT_DURATION_FROM_NON_SLEEPY

§ ZB_N_APS_ACK_WAIT_DURATION_FROM_NON_SLEEPY_CONST

#define ZB_N_APS_ACK_WAIT_DURATION_FROM_NON_SLEEPY_CONST   (ZB_MILLISECONDS_TO_BEACON_INTERVAL(1600))

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

APS: APS ACK wait time from Non Sleepy devices. After this timeout resend APS packet

See Zigbee specification revision 22 section 2.2.7.1 APS Constants

§ ZB_N_APS_ACK_WAIT_DURATION_FROM_SLEEPY

§ ZB_N_APS_ACK_WAIT_DURATION_FROM_SLEEPY_CONST

#define ZB_N_APS_ACK_WAIT_DURATION_FROM_SLEEPY_CONST   ZB_N_APS_ACK_WAIT_DURATION_FROM_NON_SLEEPY

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

APS: APS ACK wait time from Sleepy devices. After this timeout resend APS packet see Zigbee specification revision 23 section 2.2.7.1 APS Constants

§ ZB_N_APS_BINDTRANS_ARR_MAX_SIZE

#define ZB_N_APS_BINDTRANS_ARR_MAX_SIZE   5U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

APS: maximum number of tables with information from a binding table to be sent to the devices

§ ZB_N_APS_BINDTRANS_DST_INDEX_ARR_MAX_SIZE

#define ZB_N_APS_BINDTRANS_DST_INDEX_ARR_MAX_SIZE   ZB_APS_DST_BINDING_TABLE_SIZE

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

APS: maximum number of elements in array with index from dst array in bind table

§ ZB_N_APS_KEY_PAIR_ARR_MAX_SIZE

#define ZB_N_APS_KEY_PAIR_ARR_MAX_SIZE   5U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

APS: maximum number of tables with key-pair information

Note
This is a default value of the define. This value can be changed by user.

§ ZB_N_APS_MAX_FRAME_RETRIES

§ ZB_N_APS_MAX_FRAME_RETRIES_CONST

#define ZB_N_APS_MAX_FRAME_RETRIES_CONST   3U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

APS retransmissions APS maximum of apscMaxFrameRetries times

See Zigbee specification revision 22 section 2.2.7.1 APS Constants

§ ZB_N_BUF_IDS

#define ZB_N_BUF_IDS   (ZB_IOBUF_POOL_SIZE + 1U)

§ ZB_NEED_AES128_DEC

§ ZB_NEIGHBOR_TABLE_SIZE

#define ZB_NEIGHBOR_TABLE_SIZE   32U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

NWK: size of the neighbor table

Note
This is a default value of the define. This value can be changed by user.

§ ZB_NWK_IMMEDIATE_REJOIN_DELAY_MS

§ ZB_NWK_LINK_STATUS_PERIOD

#define ZB_NWK_LINK_STATUS_PERIOD   0xfU

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

The time in seconds between link status command frames.

Correspond to nwkLinkStatusPeriod in Zigbee Specification revision 22 subclause 3.5.1 NWK Constants The value defined by specification.

§ ZB_NWK_REJOIN_FIRST_POLL_DELAY

#define ZB_NWK_REJOIN_FIRST_POLL_DELAY   (ZB_TIME_ONE_SECOND / 2U)

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

The rejoining sleeping end-device shall not poll before the response timeout (500ms), such that the parent has enough time to process the rejoin request and put a response frame in its indirect queue (same as for association response). Depending on the implementation, once a rejoining device has performed an active scan and selected a new parent router, it sends a rejoin request (and at that time considers this router to be its new parent, otherwise it cannot accept the rejoin response), and polls for a response 500ms later.

§ ZB_NWK_REJOIN_POLL_ATTEMPTS

#define ZB_NWK_REJOIN_POLL_ATTEMPTS   3U

§ ZB_NWK_REJOIN_TIMEOUT

§ ZB_NWK_ROUTER_AGE_LIMIT

#define ZB_NWK_ROUTER_AGE_LIMIT   3U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

The number of missed link status command frames before resetting the link costs to zero.

Correspond to nwkRouterAgeLimit in Zigbee Specification revision 22 subclause 3.5.1 NWK Constants The value defined by specification.

§ ZB_NWK_ROUTING_FAILURE_ATTEMPTS_NUM

#define ZB_NWK_ROUTING_FAILURE_ATTEMPTS_NUM   1U

§ ZB_NWK_ROUTING_FAILURE_EXPIRY_STEP

#define ZB_NWK_ROUTING_FAILURE_EXPIRY_STEP   (ZB_NWK_ROUTING_TABLE_EXPIRY / ZB_NWK_ROUTING_FAILURE_ATTEMPTS_NUM)

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Calculate routing expiry step interval based on timer initiation value and number of attempts

§ ZB_PAKE_PASSCODE_EXPAND_LENGTH

§ ZB_PAKE_PASSCODE_LENGTH

§ ZB_PANID_TABLE_SIZE

#define ZB_PANID_TABLE_SIZE   16U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

NWK: size of the long-short Pan ID translation table

Must be <= (packet buffer size - sizeof(*discovery_confirm)) / sizeof(*network_descriptor)

That value limits number of Pan IDs visible for device during active scan.

§ ZB_PIM_DEFAULT_FAST_POLL_INTERVAL

§ ZB_PIM_DEFAULT_FAST_POLL_TIMEOUT

§ ZB_PIM_DEFAULT_LONG_POLL_INTERVAL

§ ZB_PIM_DEFAULT_LONG_POLL_INTERVAL_IN_QS

#define ZB_PIM_DEFAULT_LONG_POLL_INTERVAL_IN_QS   0x0014U

§ ZB_PIM_DEFAULT_MAX_TURBO_POLL_INTERVAL

§ ZB_PIM_DEFAULT_MIN_TURBO_POLL_INTERVAL

§ ZB_PIM_DEFAULT_SHORT_POLL_INTERVAL_IN_QS

#define ZB_PIM_DEFAULT_SHORT_POLL_INTERVAL_IN_QS   0x02U

§ ZB_PIM_DEFAULT_TURBO_POLL_INTERVAL

§ ZB_PIM_MAXIMUM_LONG_POLL_INTERVAL_IN_QS

#define ZB_PIM_MAXIMUM_LONG_POLL_INTERVAL_IN_QS   0x6e0000U

§ ZB_PIM_MAXIMUM_SHORT_POLL_INTERVAL_IN_QS

#define ZB_PIM_MAXIMUM_SHORT_POLL_INTERVAL_IN_QS   0xffffU

§ ZB_PIM_MINIMUM_LONG_POLL_INTERVAL_IN_QS

#define ZB_PIM_MINIMUM_LONG_POLL_INTERVAL_IN_QS   0x04U

§ ZB_PIM_MINIMUM_SHORT_POLL_INTERVAL_IN_QS

#define ZB_PIM_MINIMUM_SHORT_POLL_INTERVAL_IN_QS   0x01U

§ ZB_PIM_TURBO_POLL_LEAVE_TIMEOUT

§ ZB_PIM_TURBO_POLL_MAX_RETRIES

#define ZB_PIM_TURBO_POLL_MAX_RETRIES   (3U)

§ ZB_PIM_TURBO_POLL_PACKETS_TIMEOUT

§ ZB_PRO_STACK

§ ZB_SCHEDULER_Q_SIZE

#define ZB_SCHEDULER_Q_SIZE   16U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Scheduler callbacks queue size. Usually not need to change it.

Note
This is a default value of the define. This value can be changed by user.

§ ZB_SECUR_N_SECUR_MATERIAL

#define ZB_SECUR_N_SECUR_MATERIAL   5U

§ ZB_SECURITY_LEVEL

#define ZB_SECURITY_LEVEL   5U

§ ZB_STANDARD_ECDHE_KEY

#define ZB_STANDARD_ECDHE_KEY   {0x5A, 0x69, 0x67, 0x42, 0x65, 0x65, 0x41, 0x6C, 0x6C, 0x69, 0x61, 0x6E, 0x63, 0x65, 0x31, 0x38 };

§ ZB_STANDARD_TC_KEY

#define ZB_STANDARD_TC_KEY   {0x5A, 0x69, 0x67, 0x42, 0x65, 0x65, 0x41, 0x6C, 0x6C, 0x69, 0x61, 0x6E, 0x63, 0x65, 0x30, 0x39 };

§ ZB_TRACE_SERIAL_BAUDRATE

§ ZB_WATCHDOG_SCHED_QUANT

#define ZB_WATCHDOG_SCHED_QUANT   (20U * ZB_TIME_ONE_SECOND)

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Check watchdogs once per 20 sec. The hardware watchdog timer is set to 30 seconds, it should be initiated even if there is no job for it

§ ZB_ZDO_KEY_NEGOTIATIONS_NUM

#define ZB_ZDO_KEY_NEGOTIATIONS_NUM   1U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

ZDO: Maximum number of parallel Key Negotiation procedures on the TC side

§ ZB_ZDO_NWK_SCAN_ATTEMPTS

#define ZB_ZDO_NWK_SCAN_ATTEMPTS   5U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

Integer value representing the number of scan attempts to make before the NWK layer decides which Zigbee coordinator or router to associate with.

See Zigbee Specification revision 22 section 2.5.51 Configuration Attribute Definitions

Table 2-154 of Zigbee Specification revision 22 : Config_NWK_Scan_Attempts default value is 5.

§ ZB_ZDO_NWK_TIME_BTWN_SCANS

#define ZB_ZDO_NWK_TIME_BTWN_SCANS   30U

§ ZB_ZDO_PARENT_LINK_FAILURE_CNT

#define ZB_ZDO_PARENT_LINK_FAILURE_CNT   12U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Number of times device fails to send packet to the parent before rejoin

§ ZB_ZDO_PENDING_LEAVE_SIZE

#define ZB_ZDO_PENDING_LEAVE_SIZE   4U

§ ZB_ZGP_APP_DESCR_REPORT_DATA_SIZE

#define ZB_ZGP_APP_DESCR_REPORT_DATA_SIZE   32U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

The maximum report descriptor length that GPD can send in the Application Description.

§ ZB_ZGP_APP_DESCR_REPORTS_NUM

#define ZB_ZGP_APP_DESCR_REPORTS_NUM   3U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

The maximum number of reports that GPD can send in the Application Description.

§ ZB_ZGP_CHANNEL_REQ_ON_TX_CH_TIMEOUT

#define ZB_ZGP_CHANNEL_REQ_ON_TX_CH_TIMEOUT   (5U * ZB_TIME_ONE_SECOND)

§ ZB_ZGP_DEFAULT_COMMISSIONING_EXIT_MODE

#define ZB_ZGP_DEFAULT_COMMISSIONING_EXIT_MODE   ZGP_COMMISSIONING_EXIT_MODE_ON_PAIRING_SUCCESS

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config.h>

Default commissioning exit mode. According to spec should be "On pairing success" (0x01)

See also
ZGP spec, A.3.3.2 Server Attributes

§ ZB_ZGP_DUPLICATE_TIMEOUT

#define ZB_ZGP_DUPLICATE_TIMEOUT   (1U * ZB_TIME_ONE_SECOND)

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

zgpDuplicateTimeout value

The time the EPP of the ZGPS and ZGPP keeps the information on the received GPDF with random sequence number, in order to filter out duplicates.

The default value of 2 seconds can be modified by the application profile

See also
ZGP spec, A.3.6.1.2.1

§ ZB_ZGP_MAX_LW_UNICAST_ADDR_PER_GPD

#define ZB_ZGP_MAX_LW_UNICAST_ADDR_PER_GPD   2U

§ ZB_ZGP_MAX_PAIRED_CLI_CONF_CLUSTERS

§ ZB_ZGP_MAX_PAIRED_CONF_GPD_COMMANDS

#define ZB_ZGP_MAX_PAIRED_CONF_GPD_COMMANDS   16U

§ ZB_ZGP_MAX_PAIRED_ENDPOINTS

#define ZB_ZGP_MAX_PAIRED_ENDPOINTS   2U

§ ZB_ZGP_MAX_PAIRED_SRV_CONF_CLUSTERS

#define ZB_ZGP_MAX_PAIRED_SRV_CONF_CLUSTERS   15U

§ ZB_ZGP_MAX_SINK_GROUP_PER_GPD

#define ZB_ZGP_MAX_SINK_GROUP_PER_GPD   2U

§ ZB_ZGP_TIMEOUT_BEFORE_FORCE_CANCEL

#define ZB_ZGP_TIMEOUT_BEFORE_FORCE_CANCEL   0U

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zb_config_common.h>

If commissioning on the last stage, then it determines time to wait until commissioning is complete. If commissioning is not completed during this time, then commissioning cancel procedure is started.

Timeout before completing commissioning if the last stage is successful or, otherwise, start the cancel procedure.

§ ZB_ZGPD_DEF_MANUFACTURER_ID

#define ZB_ZGPD_DEF_MANUFACTURER_ID   0x10d0U

§ ZB_ZGPD_FIRST_CH

#define ZB_ZGPD_FIRST_CH   11U

§ ZB_ZGPD_LAST_CH

#define ZB_ZGPD_LAST_CH   26U

§ ZB_ZGPD_MANUF_ID_UNSPEC

#define ZB_ZGPD_MANUF_ID_UNSPEC   0xFFFFU

§ ZB_ZLL_ADDR_ASSIGN_CAPABLE

§ ZB_ZLL_ENABLE_COMMISSIONING_CLIENT

§ ZB_ZLL_ENABLE_COMMISSIONING_SERVER

§ ZB_ZLL_PRIMARY_CHANNELS