From: scipio Date: Tue, 19 Jun 2007 00:43:27 +0000 (+0000) Subject: Updates from small nits noted by Tal. X-Git-Tag: release_tools_1_2_4_1~114 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=a0697d5003ef26c81d8d4bd59aa166099efe72db;p=tinyos-2.x.git Updates from small nits noted by Tal. --- diff --git a/doc/html/tutorial/lesson11.html b/doc/html/tutorial/lesson11.html index bd1a01c8..a93715b9 100644 --- a/doc/html/tutorial/lesson11.html +++ b/doc/html/tutorial/lesson11.html @@ -316,7 +316,7 @@ Type "help", "copyright", "credits" or "license" for more information. '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__swig_getmethods__', '__swig_setmethods__', '__weakref__', 'addChannel', 'currentNode', 'getNode', 'init', 'mac', 'newPacket', 'radio', 'removeChannel', -'runNextEvent', 'setCurrentNode', 'setTime', 'this', 'thisown', 'time', 'timeStr'] +'runNextEvent', 'setCurrentNode', 'setTime', 'this', 'thisown', 'ticksPerSecond', 'time', 'timeStr']

The most common utility functions are:

@@ -568,14 +568,14 @@ DEBUG (32): Application booted a third time. which is a noise trace taken from Meyer Library at Stanford University:

--97
+-39
 -98
 -98
--86
--90
--91
--87
--87
+-98
+-99
+-98
+-94
+-98
 -98
 -98
 
@@ -869,15 +869,10 @@ java net.tinyos.sim.PropagationModel config.txt

The format of a configuration file is beyond the scope of this document: the tool has its own documentation. TOSSIM has two sample configuration + HREF="usc-topologies.html">documentation. TOSSIM has a few sample configuration files generated from the tool in - tos/lib/tossim/topologies. The first is grid.txt, which is a 10x10 grid of nodes - spaced roughly 40 feet apart. Each node is placed randomly - within a 40'x40' "cell." The cells follow a strict grid. The - second file is scatter.txt, which is - 100 nodes scattered randomly (with a uniform distribution) - over a 360'x360' area. Note that the tool uses random numbers, + tos/lib/tossim/topologies. + Note that the tool uses random numbers, these configuration files can generate multiple different network topologies. Network topology files generated from the tool follow the same format as 15-15-tight-mica2-grid.txt. @@ -1203,7 +1198,7 @@ pkt.setData(msg.data) pkt.setType(msg.get_amType()) pkt.setDestination(0) -print "Delivering " + msg.__str__() + " to 0 at " + str(t.time() + 3); +print "Delivering " + str(msg) + " to 0 at " + str(t.time() + 3); pkt.deliver(0, t.time() + 3)