Changes between Initial Version and Version 1 of Old/TinyOS/Serial


Ignore:
Timestamp:
Dec 23, 2008, 9:43:29 PM (16 years ago)
Author:
tripti
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/TinyOS/Serial

    v1 v1  
     1== Mote-PC Serial Communication ==
     2
     3The basic abstraction for mote-PC communication is a '' packet source ''. A packet source is a communication medium over which an application can receive packets from and send packets to a mote.
     4Examples of packet sources include serial ports, TCP sockets, and the SerialForwarder tool. Most TinyOS communication tools take an optional -comm parameter, which allows you to specify the packet source as a string. For example:
     5
     6{{{
     7
     8node1-2:~# java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:telosb
     9
     10}}}
     11
     12tells Listen tool to use the serial port /dev/ttyUSB0 at the correct speed for a telosb mote.
     13
     14