ZPS_bAplZdoTrustCenterSetDevicePermissions#
ZPS_teStatus
ZPS_bAplZdoTrustCenterSetDevicePermissions(
uint64 u64DeviceAddr,
ZPS_teTCDevicePermissions u8DevicePermissions);
Description#
This function can be used by the Trust Centre to set the permissions for certain requests from a particular node. The possible settings are:
Allow all requests from the specified node (ALL_PERMITED)
Do not allow join requests from the specified node (JOIN_DISALLOWED)
Do not allow data requests from the specified node (DATA_REQUEST_DISALLOWED)
Parent topic:ZPS_bAplZdoTrustCenterSetDevicePermissions
Parameters#
u64DeviceAddr: 64-bit IEEE/MAC address of node for which permissions are to be set
u8DevicePermissions: Bitmap of permissions to be set, constructed using the following enumerations:
ZPS_TRUST_CENTER_ALL_PERMITED
ZPS_TRUST_CENTER_JOIN_DISALLOWED
ZPS_TRUST_CENTER_DATA_REQUEST_DISALLOWED
Parent topic:ZPS_bAplZdoTrustCenterSetDevicePermissions
Returns#
ZPS_E_SUCCESS (permissions successfully set)
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_bAplZdoTrustCenterSetDevicePermissions
Parent topic:Security functions