Update of /cvsroot/firebug/firebug/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17403
Modified Files:
fbmsg.html
Log Message:
Added a bit more information to the fbmsg page.
Index: fbmsg.html
===================================================================
RCS file: /cvsroot/firebug/firebug/web/fbmsg.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** fbmsg.html 16 Feb 2004 02:03:16 -0000 1.5
--- fbmsg.html 16 Feb 2004 02:09:57 -0000 1.6
***************
*** 38,43 ****
</ul>
<p>
! So we can interpret the data packet as follows:
</p>
--- 38,56 ----
</ul>
+ <p>
+ Here is the payload struct definition for the fire data:
+ <pre class="code">
+ typedef struct _firedata {
+ uint16_t addr;
+ uint16_t cnt;
+ float temp;
+ float rel_hum;
+ float baro_pres;
+ float lux;
+ } Firedata_msg;</pre>
+ </p>
+
<p>
! The data packet is laid out as follows:
</p>
***************
*** 53,57 ****
<td colspan="4"><b>TOS HEADER</b></td>
-->
! <td colspan="2"><b>BLAST ROUTING INFO</b></td>
<td colspan="6"><b>FIREBUG DATA</b></td>
</tr>
--- 66,70 ----
<td colspan="4"><b>TOS HEADER</b></td>
-->
! <td colspan="2"><b>ROUTING HEADER</b></td>
<td colspan="6"><b>FIREBUG DATA</b></td>
</tr>
|