How to view APS_ACK packet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to view APS_ACK packet

1,072 Views
ode962
Contributor II

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.

Labels (2)
4 Replies

972 Views
ode962
Contributor II

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.

0 Kudos

972 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png

However, you could try to send a broadcast with specific data and your device will poll for this information.

Regards,

Mario

0 Kudos

972 Views
ode962
Contributor II

Ok. Thanks.

972 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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

0 Kudos