Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: Simpliciti Data Loss

$
0
0

Hi,

I flashed it with the right sniffer firmware and I can actually see the packets with no problem what so ever. I see the 3 consecutive packets arriving as expected. I am using the code that came with cc1111 ezchronos with very minor changes. What seems to be happening is that device is not reading the arriving packets fast enough on my firmware? The reason why I say that is I noticed a couple of months ago that

simpliciti_main in main_AP_BM.c

has an infinite loop that calls SMPL_Receive continuously to receive a network frame but I was missing data on the USB receiving end nevertheless  so I decided to add code to immediately send the data through the USB within the loop, this eliminated the issue of data loss substantially.

In the main code, I noticed there are priorities assigned to different peripherals:

// Priority levels: USB, Timer1 (3) -> RF (3) -> Timer4 (1) -> others (0)
IP1 |= BIT5 + BIT1 + BIT0 + BIT4;
IP0 |= BIT5 + BIT1 + BIT0;

Wondering if playing with the above might help? Any thoughts would be highly appreciated? Thanks.

Fahd


Viewing all articles
Browse latest Browse all 116964

Trending Articles



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