Update of /cvsroot/firebug/firebug/web
In directory sc8-pr-cvs1:/tmp/cvs-serv13492
Added Files:
fbmsg.html
Log Message:
Added a web page detailing message layout.
--- NEW FILE: fbmsg.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link type="text/css" rel="stylesheet" href="firebug.css">
<link rel="SHORTCUT ICON" href="./images/favicon.ico">
<title>FireBug Active Message definition</title>
</head>
<body>
<h1>FireBug Active Message definition</h1>
<p>
<ul>
<li> <b>Destination address</b> (2 bytes)</li>
<li> <b>Active Message handler ID</b> (1 byte)</li>
<li> <b>Group ID</b> (1 byte)</li>
<li> <b>Message length</b> (1 byte)</li>
<li> <b>Payload</b> (up to 29 bytes):</li>
<ul>
<li> <b>source mote ID</b> (2 bytes)</li>
<li> <b>sample counter</b> (2 bytes)</li>
<li> <b>ADC channel</b> (2 bytes)</li>
<li> <b>ADC data readings</b> (10 readings of 2 bytes each)</li>
</ul>
</ul>
<p>
So we can interpret the data packet as follows:
<p>
<table cellspacing=10 cellpadding=0 border=0 hspace=0>
<tr bgcolor="#d0d0d0" >
<td colspan=4><b>TOS AM</b></td>
</tr>
<tr bgcolor="#d0d0d0">
<td><b>dest addr</b></td>
<td><b>handlerID</b></td>
<td><b>groupID</b></td>
<td><b>msg len</b></td>
<td><b>source addr</b></td>
<td><b>counter</b></td>
<td><b>channel</b></td>
<td><b>readings</b><td>
</tr>
<tr>
<td bgcolor="#d0d0ff">7e 00</td>
<td bgcolor="#d0d0ff">0a</td>
<td bgcolor="#d0d0ff">7d</td>
<td bgcolor="#d0d0ff">1a</td>
<td bgcolor="#d0ffd0">01 00</td>
<td bgcolor="#d0ffd0">14 00</td>
<td bgcolor="#d0ffd0">01 00</td>
<td bgcolor="#ffd0d0">96 03 97 03 97 03 98 03 97 03 96 03 97 03 96 03 96 03 96 03</td>
</tr>
</table>
</body>
</html>
|