Update of /cvsroot/firebug/fireboard/beta/fireworks/apps/Fireworks
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18008
Modified Files:
Fireworks.h
Added Files:
README
Log Message:
README added
--- NEW FILE: README ---
<b>FIREWORKS: Framework to Collect RSSI/Connectivity measurements
in a deployed wireless sensor network using motes</b>
- Nodes in the network are labeled from 1-(numNodes-1)
- The PC is connected to a TOSBase and runs the java app
- The PC sends DataRequestMsgs to nodes in sequence
- The DataRequestMsg has the following structure
struct DataRequestMsg {
uint16_t seqNo;
uint16_t source;
uint16_t numNodes;
uint16_t numTrials;
uint16_t numPowerLevels;
uint16_t trialFrequency;
} ;
- Once the node receives a DataRequestMsg, it then pings (PingMsg)
each node in the network 'DataRequestMsg->numTrials' times at
'DataRequestMsg->tFrequency' and varies 'DataRequestMsg->numPowerLevels'
power levels
- Each node that receives a PingMsg replies with a PingReplyMsg
noting the RSSI value of the received msg.
- Once all nodes have replied (or timed out), the node that was
initially sent the DataRequestMsg replies with a DataMsg that
contains an array of RSSI values.
- The PC client then sends DataRequestMsg to the next node
DEBUGGING
The Leds for the Fireworks application blink in the following
sequence.
LED count sequence.
1 - Red
2 - Green
4 - Yellow
enum {
CLEAR = 0x0, \\ Begin application
RCV_DR_MSG = 0x1, \\Received DataRequestMsg
SND_P_MSG = 0x2, \\ Sent Ping Msg
RCV_PR_MSG = 0x3, \\ Received PingReplyMsg
RCV_P_MSG = 0x4, \\ Received Ping Msg
SND_PR_MSG = 0x5, \\ Sent PingReplyMsg
SND_D_MSG = 0x6, \\ Sent DataMsg
ERROR = 0x7 \\ Error
};
Index: Fireworks.h
===================================================================
RCS file: /cvsroot/firebug/fireboard/beta/fireworks/apps/Fireworks/Fireworks.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Fireworks.h 21 Jul 2005 06:04:47 -0000 1.3
--- Fireworks.h 25 Jul 2005 22:19:40 -0000 1.4
***************
*** 24,34 ****
*/
enum {
! CLEAR = 0x0,
! RCV_DR_MSG = 0x1,
! SND_P_MSG = 0x2,
! RCV_PR_MSG = 0x3,
! RCV_P_MSG = 0x4,
! SND_PR_MSG = 0x5,
! ERROR = 0x7
};
--- 24,35 ----
*/
enum {
! CLEAR = 0x0, \\ Begin application
! RCV_DR_MSG = 0x1, \\Received DataRequestMsg
! SND_P_MSG = 0x2, \\ Sent Ping Msg
! RCV_PR_MSG = 0x3, \\ Received PingReplyMsg
! RCV_P_MSG = 0x4, \\ Received Ping Msg
! SND_PR_MSG = 0x5, \\ Sent PingReplyMsg
! SND_D_MSG = 0x6, \\ Sent DataMsg
! ERROR = 0x7 \\ Error
};
|