ZPS_bAplZdoTrustCenterGetDevicePermissions
ZPS_teStatus
ZPS_bAplZdoTrustCenterGetDevicePermissions(
uint64 u64DeviceAddr,
ZPS_teTCDevicePermissions *pu8DevicePermissions);
Description
This function can be used by the Trust Centre to obtain its own permissions for certain requests from a particular node. The possible settings are:
Allow all requests from the specified node.
Do not allow join requests from the specified node.
Do not allow data requests from the specified node.
Parent topic:ZPS_bAplZdoTrustCenterGetDevicePermissions
Parameters
u64DeviceAddr: 64-bit IEEE/MAC address of node for which permissions are to be obtained.
pu8DevicePermissions: Pointer to bitmap containing permissions obtained, where:
0 indicates all requests allowed.
1 indicates join requests disallowed.
2 indicates data requests disallowed.
3 indicates data and join requests disallowed.
Higher bits are reserved for future use
Parent topic:ZPS_bAplZdoTrustCenterGetDevicePermissions
Returns
ZPS_E_SUCCESS (permissions successfully obtained)
APS return codes, listed and described in Section 11.2.2
NWK return codes, listed and described in Section 11.2.3
MAC return codes, listed and described in Section 11.2.4
Parent topic:ZPS_bAplZdoTrustCenterGetDevicePermissions
Parent topic:Security functions