X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=apps%2FIPBaseStation%2FREADME;fp=apps%2FIPBaseStation%2FREADME;h=ca1412af704bc5d71d0407c9892ba419c2d5ef4a;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=0000000000000000000000000000000000000000;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400;p=tinyos-2.x.git diff --git a/apps/IPBaseStation/README b/apps/IPBaseStation/README new file mode 100644 index 00000000..ca1412af --- /dev/null +++ b/apps/IPBaseStation/README @@ -0,0 +1,74 @@ +README for BaseStation +Author/Contact: tinyos-help@millennium.berkeley.edu + +IPBaseStation is a modification of the generic BaseStation which ships +with tinyOS-2.x. It alters the serial protocol to pass 802.15.4 +frames instead of Serial.h packets. It also adds an out-of-band +configuration protocol which allows a driver running over the serial +port to reboot the mote, and to set the device address, channel, and +retransmission parameters. These changes are useful when one wishes +to use a mote attached to a computer as an 802.15.4 interface rather +then an actual mote. The actual queuing logic for copying packets is +mostly unchanged, and it continues to make use of serial ACKs. + +To build, add the 'blip' make extra. IE, + +$ make blip ... + +For more information on setting up an IPv6 network, please see the tutorial: +http://docs.tinyos.net/index.php/BLIP_Tutorial + +Description of BaseStation: + +BaseStation is an application that acts as a simple Active Message +bridge between the serial and radio links. It replaces the GenericBase +of TinyOS 1.0 and the TOSBase of TinyOS 1.1. + +On the serial link, BaseStation sends and receives simple active +messages (not particular radio packets): on the radio link, it sends +radio active messages, whose format depends on the network stack being +used. BaseStation will copy its compiled-in group ID to messages +moving from the serial link to the radio, and will filter out incoming +radio messages that do not contain that group ID. + +BaseStation includes queues in both directions, with a guarantee that +once a message enters a queue, it will eventually leave on the other +interface. The queues allow the BaseStation to handle load spikes more +gracefully. + +BaseStation acknowledges a message arriving over the serial link only if +that message was successfully enqueued for delivery to the radio link. + +The LEDS are programmed to toggle as follows: + +RED Toggle - Message bridged from serial to radio +GREEN Toggle - Message bridged from radio to serial +YELLOW/BLUE Toggle - Dropped message due to queue overflow + in either direction + +When using a CC2420 radio, several default preprocessor configurations +are defined in the Makefile: + * CC2420_NO_ACKNOWLEDGEMENTS + - Prevents the base station from falsly acknowledging packets + * CC2420_NO_ADDRESS_RECOGNITION + - Allows the base station to sniff packets from any transmitter + +Other combinations can be defined to meet your application's needs: + * CC2420_NO_ADDRESS_RECOGNITION only + - Sniff all packets, but acknowledge packets only if they + are sent to the base station's address + + * Removing all preprocessor definitions in the Makefile + - Only accept packets destined for the base station's address, + and acknowledge those packets + + +Tools: + +tools/java/net/tinyos/sf/SerialForwarder. + +See doc/serialcomm/index.html for more information using these tools. + +Known bugs/limitations: + +