Zigbee PRO Core Security Library EZSP Command Handlers Callbacks#
These callbacks are contributed by the Zigbee PRO Core Security Library EZSP Command Handlers plugin.
Functions#
Called when emberTrustCenterJoinHandler is called from the stack.
Function Documentation#
emberAfPluginEzspSecurityTrustCenterJoinCallback#
EmberJoinDecision emberAfPluginEzspSecurityTrustCenterJoinCallback (EmberNodeId newNodeId, const EmberEUI64 newNodeEui64, EmberDeviceUpdate status, EmberNodeId parentOfNewNode, EzspDecisionId decisionId, EmberJoinDecision joinDecision)
Called when emberTrustCenterJoinHandler is called from the stack.
N/A | newNodeId | The node ID of the device wishing to join. |
N/A | newNodeEui64 | The EUI64 of the device wishing to join. |
N/A | status | The ::EmberUpdateDevice status indicating whether the device is joining/rejoining or leaving, and whether the join/rejoin is secure (using network encryption) or a trust center rejoin. |
N/A | parentOfNewNode | The node ID of the parent of device wishing to join. |
N/A | decisionId | The ::EzspDecisionId that the NCP is currently using as set by the HOST application. |
N/A | joinDecision | The current EmberJoinDecision that the NCP has chosen based on the ::EzspDecisionId for the ::EZSP_TRUST_CENTER_POLICY as set by the HOST application. Implementations of this callback may want to return a different value based on their desired security. |
The NCP will perform initial processing based on the current ::EZSP_TRUST_CENTER_POLICY value and will pass this callback to the NCP application. Implementations of this callback should return the EmberJoinDecision value that will dictate the behavior of the trust center in response to the new device joining or rejoining to the network.
See documentation on the stack emberTrustCenterJoinHandler callback for more information.
Returns
An EmberJoinDecision value that will dictate the behavior of the trust center in response to the new device joining or rejoining to the network.
500
of file ./app/ncp/doc/callback.doc