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#

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

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.

Parameters
N/AnewNodeId

The node ID of the device wishing to join.

N/AnewNodeEui64

The EUI64 of the device wishing to join.

N/Astatus

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/AparentOfNewNode

The node ID of the parent of device wishing to join.

N/AdecisionId

The ::EzspDecisionId that the NCP is currently using as set by the HOST application.

N/AjoinDecision

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.


Definition at line 500 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/ncp/doc/callback.doc