Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2630: EndDevice sends packets i did not issue

$
0
0

Part Number:CC2630

Hello,

i have stumbled upon another problem with my (sleeping) end device(s).

I have 3 end devices paired to one coordinator and those 3 end devices are sending packets every 10 seconds. Now i noticed, the devices send packets between the 10 seconds interval. I can also see the extra packets in the TI packet sniffer (please see attached log; look at the APS counter or the last 2 bytes of the APS payload). It doesn't actually matter that it's 3 devices, it also happens when there's only 1 device. I just mentioned it for completeness sake.

I used the debugger to try to get a look at things. It seems "ZMacDataReqSec" in zmac.c is the last traceable function that is called when transmitting data. This function gets called from somewhere to transmit data i have already transmitted. I checked, those additional, unwanted transmissions are not caused by my application code (i also verified that with the debugger).

 I call processAfDataReq() in zstacktask.c via ICall. This passes through AF_DataRequest() in AF.c and ends at ZMacDataReqSec in zmac.c

My Application does that every 10 seconds.

I have put a breakpoint inside the "ZMacDataReqSec" and looked at the data to be transmitted every time this function is called. Just like in the sniffer, a packet with the same APS counter is transmitted twice and sometimes a packet with the APS counter from before that.

i hope you can help me.

kind regards, stephanie(Please visit the site to view this file)


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>