Generate ZDO response payload for coordinator based on cluster ID.
The ZDO cluster ID
The request payload buffer
Response buffer or undefined if cluster not supported
05-3474-23 #2.4.4.2.3
Generate LQI (Link Quality Indicator) table response for coordinator. ZDO response to LQI_TABLE_REQUEST.
SPEC COMPLIANCE NOTES:
The index to start the table entries from
Buffer containing the LQI table response
05-3474-23 #2.4.4.3.3
Generate routing table response for coordinator. ZDO response to ROUTING_TABLE_REQUEST. NOTE: Only outputs the best source route for each entry in the table (clipped to max 255 entries).
SPEC COMPLIANCE NOTES:
The index to start the table entries from
Buffer containing the routing table response
05-3474-23 #2.2.6.5 (APS duplicate rejection)
Check whether an incoming APS frame is a duplicate and update the duplicate table accordingly.
SPEC COMPLIANCE NOTES:
true when the frame was already seen within the duplicate removal timeout.
Check if ZDO request is intended for coordinator.
The ZDO cluster ID
Network destination address (16-bit)
Network destination address (64-bit)
The ZDO request payload
true if request targets coordinator
Get next APS counter. HOT PATH: Optimized counter increment
Incremented APS counter (wraps at 255)
Get next ZDO sequence number. HOT PATH: Optimized counter increment
Incremented ZDO sequence number (wraps at 255)
05-3474-23 #4.4.11 (APS command processing)
SPEC COMPLIANCE NOTES:
05-3474-23 #4.4.11.8 (APS Confirm Key)
SPEC COMPLIANCE NOTES:
05-3474-23 #4.4 (APS layer processing)
SPEC COMPLIANCE NOTES:
R23 FEATURE - 05-3474-23 #4.4.11.9
SPEC COMPLIANCE:
USE CASES: ZVD (Zigbee Virtual Devices), Zigbee Direct - NOT SUPPORTED
NOTE: Non-critical for Zigbee 3.0 PRO networks DEVICE SCOPE: Trust Center
R23 FEATURE - 05-3474-23 #4.4.11.10
SPEC COMPLIANCE:
USE CASES: ZVD (Zigbee Virtual Devices), Zigbee Direct - NOT SUPPORTED
NOTE: Non-critical for Zigbee 3.0 PRO networks DEVICE SCOPE: Routers (N/A), end devices (N/A)
05-3474-23 #4.4.11.3
SPEC COMPLIANCE:
05-3474-23 #4.4.11.4 #4.4.5.2.3
SPEC COMPLIANCE NOTES:
05-3474-23 #4.4.11.3
SPEC COMPLIANCE:
05-3474-23 #4.4.11.1
SPEC COMPLIANCE NOTES:
05-3474-23 #4.4.11.6
SPEC COMPLIANCE:
IMPACT: Not applicable for Coordinator/Trust Center DEVICE SCOPE: Coordinator, routers (N/A), end devices (N/A)
05-3474-23 #4.4.11.2
SPEC COMPLIANCE NOTES:
SECURITY CONCERN:
05-3474-23 #4.4.11.7
SPEC COMPLIANCE NOTES:
NOTE: This command is critical for security - device proves it has the correct key DEVICE SCOPE: Trust Center
Respond to ZDO requests aimed at coordinator if needed.
ZDO request payload
ZDO cluster ID
Network destination address (16-bit)
Network destination address (64-bit)
05-3474-23 #4.4.2.3 (APS acknowledgement)
SPEC COMPLIANCE NOTES:
05-3474-23 #4.4.11 (APS command frames)
SPEC COMPLIANCE NOTES:
APS command identifier
Fully encoded APS command payload (including cmdId)
NWK discovery mode
Whether to apply NWK security
Destination network address
Destination IEEE address (optional)
Delivery mode (unicast/broadcast)
Optional APS security header definition
Whether to suppress APS ACK request
True if success sending (or indirect transmission)
05-3474-23 #4.4.11.8
SPEC COMPLIANCE NOTES:
CRITICAL: This is the final step in device authorization - must be correct! DEVICE SCOPE: Trust Center
1-byte status code indicating the result of the operation. See Table 2.27
the type of key being verified
SHALL be the 64-bit extended address of the source device of the Verify-Key message
05-3474-23 #4.4.1 (APS data service)
Send a Zigbee APS DATA frame and track pending ACK if necessary.
SPEC COMPLIANCE NOTES:
Encoded APS payload
NWK discovery mode
Destination short address (if known)
Destination IEEE (optional)
Delivery mode (unicast/group/broadcast)
Cluster identifier
Profile identifier
Destination endpoint
Source endpoint
Group identifier (when group addressed)
The APS counter of the sent frame
05-3474-23 #4.4.11.3
SPEC COMPLIANCE:
NOTE: Trust Center sends this to parent router, which should then remove child
parent
05-3474-23 #4.4.11.4 (APS Request Key)
SPEC COMPLIANCE NOTES:
SHALL be set to the key being requested
When the RequestKeyType field is 2 (that is, an application key), the partner address field SHALL contain the extended 64-bit address of the partner device that SHALL be sent the key. Both the partner device and the device originating the request-key command will be sent the key.
05-3474-23 #4.4.11.4 (APS Request Key)
SPEC COMPLIANCE NOTES:
SHALL be set to the key being requested
05-3474-23 #4.4.11.5
SPEC COMPLIANCE:
SHALL contain the sequence number identifying the network key to be made active.
05-3474-23 #4.4.11.1 #4.4.11.1.3.3
SPEC COMPLIANCE NOTES:
05-3474-23 #4.4.11.1 #4.4.11.1.3.2
SPEC COMPLIANCE NOTES:
SHALL contain a network key
SHALL contain the sequence number associated with this network key
SHALL contain the address of the device which SHOULD use this network key If the network key is sent to a broadcast address, the destination address subfield SHALL be set to the all-zero string and SHALL be ignored upon reception.
05-3474-23 #4.4.11.1
SPEC COMPLIANCE NOTES:
SHALL contain the link key that SHOULD be used for APS encryption
SHALL contain the address of the device which SHOULD use this link key
05-3474-23 #4.4.11.6
SPEC COMPLIANCE:
SHALL be the 64-bit extended address of the device that is to receive the tunneled command
SHALL be the APS command payload to be sent to the destination
05-3474-23 #4.4.11.2
device that SHALL be sent the update information
device whose status is being updated
device whose status is being updated
Indicates the updated status of the device given by the device64 parameter:
DEVICE SCOPE: Coordinator, Routers (N/A)
05-3474-23 #4.4.11.7 (APS Verify Key)
SPEC COMPLIANCE NOTES:
type of key being verified
SHALL be the 64-bit extended address of the partner device that the destination shares the link key with
outcome of executing the specialized keyed hash function specified in section B.1.4 using a key with the 1-octet string ‘0x03’ as the input string The resulting value SHALL NOT be used as a key for encryption or decryption
APS Handler - Zigbee Application Support Layer Operations