Reply
Highlighted
Posts: 3
Registered: ‎06-28-2017
Accepted Solution

The data request interval time does not match my setting data

Hello,

 

At first, I use the snifeer find that the long poll interval is 5 seconds on sleepy end device.

 

Poll control cluster client sends "zcl poll-control long 0x07" and "send 0x3C17 1 1",


It is OK as below.

Msg: clus 0x0020, cmd 0x02, len 7
buffer: 01 02 02 07 00 00 00
HaSampleLightSoc>HaSampleLightSoc>
T00000000:RX len 5, ep 01, clus 0x0020 (Poll Control) FC 08 seq 02 cmd 0B payload[02 00 ]
T00000000:RX len 5, ep 01, clus 0x0020 (Poll Control) FC 08 seq 02 cmd 0B payload[02 00 ]
T00000000:RX len 5, ep 01, clus 0x0020 (Poll Control) FC 08 seq 02 cmd 0B payload[02 00 ]

 

On control cluster server(the sleepy end device), the message is shown as below:

T00000000:RX len 7, ep 01, clus 0x0020 (Poll Control) FC 01 seq 02 cmd 02 payload[07 00 00 00 ]
==========PreAttributeChangedCallback== attributeId = 1
============ newLongPollIntervalQs = 7
==========AttributeChangedCallback=== attributeId = 1
===002
============ longPollIntervalQs = 07
============ emberAfSetLongPollIntervalQsCallback(longPollIntervalQs);
T00000000:RX len 7, ep 01, clus 0x0020 (Poll Control) FC 01 seq 02 cmd 02 payload[07 00 00 00 ]


They are all seemed OK, but from then, I find that the interval is 2 seconds for ever on sleepy end device from the snifeer.

Even I send "zcl poll-control stop" and "send 0x3C17 1 1" to sleepy end device, it still 2 seconds.

Msg: clus 0x0020, cmd 0x01, len 3
buffer: 01 1D 01
HaSampleLightSoc>HaSampleLightSoc>
T00000000:RX len 5, ep 01, clus 0x0020 (Poll Control) FC 08 seq 1D cmd 0B payload[01 93 ]

T00000000:RX len 5, ep 01, clus 0x0020 (Poll Control) FC 08 seq 1D cmd 0B payload[01 93 ]


============================================================
zcl poll-control long xxxx --> the data request interval in snifeer

7 ---> 2 seconds
14 ---> 3~4 seconds
23 ---> 7 seconds


============================================================

Can anyone help me?

Posts: 75
Registered: ‎04-26-2016

Re: The data request interval time does not match my setting data

Hello 

 

Would you attach the Sniffer for your testing?

 

Best Regards,

Lei

Posts: 3
Registered: ‎06-28-2017

Re: The data request interval time does not match my setting data

Thank you Lei, 

 

It is right,because the uint is QS,  1 QS = 1/4 second.

 

Thanks.