I have two Moteino USB running the
VPTools weather station
WxReceiver code. On one Moteino it counts the lost packets accurately. On the other Moteino it counts
every packet as a lost packet - even if it's received.
This
section in the sketch is where the lost packets are incremented, and
this variable threshold has a direct affect on how to classify the lost packet. If I change that timer value from 5000L to 7000L it sort-of fixes my problem on the 2nd Moteino. Lost packets are a little more accurate except they're doubled. So for every 1 lost packet, the counter shows 2. So something is still a little sideways and I don't know what.
Since both of my Moteinos are running the same code, I'm to assume it's a hardware problem? I'm afraid to touch my working Moteino since it's in "production".
I'd like to be able to rule out bad hardware, which means uploading the sketch again to the working Moteino. Since it's been a year since I've uploaded to this Moteino I have a bit of concern breaking it because it's my primary receiver.
1. Is it possible that there's a hardware issue that would be causing this? Maybe a change in clocks or something?
2. Is it possible to download and restore a bin of the working Moteino's code from it's memory to have as a backup? That way I can flash the sketch and if it's bad then I know it's code and upload the bin for quick recovery.
I can't pretend I know all of the ins-and-outs here, I just know that I'm running the same code on 2 devices and have different results. Looking for some insight.
Thanks