
| #define APS_FRAGMENTATION |
| #define MAC_DEVICE_TABLE_SIZE 4U |
| #define MAX_ZGP_CLUSTER_GPDF_PAYLOAD_SIZE 65U /* (64 for APP_000 + 1 byte header size) */ |
| #define N_SECUR_MATERIAL 3U |
Number of secure materials to store
| #define TC_SWAPOUT |
| #define ZB_APS_USER_PAYLOAD |
| #define ZB_BDB_ENABLE_FINDING_BINDING |
Load common ZBOSS definitions
| #define ZB_BEACON_SURVEY |
| #define ZB_CB_QUANT 1U |
| #define ZB_COUNT_CHILDREN |
| #define ZB_DELAY_BEFORE_ADVISED_MTORR ZB_MILLISECONDS_TO_BEACON_INTERVAL(2000u) |
If advised to send MTORR, do it after that delay
| #define ZB_DELAY_BEFORE_ADVISED_MTORR_HIPRI ZB_MILLISECONDS_TO_BEACON_INTERVAL(500u) |
| #define ZB_DELAY_BEFORE_MTORR_AT_BOOT ZB_MILLISECONDS_TO_BEACON_INTERVAL(100u) |
Delay to Send MTORR just after boot
| #define ZB_DEPRECATED_API |
| #define ZB_DEV_MANUFACTURER_TABLE_SIZE 32U |
Size of table used for long addresses compression: 3 bytes of manufacturer ID.
ZBOSS implements long address compression: 3 bytes of manufacturer ID are stored in the separate table; reference to manufacturer entry is stored in the long address giving 2 bytes economy.
That is an absolute limit of numbers of manufacturers known to the device.
| #define ZB_DIAG_CORE_WATCHDOG_TMO_MS 1000U |
| #define ZB_DISTRIBUTED_SECURITY_ON |
| #define ZB_ED_FUNC |
ZB end device functionality
| #define ZB_ED_FUNC |
ZB end device functionality
| #define ZB_ENABLE_HA |
| #define ZB_ENABLE_ZGP |
| #define ZB_ENABLE_ZGP_CLUSTER |
| #define ZB_ENABLE_ZGP_DIRECT |
| #define ZB_ENABLE_ZGP_SECUR |
| #define ZB_ENABLE_ZGP_TX_QUEUE |
| #define ZB_FORMATION |
Formation is supported by ZC or ZR in Distributed mode
| #define ZB_GP_DMIN_B_MS 32U |
| #define ZB_GP_DMIN_U_MS 5U |
| #define ZB_JOIN_CLIENT |
Define joiner client functionality
| #define ZB_LAZY_COUNTER_INTERVAL 1023U |
Interval in which counter is stored
| #define ZB_LQI_MAX 255 |
| #define ZB_LQI_MIN 0 |
| #define ZB_MIN_TIME_BETWEEN_MTORR ZB_MILLISECONDS_TO_BEACON_INTERVAL(10000u) |
Minimal time between MTORR when ZBOSS decided to run MTORR at some event
| #define ZB_NO_NWK_MULTICAST |
Disable NWK multicast. Deprecated in R21. Use APS groups and NWK broadcast instead.
| #define ZB_NVRAM_DATASET_MIGRATION |
Migration datasets when page overflow in NVRAM
| #define ZB_NWK_ADDR_REQ_PENDING_LIMIT 3U |
| #define ZB_NWK_MAX_PATH_LENGTH 5U |
Source routing path length, also called nwkMaxSourceRoute
| #define ZB_NWK_MAX_SRC_ROUTES ZB_NEIGHBOR_TABLE_SIZE |
Source route table capacity
| #define ZB_NWK_MESH_ROUTING |
NWK: if defined, implement mesh routing
| #define ZB_NWK_ROUTING |
NWK: If defined, enable routing functionality
| #define ZB_NWK_SRC_ROUTE_TABLE_EXPIRY 60U |
Expiration time of the source route table (300 sec)
| #define ZB_NWK_STOCHASTIC_ADDRESS_ASSIGN |
NWK: If defined, use stochastic address assignment (Zigbee PRO).
| #define ZB_PARENT_CLASSIFICATION |
| #define ZB_REJOIN_BACKOFF |
| #define ZB_ROUTER_SECURITY |
Defines router security
| #define ZB_RSSI_MAX 20 |
| #define ZB_RSSI_MIN -120 |
| #define ZB_SECURITY_INSTALLCODES |
| #define ZB_SIGNAL_HANDLERS_MAX 5U |
| #define ZB_STACK_SPEC_VERSION 23U |
Load vendor specific configurations
Specification version of the specification
| #define ZB_STORE_ADDR_MAP |
Save address map in the NVRAM
| #define ZB_STORE_NEIGHBOR_TBL |
Save neighbor table in the NVRAM
| #define ZB_TIME_ED_IDLE ZB_MILLISECONDS_TO_BEACON_INTERVAL(7500) |
End device idle time-out
| #define ZB_TIMER_32 |
If defined, 2007 stack profile is implemented If defined, NVRAM is used Create *.nvram file
To be used near always to prevent flash damage (flash can do ~1000 rewrites only)
For certification test need comment. Else change Assignment to Rejoin for second and last runs Use 32-bit timer
| #define ZB_TRANSCEIVER_ALL_CHANNELS_MASK 0x07FFF800U /* 0000.0111 1111.1111 1111.1000 0000.0000*/ |
| #define ZB_USE_SLEEP |
| #define ZB_USEALIAS |
| #define ZB_VERSION "0.2.0.1" |
| #define ZB_ZGP_DEFAULT_COMMISSIONING_WINDOW 180U |
| #define ZB_ZGP_DEFAULT_COMMUNICATION_MODE ZGP_COMMUNICATION_MODE_GROUPCAST_DERIVED |
| #define ZB_ZGP_DEFAULT_LINK_KEY "ZigBeeAlliance09" |
| #define ZB_ZGP_DEFAULT_SEC_LEVEL_INVOLVE_TC ZB_ZGP_SEC_LEVEL_PROTECTION_DO_NOT_INVOLVE_TC |
| #define ZB_ZGP_DEFAULT_SEC_LEVEL_MIN_GPD_SEC_LEVEL ZB_ZGP_SEC_LEVEL_FULL_NO_ENC |
| #define ZB_ZGP_DEFAULT_SEC_LEVEL_PROTECTION_WITH_GP_LINK_KEY ZB_ZGP_SEC_LEVEL_PROTECTION_WITH_GP_LINK_KEY |
| #define ZB_ZGP_DEFAULT_SHARED_SECURITY_KEY_TYPE ZB_ZGP_SEC_KEY_TYPE_NO_KEY |
| #define ZB_ZGP_DMAX_FOR_ACCUMULATE_TEMP_MASTER_INFO 100U |
| #define ZB_ZGP_LED_COMMISSIONING_PARAMS ZB_LED_ARG_CREATE(0, ZB_LED_BLINK_HALF_SEC) |
| #define ZB_ZGP_MAX_TEMP_MASTER_COUNT 0x03U |
| #define ZB_ZGP_MIN_PROXY_TABLE_ENTRY_SIZE 7U |
| #define ZB_ZGP_MIN_SINK_TABLE_ENTRY_SIZE 8U |
| #define ZB_ZGP_PROXY_COMMISSIONING_DEFAULT_COMMUNICATION_MODE ZGP_PROXY_COMM_MODE_UNICAST |
| #define ZB_ZGP_SINK_TBL_SIZE 32U |
Sink table size
| #define ZB_ZGP_TX_CMD_PLD_MAX_SIZE 64U /* Maximum payload size of APP_0000 packet */ |
Maximum payload length in outgoing ZGP frames
| #define ZB_ZGP_TX_PACKET_INFO_COUNT ZB_ZGP_TX_QUEUE_SIZE |
| #define ZB_ZGP_TX_QUEUE_SIZE 10U |
Number of frames in GPFS (repeated frames with same mac seq number)
For debug purposes set it to 1
| #define ZB_ZGPD_GPFS_SIZE 4U |