Zigbee PRO Core Security Library EZSP Command Handlers Callbacks

Functions

EmberJoinDecision emberAfPluginEzspSecurityTrustCenterJoinCallback (EmberNodeId newNodeId, const EmberEUI64 newNodeEui64, EmberDeviceUpdate status, EmberNodeId parentOfNewNode, EzspDecisionId decisionId, EmberJoinDecision joinDecision)
 Called when emberTrustCenterJoinHandler is called from the stack.

Detailed Description

These callbacks are contributed by the Zigbee PRO Core Security Library EZSP Command Handlers plugin.

Function Documentation

EmberJoinDecision emberAfPluginEzspSecurityTrustCenterJoinCallback ( EmberNodeId  newNodeId,
const EmberEUI64  newNodeEui64,
EmberDeviceUpdate  status,
EmberNodeId  parentOfNewNode,
EzspDecisionId  decisionId,
EmberJoinDecision  joinDecision 
)

Called when emberTrustCenterJoinHandler is called from the stack.

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.

Parameters
newNodeIdThe node ID of the device wishing to join.
newNodeEui64The EUI64 of the device wishing to join.
statusThe ::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.
parentOfNewNodeThe node ID of the parent of device wishing to join.
decisionIdThe ::EzspDecisionId that the NCP is currently using as set by the HOST application.
joinDecisionThe 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.
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.