Changes between Version 3 and Version 4 of Old/TinyOS/Serial


Ignore:
Timestamp:
Dec 24, 2008, 1:19:24 AM (15 years ago)
Author:
shweta
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/TinyOS/Serial

    v3 v4  
    11== Mote-PC Serial Communication ==
    22
    3 The receivers receive packets from senders and pass them on to the serial port. Tinyos provides two java tools  (Listen and MsgReader) to print the messages on the PC console.
     3The receivers receive packets from senders and pass them on to the serial port. Tinyos provides two java tools  ( "Listen" and "MsgReader" ) to print the messages on the PC console.
    44{{{
    55
     
    3131
    3232
    33 MsgReader is a better alternative to Listen. The MsgReader class takes a java message class (provided by the user) as an argument. It prints receives the packets from the serial port and prints the packet structure defined by the java message class.
     33MsgReader is a better alternative to Listen. The MsgReader class takes a java message class (provided by the user) as an argument. It prints the packet structure defined by the java message class on the console.
    3434
    3535{{{
     
    3939}}}
    4040
    41 MsgReader reads the packet send to the serial port, looks at its AM type, and if it matches the AM type of one of the Java message classes passed at the command line, it prints out the packet. We see the output like this:
     41We see the output like this:
    4242
    4343{{{