Hi
I'm developing a door sensor,a sleeping device.
I'm working with JN-SW-4168 SDK and JN5169. I'm using a JN-AN-1201 ZigBee Intruder Alarm System application note as a base for my application.
when zone status changes,app_vUpdateZoneStatusAttribute() is called.
app_vUpdateZoneStatusAttribute (
ZONE_ZONE_ENDPOINT, /*uint8 u8SourceEndPoint,*/
CLD_IASZONE_STATUS_MASK_ALARM1,/*uint16 u16StatusBitMask,*/
CLD_IASZONE_STATUS_MASK_SET /*bool_t bStatusState);*/
);
But I don't know how the data is sent.How to know whether the data transmission is successful or failed, and how to control the number of data retransmissions if the transmission fails.
Hi Liang,
Please look at the table parameter u16StatusBitMask. You will see the mask enumeration.
eCLD_IASZoneUpdateZoneStatus ZigBee Cluster Library User Guide.
Regards,
Mario