How to view APS_ACK packet

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to view APS_ACK packet

2,297 次查看
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.

标签 (2)
4 回复数

2,197 次查看
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 项奖励
回复

2,197 次查看
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 项奖励
回复

2,197 次查看
ode962
Contributor II

Ok. Thanks.

2,197 次查看
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 项奖励
回复