Network Configurations¶
Overview¶
The following sections provide the name and description of the most significant variables to be considered when designing a mesh network. They are ordered by project location as can be found in an imported Z-Stack project.
Network Configuration¶
Zigbee Device¶
Location: Stack/Config/f8wconfig.opts
DEFAULT_CHANLIST
: Determines the 2.4-GHz channel that the Zigbee device will operate onZDAPP_CONFIG_PAN_ID
: Default PAN ID the coordinator will use to create the network, setting to 0xFFFF results in a random assignmentNWK_INDIRECT_MSG_TIMEOUT
: Determines how long to buffer indirect messages for sleeping end devicesAPSC_MAX_FRAME_RETRIES
: Maximum number of APS layer retries, this value plus one is the total number of attemptsNWK_MAX_DATA_RETRIES
: Maximum number of MAC network layer retriesMAX_RTG_ENTRIES
: Maximum number of AODV routing entries, maintained byROUTE_EXPIRY_TIME
DEFAULT_KEY
: Default network security key, if set to all 0x00 then a random key will be generatedRFD_RCVC_ALWAYS_ON
: Determines whether an end device is allowed to enter standby mode for low power operationPOLL_RATE
: End device time delay before requesting data from its parent, must be shorter than theNWK_END_DEV_TIMEOUT_DEFAULT
to avoid being aged out
Network Parameters¶
Location: Stack/nwk/nwk_globals.h
NWK_LINK_STATUS_PERIOD
: Interval for which link status reports are broadcast on the networkNWK_MAX_DEVICE_LIST
: Number of direct children supported by the association table, further maintained by child agingMAX_NEIGHBOR_ENTIRES
: Number of neighbors supported by the neighbor table, maintained byNWK_ROUTE_AGE_LIMIT
MAX_ROUTING_SRC_ENTRIES
: Number of cached source routes, coordinator MTO-routing specific and should equal the max number of nodes in the the networkSRC_ROUTING_EXPIRY_TIME
: Hop count for concentrator route discoveries, pertains only to coodinator MTO-routingDEFAULT_TC_LINK_KEY
: Pre-configured Trust Center link key and must remain as default for Zigbee Alliance 3 compliance
Z-Stack Parameters¶
Location: Stack/sys/zglobals.h
MAX_POLL_FAILURE_RETRIES
: Maximum retries for an end device not receiving ACKsCONCENTRATOR_ENABLE
: Set to TRUE for coordinator MTO routingCONCENTRATOR_DISCOVERY_TIME
: MTO RREQ broadcast period in seconds, set to zero to disableCONCENTRATOR_ROUTE_CACHE
: Source route cache table, setting to TRUE is recommended for applications with allowable RAM spaceNWK_END_DEV_TIMEOUT_DEFAULT
: Default time before a routing devices ages out a childNWK_END_DEVICE_LEAVE_TIMEOUT
: Further time for which a leave request will be queued for children who have unknowingly aged outEND_DEV_TIMEOUT_VALUE
: Timeout value for child aging as sent by the end device during the NWK association’s end device timeout request
Base Device Behavior¶
Location: Stack/bdb/bdb.h
TCLK_POLL_RATE
: Maximum retries for an end device not receiving ACKsBDB_DEFAULT_TC_LINK_KEY_EXCHANGE_ATTEMPS_MAX
: Set to TRUE for coordinator MTO routingBDBC_TC_LINK_KEY_EXANGE_TIMEOUT
: MTO RREQ broadcast period in seconds, set to zero to disable
Location: Stack/bdb/bdb_interface.h
BDBC_MIN_COMMISSIONING_TIME
: Length of time to commission the network for which permit join is enabled, a maximum of 254 seconds is required in accordance with Zigbee 2015 and later specificationBDB_INSTALL_CODE_USE
: Defines which method of install code is used if enabledBDB_DEFAULT_JOIN_USES_INSTALL_CODE_KEY
: Enables install codes if set to TRUEBDB_DEFAULT_TC_REQUIRE_KEY_EXCHANGE
: Leave FALSE to allow pre-Zigbee 3 devices to join the network
Other Parameters¶
Stack/zdo/zd_sec_mgr.h
→ZDSECMGR_TC_DEVICE_MAX
: Maximum number of unique trust center link keys supported (and therefore Zigbee 3 devices allowed) in the network