Tizen Native API
5.0
|
Zigbee IAS zone cluster commands.
#include <zigbee.h>
The IAS Zone cluster defines an interface to the functionality of an IAS security zone device. IAS Zone supports up to two alarm types per zone, low battery reports and supervision of the IAS network.
Functions | |
int | zb_zcl_zone_enroll_response (zb_zigbee_h handle, zb_nwk_addr addr16, zb_end_point ep, unsigned char enroll_response_code, unsigned char zone_id) |
Sends 'zone enroll response' command. |
Values of the Enroll Response Code in Zigbee Cluster Library.
Values of the Zone type attribute.
int zb_zcl_zone_enroll_response | ( | zb_zigbee_h | handle, |
zb_nwk_addr | addr16, | ||
zb_end_point | ep, | ||
unsigned char | enroll_response_code, | ||
unsigned char | zone_id | ||
) |
Sends 'zone enroll response' command.
On receipt, the device embodying the Zone server is notified that it is now enrolled as an active alarm device.
The device embodying the Zone server must authenticate received messages by checking the address of their sender against IAS_CIE_Address. This is to ensure that only messages from the correct CIE are accepted.
[in] | handle | The handle of zigbee |
[in] | addr16 | Network address |
[in] | ep | Endpoint ID |
[in] | enroll_response_code | ZB_ZCL_IAS_ZONE_ENROLL_SUCCESS ZB_ZCL_IAS_ZONE_ENROLL_NOT_SUPPORTED ZB_ZCL_IAS_ZONE_ENROLL_NO_ENROLL_PERMITTED ZB_ZCL_IAS_ZONE_ENROLL_TOO_MANY_ZONES |
[in] | zone_id | The Zone ID field is the index into the zone table of the CIE. This field is only relevant if the response code is success. |
ZIGBEE_ERROR_NONE | Successful |
ZIGBEE_ERROR_INVALID_PARAMETER | Invalid parameter |
ZIGBEE_ERROR_INVALID_ENDPOINT | Invalid endpoint. 0 is reserved for ZDP |
ZIGBEE_ERROR_INVALID_ADDRESS | Invalid address |
ZIGBEE_ERROR_IO_ERROR | Unexpected d-bus error |
ZIGBEE_ERROR_PERMISSION_DENIED | Permission denied |
ZIGBEE_ERROR_NOT_SUPPORTED | Not supported |