]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Minor bug fix
authorprabal <prabal>
Sun, 8 Apr 2007 14:03:51 +0000 (14:03 +0000)
committerprabal <prabal>
Sun, 8 Apr 2007 14:03:51 +0000 (14:03 +0000)
apps/tutorials/PacketParrot/PacketParrotP.nc
apps/tutorials/PacketParrot/README.txt

index 7281643fe9161c2293f4ec6497c46587d89304a2..730cfd6838a14786f88678243b3397734d916d17 100644 (file)
@@ -131,7 +131,7 @@ implementation {
       m_busy = TRUE;
       m_entry.len = len;
       m_entry.msg = *msg;
-      if (call LogWrite.append(&m_entry, sizeof(message_t)) != SUCCESS) {
+      if (call LogWrite.append(&m_entry, sizeof(logentry_t)) != SUCCESS) {
        m_busy = FALSE;
       }
     }
index ca228f16deef6eac14d413f9c1c6f13f45ccf861..184dfa3b926487c691c9f980d10ba3b41b9d2a43 100644 (file)
@@ -10,18 +10,18 @@ Description:
 
   PacketParrot demonstrates use of LogWrite and LogRead abstractions.
   A node writes received packets to a circular log and retransmits the
-  logged packets (or at least the part of the packets above the AM
+  logged packets (or at least the parts of the packets above the AM
   layer) when power cycled.
 
   The application logs packets it receives from the radio to flash.
-  On a subsequent power cycle, the application transmits logged
+  On a subsequent power cycle, the application transmits any logged
   packets, erases the log, and then continues to log packets again.
   The red LED is on when the log is being erased.  The blue (yellow)
-  LED turns on when a packets is received and turns off when a packet 
-  has been logged.  The blue (yellow) LED remains on when packets are 
-  being received but are not logged (because the log is being erased).  
-  The green LED flickers rapidly after a power cycle when logged 
-  packets are transmitted.
+  LED turns on when a packet is received and turns off when a packet
+  has been logged successfully.  The blue (yellow) LED remains on when
+  packets are being received but are not logged (because the log is
+  being erased).  The green LED flickers rapidly after a power cycle
+  when logged packets are transmitted.
 
   To use this application:
 
@@ -54,5 +54,7 @@ Tools:
 
 Known bugs/limitations:
 
-  Only works on motes with the CC2420 radio.  Known to work with
-  TelosB and Tmote nodes but currently flaky on the MicaZ nodes.
+  Only works on motes with the CC2420 radio.  Tested and verified with
+  TelosB and Tmote nodes.  Also works with MicaZ (as the BlinkToRadio
+  node) and TelosB/Tmote as the parrot node.  Currently, using a MicaZ
+  as the parrot does not work and needs to be debugged.