I am at the final stage in the current project but the send status is not updating correctly when
an attribute value is sent. For example in the following code:
zcl_status = zb_zcl_set_attr_val(NTEX, ZB_ZCL_CLUSTER_ID_NTEX,
ZB_ZCL_SERVER_ROLE, ZB_ZCL_ATTR_TEMP_VALUE_ID, (zb_uint8_t *)*temp, ZB_FALSE);
if (zcl_status != ZB_ZCL_SUCCESS)
{ /* report data sent */ }
else { /* report data not sent */ }
The above code always reports as if the message is sent even when the ZC is powered down.
Is there a very simple way to check that the link to the coordinator is ok so I can set a flag to
force a rejoin ? Or if not what is the easiest way to check the data has arrived ?
Regards
Rob