[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/GGB Sentri.htm, 1.2, 1.3 Straw.htm, 1.6, 1.7

Sukun Kim binetude at users.sourceforge.net
Thu Nov 30 22:18:28 PST 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/GGB
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8375

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.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Sentri.htm	1 Dec 2006 06:12:15 -0000	1.2
--- Sentri.htm	1 Dec 2006 06:18:26 -0000	1.3
***************
*** 15,30 ****
    <o:Author>Sukun Kim</o:Author>
    <o:LastAuthor>Sukun Kim</o:LastAuthor>
!   <o:Revision>31</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:11:00Z</o:LastSaved>
    <o:Pages>1</o:Pages>
!   <o:Words>254</o:Words>
!   <o:Characters>1449</o:Characters>
    <o:Company>EECS - University of California, Berkeley</o:Company>
!   <o:Lines>12</o:Lines>
    <o:Paragraphs>3</o:Paragraphs>
!   <o:CharactersWithSpaces>1700</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>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>
***************
*** 146,150 ****
  </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">
--- 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">
***************
*** 176,182 ****
  
  <p><span class=SpellE>Sentri</span> (Structural <span class=SpellE>hEalth</span>
! <span class=SpellE>moNiToRing</span> <span class=SpellE>toolkIt</span>) is a software
! tool to measure ambient vibration of a structure to determine the structural
! health status.</p>
  
  <p><o:p>&nbsp;</o:p></p>
--- 176,182 ----
  
  <p><span class=SpellE>Sentri</span> (Structural <span class=SpellE>hEalth</span>
! <span class=SpellE>moNiToRing</span> <span class=SpellE>toolkIt</span>) is a
! software tool to measure ambient vibration of a structure to determine the
! structural health status.</p>
  
  <p><o:p>&nbsp;</o:p></p>
***************
*** 280,297 ****
  </table>
  
! <p>You can download the package from:<o:p></o:p></p>
  
! <p>http://www.cs.berkeley.edu/~binetude/ggb/code/GGB.tgz<o:p></o:p></p>
  
! <p>http://www.cs.berkeley.edu/~binetude/ggb/code/vu.tgz<o:p></o:p></p>
  
  <p>Put GGB and vu directories 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/apps/Sentri</p>
  
! <p><b style='mso-bidi-font-weight:normal'>JAVA code<o:p></o:p></b></p>
  
  <p>/opt/tinyos-1.x/contrib/GGB/tools/java/net/tinyos/sentri</p>
--- 280,301 ----
  </table>
  
! <p>You can download the package from:</p>
  
! <p><a href="http://www.cs.berkeley.edu/~binetude/ggb/code/GGB.tgz">http://www.cs.berkeley.edu/~binetude/ggb/code/GGB.tgz</a></p>
  
! <p><a href="http://www.cs.berkeley.edu/~binetude/ggb/code/vu.tgz">http://www.cs.berkeley.edu/~binetude/ggb/code/vu.tgz</a></p>
  
  <p>Put GGB and vu directories under /opt/tinyos-1.x/contrib</p>
  
! <p><span class=SpellE><b style='mso-bidi-font-weight:normal'><span lang=FR
! style='mso-ansi-language:FR'>TinyOS</span></b></span><b style='mso-bidi-font-weight:
! normal'><span lang=FR style='mso-ansi-language:FR'> code<o:p></o:p></span></b></p>
  
! <p><span lang=FR style='mso-ansi-language:FR'>/<span class=SpellE>opt</span>/<span
! class=SpellE>tinyos</span>-1.x/<span class=SpellE>contrib</span>/GGB/<span
! class=SpellE>apps</span>/<span class=SpellE>Sentri</span><o:p></o:p></span></p>
  
! <p><b style='mso-bidi-font-weight:normal'><span lang=FR style='mso-ansi-language:
! FR'>JAVA code<o:p></o:p></span></b></p>
  
  <p>/opt/tinyos-1.x/contrib/GGB/tools/java/net/tinyos/sentri</p>

Index: Straw.htm
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/GGB/Straw.htm,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Straw.htm	1 Dec 2006 06:12:15 -0000	1.6
--- Straw.htm	1 Dec 2006 06:18:26 -0000	1.7
***************
*** 10,30 ****
  <meta name=Originator content="Microsoft Word 11">
  <link rel=File-List href="Straw_files/filelist.xml">
! <title>Straw &#8211; Reliable Data Collection</title>
  <!--[if gte mso 9]><xml>
   <o:DocumentProperties>
    <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>
--- 10,30 ----
  <meta name=Originator content="Microsoft Word 11">
  <link rel=File-List href="Straw_files/filelist.xml">
! <title>Sentri - Structural Health Monitoring Toolkit</title>
  <!--[if gte mso 9]><xml>
   <o:DocumentProperties>
    <o:Author>Sukun Kim</o:Author>
    <o:LastAuthor>Sukun Kim</o:LastAuthor>
!   <o:Revision>32</o:Revision>
!   <o:TotalTime>45</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>
***************
*** 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,118 ----
  	mso-hansi-font-family:"Courier New";
  	mso-bidi-font-family:"Courier New";}
+ span.SpellE
+ 	{mso-style-name:"";
+ 	mso-spl-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">
--- 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">
***************
*** 160,165 ****
   <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
    <td width="100%" style='width:100.0%;background:#E0E0FF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
!   <p class=MsoNormal><b><span style='font-size:20.0pt;font-family:Tahoma'>Straw
!   &#8211; Reliable Data Collection<o:p></o:p></span></b></p>
    <p><span style='font-family:Tahoma'>Last updated 1 June 2005</span></p>
    </td>
--- 165,171 ----
   <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
    <td width="100%" style='width:100.0%;background:#E0E0FF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
!   <p class=MsoNormal><span class=SpellE><b><span style='font-size:20.0pt;
!   font-family:Tahoma'>Sentri</span></b></span><b><span style='font-size:20.0pt;
!   font-family:Tahoma'> &#8211; 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>
***************
*** 169,176 ****
  <p class=MsoNormal><span style='display:none;mso-hide:all'><o:p>&nbsp;</o:p></span></p>
  
! <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>&nbsp;</o:p></p>
--- 175,182 ----
  <p class=MsoNormal><span style='display:none;mso-hide:all'><o:p>&nbsp;</o:p></span></p>
  
! <p><span class=SpellE>Sentri</span> (Structural <span class=SpellE>hEalth</span>
! <span class=SpellE>moNiToRing</span> <span class=SpellE>toolkIt</span>) is a
! software tool to measure ambient vibration of a structure to determine the
! structural health status.</p>
  
  <p><o:p>&nbsp;</o:p></p>
***************
*** 186,204 ****
  </table>
  
! <p>Command to JAVA code is</p>
! 
! <div align=center>
! 
! <table class=MsoNormalTable border=0 cellpadding=0 width="80%"
!  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>
! 
! </div>
! 
! <p>Buffer space needs be provided by JAVA application using Straw. And Straw
! interface of TinyOS code</p>
  
  <div align=center>
--- 192,196 ----
  </table>
  
! <p>To look at command, you can run</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>
--- 199,263 ----
   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/sentri/DataCenter</span></pre><pre>sage: java <span
!   class=SpellE>net.tinyos.SMT.DataCenter</span> &lt;command&gt; &lt;arguments&gt; [options] where</pre><pre><span style='mso-spacerun:yes'>        </span>&lt;command&gt; &lt;arguments&gt; [options] can be one of the following:</pre><pre><o:p>&nbsp;</o:p></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>ledOn</span></span><span
!   lang=FR style='mso-ansi-language:FR'> [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>ledOff</span></span><span
!   lang=FR style='mso-ansi-language:FR'> [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>pingNode</span></span><span
!   lang=FR style='mso-ansi-language:FR'> &lt;<span class=SpellE>dest</span>&gt; [-<span
!   class=SpellE>toUART</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>nodeList</span></span><span
!   lang=FR style='mso-ansi-language:FR'> [-<span class=SpellE>toUART</span>] [-<span
!   class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span lang=FR
!   style='mso-ansi-language:FR'>reset [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>eraseFlash</span></span><span
!   lang=FR style='mso-ansi-language:FR'> [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE>startSensing</span> &lt;<span class=SpellE>nSamples</span>&gt; &lt;<span
!   class=SpellE>intrv</span>&gt; [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>chnlSelect</span> <span
!   class=SpellE>chnlSelect</span>] [-<span class=SpellE>samplesToAvg</span> <span
!   class=SpellE>samplesToAvg</span>] [-nm nm] [-verbose]</pre><pre><span
!   class=SpellE>eraseStart</span> &lt;<span class=SpellE>nSamples</span>&gt; &lt;<span
!   class=SpellE>intrv</span>&gt; [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>chnlSelect</span> <span
!   class=SpellE>chnlSelect</span>] [-<span class=SpellE>samplesToAvg</span> <span
!   class=SpellE>samplesToAvg</span>] [-nm nm] [-verbose]</pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>readProfile</span></span><span
!   lang=FR style='mso-ansi-language:FR'> [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>toUART</span>] [-<span
!   class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span class=SpellE><span
!   lang=FR style='mso-ansi-language:FR'>readData</span></span><span lang=FR
!   style='mso-ansi-language:FR'> [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>toUART</span>] [-<span
!   class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span class=SpellE><span
!   lang=FR style='mso-ansi-language:FR'>randomRead</span></span><span lang=FR
!   style='mso-ansi-language:FR'> &lt;<span class=SpellE>dest</span>&gt; &lt;<span
!   class=SpellE>chnlNo</span>&gt; &lt;<span class=SpellE>sampleNo</span>&gt; [-<span
!   class=SpellE>toUART</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>timesyncInfo</span></span><span
!   lang=FR style='mso-ansi-language:FR'> &lt;<span class=SpellE>dest</span>&gt; [-<span
!   class=SpellE>toUART</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>networkInfo</span></span><span
!   lang=FR style='mso-ansi-language:FR'> &lt;<span class=SpellE>dest</span>&gt; [-<span
!   class=SpellE>toUART</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>fixRoute</span></span><span
!   lang=FR style='mso-ansi-language:FR'> [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>releaseRoute</span></span><span
!   lang=FR style='mso-ansi-language:FR'> [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span
!   class=SpellE><span lang=FR style='mso-ansi-language:FR'>forDebug</span></span><span
!   lang=FR style='mso-ansi-language:FR'> [-<span class=SpellE>dest</span> <span
!   class=SpellE>dest</span>] [-<span class=SpellE>toUART</span>] [-<span
!   class=SpellE>verbose</span>]<o:p></o:p></span></pre><pre><span lang=PT-BR
!   style='mso-ansi-language:PT-BR'>resetBcSeqNo [-verbose]<o:p></o:p></span></pre><pre><span
!   lang=PT-BR style='mso-ansi-language:PT-BR'>help [-verbose]<o:p></o:p></span></pre></td>
   </tr>
  </table>
***************
*** 213,222 ****
  </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&#8217;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>
  
  <p><o:p>&nbsp;</o:p></p>
--- 265,270 ----
  </div>
  
! <p><span class=SpellE>Sentri</span> is tested on tinyos-1.1.11 with
! nesc-1.2alpha11.</p>
  
  <p><o:p>&nbsp;</o:p></p>
***************
*** 225,229 ****
   style='width:100.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.68%;background:#E0E0FF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
    <p class=MsoNormal><b><span style='font-family:Arial'>Location</span></b><b><span
    style='mso-bidi-font-size:10.0pt;font-family:Arial'><o:p></o:p></span></b></p>
--- 273,277 ----
   style='width:100.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.34%;background:#E0E0FF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
    <p class=MsoNormal><b><span style='font-family:Arial'>Location</span></b><b><span
    style='mso-bidi-font-size:10.0pt;font-family:Arial'><o:p></o:p></span></b></p>
***************
*** 236,309 ****
  <p><a href="http://www.cs.berkeley.edu/~binetude/ggb/code/GGB.tgz">http://www.cs.berkeley.edu/~binetude/ggb/code/GGB.tgz</a></p>
  
! <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>
! 
! <p><b style='mso-bidi-font-weight:normal'>JAVA code<o:p></o:p></b></p>
! 
! <p>/opt/tinyos-1.x/contrib/GGB/tools/java/net/tinyos/straw</p>
! 
! <p><o:p>&nbsp;</o:p></p>
! 
! <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
!  style='width:100.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.68%;background:#E0E0FF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
!   <p class=MsoNormal><b><span style='font-family:Arial'>Examples</span></b><b><span
!   style='mso-bidi-font-size:10.0pt;font-family:Arial'><o:p></o:p></span></b></p>
!   </td>
!  </tr>
! </table>
! 
! <p>Two nodes are needed. Program them with application at:</p>
! 
! <p>/opt/tinyos-1.x/contrib/GGB/apps/TestStraw</p>
! 
! <p>One node with node number 0 is a base station. The other node with node
! number 1 is a target node to collect data.</p>
! 
! <div align=center>
! 
! <table class=MsoNormalTable border=0 cellpadding=0 width="80%"
!  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>&nbsp;</o:p></pre><pre>SR</pre><pre>Bandwidth = 43.536941094518696 (B/s)</pre><pre>Latency = 22.969 (s)</pre><pre><o:p>&nbsp;</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>&nbsp;</o:p></span></pre><pre><span
!   lang=FR style='mso-ansi-language:FR'>Straw Success<o:p></o:p></span></pre></td>
!  </tr>
! </table>
  
! </div>
  
! <p>This is a simple example reading RAM. The result is shown above. At first
! there is a sequence of &#8220;R&#8221; and &#8220;S&#8221;. &#8220;S&#8221;
! means one packet is sent, and &#8220;R&#8221; means one packet is received. At
! the end, statistics are printed. &#8220;msgSent&#8221; is the total number of
! messages sent, &#8220;msgRcvd&#8221; is the total number of messages received,
! and &#8220;successRate&#8221; is the raw success rate provided by the low
! layer. &#8220;Ni&#8221; is the time taken to gather network information, which
! is used to tune parameters. &#8220;Td&#8221; is the time taken to transfer the
! entire data once. &#8220;Rd&#8221; is the time taken to fill holes (to
! retransmit missing packets). &#8220;Ec&#8221; is the time taken to check
! whether there is an error in the data. Finally &#8220;total&#8221; is the total
! time taken (sum of the previous four).</p>
  
! <p><o:p>&nbsp;</o:p></p>
  
! <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
!  style='width:100.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.68%;background:#E0E0FF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
!   <p class=MsoNormal><b><span style='font-family:Arial'>Known Problems</span></b><b><span
!   style='mso-bidi-font-size:10.0pt;font-family:Arial'><o:p></o:p></span></b></p>
!   </td>
!  </tr>
! </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>&nbsp;</o:p></p>
--- 284,303 ----
  <p><a href="http://www.cs.berkeley.edu/~binetude/ggb/code/GGB.tgz">http://www.cs.berkeley.edu/~binetude/ggb/code/GGB.tgz</a></p>
  
! <p><a href="http://www.cs.berkeley.edu/~binetude/ggb/code/vu.tgz">http://www.cs.berkeley.edu/~binetude/ggb/code/vu.tgz</a></p>
  
! <p>Put GGB and vu directories under /opt/tinyos-1.x/contrib</p>
  
! <p><span class=SpellE><b style='mso-bidi-font-weight:normal'><span lang=FR
! style='mso-ansi-language:FR'>TinyOS</span></b></span><b style='mso-bidi-font-weight:
! normal'><span lang=FR style='mso-ansi-language:FR'> code<o:p></o:p></span></b></p>
  
! <p><span lang=FR style='mso-ansi-language:FR'>/<span class=SpellE>opt</span>/<span
! class=SpellE>tinyos</span>-1.x/<span class=SpellE>contrib</span>/GGB/<span
! class=SpellE>apps</span>/<span class=SpellE>Sentri</span><o:p></o:p></span></p>
  
! <p><b style='mso-bidi-font-weight:normal'><span lang=FR style='mso-ansi-language:
! FR'>JAVA code<o:p></o:p></span></b></p>
  
! <p>/opt/tinyos-1.x/contrib/GGB/tools/java/net/tinyos/sentri</p>
  
  <p><o:p>&nbsp;</o:p></p>



More information about the Tinyos-contrib-commits mailing list