How can I get the acknowledgement on a control bridge if I send data to a remote node using ZPS_eAplAfUnicastAckDataReq( ). I tried the step in the Zigbee 3.0 user guide, but can’t seem to figure it out.
Thanks Mario. Is it possible to configure a node to ignore acknowledgement requests? I am sending data from a control bridge to a dimmable light, the control bridge requests an acknowledgement from the dimmable light but i want the dimmable light to ignore the acknowledgement request. Is it possible to achieve that? How?
Thanks.
Hi Daniel,
In this case, this ack depends on the Coordinator, so you have to send the packet without the ACK request.
You can not ignore this request because is part of the specification.
However, you could try to send a broadcast with specific data and your device will poll for this information.
Regards,
Mario
Ok. Thanks.
Hi Daniel,
Please look at the ZPS_EVENT_APS_DATA_ACKswitch case. Also, be sure that the TRACE_ZCL is defined in the make file.
void APP_vHandleZclEvents ( ZPS_tsAfEvent* psStackEvent )
{
.
.
.
switch ( psStackEvent->eType )
{
case ZPS_EVENT_APS_DATA_ACK:
vLog_Printf(TRACE_ZCL,LOG_DEBUG, "\nACK: SEP=%d DEP=%d Profile=%04x Cluster=%04x\n",
psStackEvent->uEvent.sApsDataAckEvent.u8SrcEndpoint,
psStackEvent->uEvent.sApsDataAckEvent.u8DstEndpoint,
psStackEvent->uEvent.sApsDataAckEvent.u16ProfileId,
psStackEvent->uEvent.sApsDataAckEvent.u16ClusterId);
break;
}
.
.
.
}
Regards,
Mario