How to view APS_ACK packet

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to view APS_ACK packet

2,296件の閲覧回数
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,196件の閲覧回数
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,196件の閲覧回数
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,196件の閲覧回数
ode962
Contributor II

Ok. Thanks.

2,196件の閲覧回数
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 件の賞賛
返信