Open WilliamAtSamraksh opened 9 years ago
Update. What I said in point 3 is not entirely correct.
The Radio Signal Meter, cited above, not only receives but also transmits periodically. I deployed it on to .NOWs running eMote v. 11.2. Whether sooner or later, both sending and receiving stop after a while.
Test:
Remark. Our automated tests won't catch this or the related #225 unless the test runs for an extended period. We probably need long-running tests as an option.
Please retest this to see if this is fixed now.
Things look good. Looks like the recent fixes to the radio driver have resolved this. Will close the issue.
There's still some issue. Out of about 1300 packets sent, the receiver got about 1200, so quite a few are being lost.
There could be some radio interference. I'm running two radio-related tests now: this one and the serial-wireless bridge, #243. They're using different channels: this one uses channel 11 and the bridge uses channel 26 (the default). I've posted both programs anew to the share since I made changes to the channel.
Dev eMote\GitHub Issues Attachments\2015.03.20 LDC Battery Mote.zip & 2015.03.20 Radio Signal Meter.zip
This is wrt eMote .NOW v. 11.2. One program (call it Sender) periodically generates CSMA messages whose payload consists of an ascending counter value. The other (call it Receiver) is a radio signal meter that prints the payload of received packets.
When it is time to send, Sender turns the radio on and prints the counter value to the debug log. It leaves the radio on while it listens for an acknowledgement of receipt. In this case, Receiver does not send an acknowledgement, so after a short delay, Sender turns the radio off. The interval between sending messages is 5 seconds.
The programs are in the share at:
Here are the issues:
Following is what's shown for Sender: