[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/GGB Sentri.htm, 1.3, 1.4 Straw.htm, 1.8, 1.9
Sukun Kim
binetude at users.sourceforge.net
Fri Dec 1 14:28:32 PST 2006
Update of /cvsroot/tinyos/tinyos-1.x/contrib/GGB
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31456
Modified Files:
Sentri.htm Straw.htm
Log Message:
Index: Sentri.htm
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/GGB/Sentri.htm,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Sentri.htm 1 Dec 2006 06:18:26 -0000 1.3
--- Sentri.htm 1 Dec 2006 22:28:30 -0000 1.4
***************
*** 15,30 ****
<o:Author>Sukun Kim</o:Author>
<o:LastAuthor>Sukun Kim</o:LastAuthor>
! <o:Revision>32</o:Revision>
<o:TotalTime>44</o:TotalTime>
<o:LastPrinted>2006-12-01T05:42:00Z</o:LastPrinted>
<o:Created>2005-06-01T23:59:00Z</o:Created>
! <o:LastSaved>2006-12-01T06:17:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>275</o:Words>
! <o:Characters>1569</o:Characters>
<o:Company>EECS - University of California, Berkeley</o:Company>
<o:Lines>13</o:Lines>
<o:Paragraphs>3</o:Paragraphs>
! <o:CharactersWithSpaces>1841</o:CharactersWithSpaces>
<o:Version>11.6408</o:Version>
</o:DocumentProperties>
--- 15,30 ----
<o:Author>Sukun Kim</o:Author>
<o:LastAuthor>Sukun Kim</o:LastAuthor>
! <o:Revision>34</o:Revision>
<o:TotalTime>44</o:TotalTime>
<o:LastPrinted>2006-12-01T05:42:00Z</o:LastPrinted>
<o:Created>2005-06-01T23:59:00Z</o:Created>
! <o:LastSaved>2006-12-01T22:27:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>275</o:Words>
! <o:Characters>1572</o:Characters>
<o:Company>EECS - University of California, Berkeley</o:Company>
<o:Lines>13</o:Lines>
<o:Paragraphs>3</o:Paragraphs>
! <o:CharactersWithSpaces>1844</o:CharactersWithSpaces>
<o:Version>11.6408</o:Version>
</o:DocumentProperties>
***************
*** 146,150 ****
</style>
<![endif]--><!--[if gte mso 9]><xml>
! <o:shapedefaults v:ext="edit" spidmax="11266"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
--- 146,150 ----
</style>
<![endif]--><!--[if gte mso 9]><xml>
! <o:shapedefaults v:ext="edit" spidmax="13314"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
***************
*** 168,172 ****
font-family:Tahoma'>Sentri</span></b></span><b><span style='font-size:20.0pt;
font-family:Tahoma'> – Structural Health Monitoring Toolkit<o:p></o:p></span></b></p>
! <p><span style='font-family:Tahoma'>Last updated 1 June 2005</span></p>
</td>
</tr>
--- 168,172 ----
font-family:Tahoma'>Sentri</span></b></span><b><span style='font-size:20.0pt;
font-family:Tahoma'> – Structural Health Monitoring Toolkit<o:p></o:p></span></b></p>
! <p><span style='font-family:Tahoma'>Last updated 30 November 2006</span></p>
</td>
</tr>
Index: Straw.htm
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/GGB/Straw.htm,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Straw.htm 1 Dec 2006 06:25:05 -0000 1.8
--- Straw.htm 1 Dec 2006 22:28:30 -0000 1.9
***************
*** 15,30 ****
<o:Author>Sukun Kim</o:Author>
<o:LastAuthor>Sukun Kim</o:LastAuthor>
! <o:Revision>25</o:Revision>
<o:TotalTime>41</o:TotalTime>
<o:LastPrinted>2006-12-01T05:42:00Z</o:LastPrinted>
<o:Created>2005-06-01T23:59:00Z</o:Created>
! <o:LastSaved>2006-12-01T06:10:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>440</o:Words>
! <o:Characters>2510</o:Characters>
<o:Company>EECS - University of California, Berkeley</o:Company>
<o:Lines>20</o:Lines>
<o:Paragraphs>5</o:Paragraphs>
! <o:CharactersWithSpaces>2945</o:CharactersWithSpaces>
<o:Version>11.6408</o:Version>
</o:DocumentProperties>
--- 15,30 ----
<o:Author>Sukun Kim</o:Author>
<o:LastAuthor>Sukun Kim</o:LastAuthor>
! <o:Revision>26</o:Revision>
<o:TotalTime>41</o:TotalTime>
<o:LastPrinted>2006-12-01T05:42:00Z</o:LastPrinted>
<o:Created>2005-06-01T23:59:00Z</o:Created>
! <o:LastSaved>2006-12-01T22:27:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>440</o:Words>
! <o:Characters>2514</o:Characters>
<o:Company>EECS - University of California, Berkeley</o:Company>
<o:Lines>20</o:Lines>
<o:Paragraphs>5</o:Paragraphs>
! <o:CharactersWithSpaces>2949</o:CharactersWithSpaces>
<o:Version>11.6408</o:Version>
</o:DocumentProperties>
***************
*** 32,35 ****
--- 32,37 ----
<w:WordDocument>
<w:Zoom>200</w:Zoom>
+ <w:SpellingState>Clean</w:SpellingState>
+ <w:GrammarState>Clean</w:GrammarState>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
***************
*** 110,113 ****
--- 112,121 ----
mso-hansi-font-family:"Courier New";
mso-bidi-font-family:"Courier New";}
+ span.SpellE
+ {mso-style-name:"";
+ mso-spl-e:yes;}
+ span.GramE
+ {mso-style-name:"";
+ mso-gram-e:yes;}
@page Section1
{size:8.5in 11.0in;
***************
*** 141,145 ****
</style>
<![endif]--><!--[if gte mso 9]><xml>
! <o:shapedefaults v:ext="edit" spidmax="9218"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
--- 149,153 ----
</style>
<![endif]--><!--[if gte mso 9]><xml>
! <o:shapedefaults v:ext="edit" spidmax="10242"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
***************
*** 162,166 ****
<p class=MsoNormal><b><span style='font-size:20.0pt;font-family:Tahoma'>Straw
– Reliable Data Collection<o:p></o:p></span></b></p>
! <p><span style='font-family:Tahoma'>Last updated 1 June 2005</span></p>
</td>
</tr>
--- 170,174 ----
<p class=MsoNormal><b><span style='font-size:20.0pt;font-family:Tahoma'>Straw
– Reliable Data Collection<o:p></o:p></span></b></p>
! <p><span style='font-family:Tahoma'>Last updated 30 November 2006</span></p>
</td>
</tr>
***************
*** 171,176 ****
<p>Straw (Scalable Thin and Rapid Amassment Without loss) collects data
reliably from a mote to PC over multi-hop network. When command is submitted to
! JAVA code in PC, it interacts with TinyOS code in a mote, and collects data
! without loss.</p>
<p><o:p> </o:p></p>
--- 179,184 ----
<p>Straw (Scalable Thin and Rapid Amassment Without loss) collects data
reliably from a mote to PC over multi-hop network. When command is submitted to
! JAVA code in PC, it interacts with <span class=SpellE>TinyOS</span> code in a
! mote, and collects data without loss.</p>
<p><o:p> </o:p></p>
***************
*** 193,197 ****
style='width:80.0%;mso-cellspacing:1.5pt;mso-padding-alt:2.25pt 2.25pt 2.25pt 2.25pt'>
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
! <td width="99%" style='width:99.6%;background:#E0E0E0;padding:2.25pt 2.25pt 2.25pt 2.25pt'><pre>int read(int dest, short portId, long start, long size, byte[] bffr)</pre></td>
</tr>
</table>
--- 201,208 ----
style='width:80.0%;mso-cellspacing:1.5pt;mso-padding-alt:2.25pt 2.25pt 2.25pt 2.25pt'>
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
! <td width="99%" style='width:99.6%;background:#E0E0E0;padding:2.25pt 2.25pt 2.25pt 2.25pt'><pre><span
! class=SpellE>int</span> read(<span class=SpellE>int</span> <span
! class=SpellE>dest</span>, short <span class=SpellE>portId</span>, long start, long size, byte[] <span
! class=SpellE>bffr</span>)</pre></td>
</tr>
</table>
***************
*** 200,204 ****
<p>Buffer space needs be provided by JAVA application using Straw. And Straw
! interface of TinyOS code</p>
<div align=center>
--- 211,215 ----
<p>Buffer space needs be provided by JAVA application using Straw. And Straw
! interface of <span class=SpellE>TinyOS</span> code</p>
<div align=center>
***************
*** 207,211 ****
style='width:80.0%;mso-cellspacing:1.5pt;mso-padding-alt:2.25pt 2.25pt 2.25pt 2.25pt'>
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
! <td width="99%" style='width:99.6%;background:#E0E0E0;padding:2.25pt 2.25pt 2.25pt 2.25pt'><pre>event result_t read(uint32_t start, uint32_t size, uint8_t* bffr)</pre></td>
</tr>
</table>
--- 218,224 ----
style='width:80.0%;mso-cellspacing:1.5pt;mso-padding-alt:2.25pt 2.25pt 2.25pt 2.25pt'>
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
! <td width="99%" style='width:99.6%;background:#E0E0E0;padding:2.25pt 2.25pt 2.25pt 2.25pt'><pre>event <span
! class=SpellE>result_t</span> read(uint32_t start, uint32_t size, uint8_t* <span
! class=SpellE>bffr</span>)</pre></td>
</tr>
</table>
***************
*** 213,220 ****
</div>
! <p>needs be implemented. TinyOS Application will fill up buffer, and call
! readDone(). Size of reading will be smaller than packet size. And that’s
! it. Data can reside either in RAM or FLASH. As long as address space is
! properly defined so that start and size can be interpreted, Straw works.</p>
<p>Straw is tested on tinyos-1.1.11 with nesc-1.2alpha11.</p>
--- 226,235 ----
</div>
! <p><span class=GramE>needs</span> be implemented. <span class=SpellE>TinyOS</span>
! Application will fill up buffer, and call <span class=SpellE><span class=GramE>readDone</span></span><span
! class=GramE>(</span>). Size of reading will be smaller than packet size. And
! that’s it. Data can reside either in RAM or FLASH. As long as address
! space is properly defined so that start and size can be interpreted, Straw
! works.</p>
<p>Straw is tested on tinyos-1.1.11 with nesc-1.2alpha11.</p>
***************
*** 238,242 ****
<p>Put GGB directory under /opt/tinyos-1.x/contrib</p>
! <p><b style='mso-bidi-font-weight:normal'>TinyOS code<o:p></o:p></b></p>
<p>/opt/tinyos-1.x/contrib/GGB/tos/lib/Straw</p>
--- 253,258 ----
<p>Put GGB directory under /opt/tinyos-1.x/contrib</p>
! <p><span class=SpellE><b style='mso-bidi-font-weight:normal'>TinyOS</b></span><b
! style='mso-bidi-font-weight:normal'> code<o:p></o:p></b></p>
<p>/opt/tinyos-1.x/contrib/GGB/tos/lib/Straw</p>
***************
*** 270,277 ****
style='width:80.0%;mso-cellspacing:1.5pt;mso-padding-alt:2.25pt 2.25pt 2.25pt 2.25pt'>
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
! <td width="99%" style='width:99.6%;background:#E0E0E0;padding:2.25pt 2.25pt 2.25pt 2.25pt'><pre>binetude at pilsner /opt/tinyos-1.x/contrib/GGB/tools/java</pre><pre>$ java net/tinyos/straw/TestStraw readData 1</pre><pre>********<span style='mso-spacerun:yes'> </span>readData<span style='mso-spacerun:yes'> </span>********</pre><pre>****<span style='mso-spacerun:yes'> </span>Straw<span style='mso-spacerun:yes'> </span>****</pre><pre><span style='mso-spacerun:yes'> </span>1:SRSRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR</pre><pre>msgSent = 2, msgRcvd = 51, successRate = 1.0 (50 / 50)</pre><pre>checksum = 0, tmpCheckSum = 0</pre><pre>Ni = 5578, Td = -1164951354355, Rr = 0, Ec = 0, total = -1164951348777</pre><pre><o:p> </o:p></pre><pre>SR</pre><pre>Bandwidth = 43.536941094518696 (B/s)</pre><pre>Latency = 22.969 (s)</pre><pre><o:p> </o:p></pre><pre>msgSent = 3, msgRcvd = 52, successRate = 1.0 (50 / 50)</pre><pre>checksum = 59180, tmpCheckSum = 59180</pre><pre><span
! lang=FR style='mso-ansi-language:FR'>Ni = 5578, Td = 6328, Rr = 5500, Ec = 5563, total = 22969<o:p></o:p></span></pre><pre><span
lang=FR style='mso-ansi-language:FR'><o:p> </o:p></span></pre><pre><span
! lang=FR style='mso-ansi-language:FR'>Straw Success<o:p></o:p></span></pre></td>
</tr>
</table>
--- 286,305 ----
style='width:80.0%;mso-cellspacing:1.5pt;mso-padding-alt:2.25pt 2.25pt 2.25pt 2.25pt'>
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
! <td width="99%" style='width:99.6%;background:#E0E0E0;padding:2.25pt 2.25pt 2.25pt 2.25pt'><pre><span
! class=SpellE>binetude at pilsner</span> /opt/tinyos-1.x/contrib/GGB/tools/java</pre><pre>$ java net/<span
! class=SpellE>tinyos/straw/TestStraw</span> <span class=SpellE>readData</span> 1</pre><pre>********<span style='mso-spacerun:yes'> </span><span
! class=SpellE>readData</span><span style='mso-spacerun:yes'> </span>********</pre><pre>****<span style='mso-spacerun:yes'> </span>Straw<span style='mso-spacerun:yes'> </span>****</pre><pre><span style='mso-spacerun:yes'> </span>1:SRSRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR</pre><pre><span
! class=SpellE>msgSent</span> = 2, <span class=SpellE>msgRcvd</span> = 51, <span
! class=SpellE>successRate</span> = 1.0 (50 / 50)</pre><pre>checksum = 0, <span
! class=SpellE>tmpCheckSum</span> = 0</pre><pre>Ni = 5578, Td = -1164951354355, <span
! class=SpellE>Rr</span> = 0, <span class=SpellE>Ec</span> = 0, total = -1164951348777</pre><pre><o:p> </o:p></pre><pre>SR</pre><pre>Bandwidth = 43.536941094518696 (B/s)</pre><pre>Latency = 22.969 (s)</pre><pre><o:p> </o:p></pre><pre><span
! class=SpellE>msgSent</span> = 3, <span class=SpellE>msgRcvd</span> = 52, <span
! class=SpellE>successRate</span> = 1.0 (50 / 50)</pre><pre>checksum = 59180, <span
! class=SpellE>tmpCheckSum</span> = 59180</pre><pre><span lang=FR
! style='mso-ansi-language:FR'>Ni = 5578, Td = 6328, <span class=SpellE>Rr</span> = 5500, <span
! class=SpellE>Ec</span> = 5563, total = 22969<o:p></o:p></span></pre><pre><span
lang=FR style='mso-ansi-language:FR'><o:p> </o:p></span></pre><pre><span
! class=SpellE><span lang=FR style='mso-ansi-language:FR'>Straw</span></span><span
! lang=FR style='mso-ansi-language:FR'> <span class=SpellE>Success</span><o:p></o:p></span></pre></td>
</tr>
</table>
***************
*** 282,292 ****
there is a sequence of “R” and “S”. “S”
means one packet is sent, and “R” means one packet is received. At
! the end, statistics are printed. “msgSent” is the total number of
! messages sent, “msgRcvd” is the total number of messages received,
! and “successRate” is the raw success rate provided by the low
! layer. “Ni” is the time taken to gather network information, which
! is used to tune parameters. “Td” is the time taken to transfer the
! entire data once. “Rd” is the time taken to fill holes (to
! retransmit missing packets). “Ec” is the time taken to check
whether there is an error in the data. Finally “total” is the total
time taken (sum of the previous four).</p>
--- 310,321 ----
there is a sequence of “R” and “S”. “S”
means one packet is sent, and “R” means one packet is received. At
! the end, statistics are printed. “<span class=SpellE><span class=GramE>msgSent</span></span>”
! is the total number of messages sent, “<span class=SpellE>msgRcvd</span>”
! is the total number of messages received, and “<span class=SpellE>successRate</span>”
! is the raw success rate provided by the low layer. “Ni” is the time
! taken to gather network information, which is used to tune parameters.
! “Td” is the time taken to transfer the entire data once.
! “Rd” is the time taken to fill holes (to retransmit missing
! packets). “<span class=SpellE>Ec</span>” is the time taken to check
whether there is an error in the data. Finally “total” is the total
time taken (sum of the previous four).</p>
***************
*** 304,309 ****
</table>
! <p>With MintRoute, after sending large number of packets at high speed, some
! link blacks out. But link revives after some time.</p>
<p><o:p> </o:p></p>
--- 333,338 ----
</table>
! <p>With <span class=SpellE>MintRoute</span>, after sending large number of
! packets at high speed, some link blacks out. But link revives after some time.</p>
<p><o:p> </o:p></p>
More information about the Tinyos-contrib-commits
mailing list