<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Florent Clairambault &#187; ZigBee</title>
	<atom:link href="http://florent.clairambault.fr/tag/zigbee/feed" rel="self" type="application/rss+xml" />
	<link>http://florent.clairambault.fr</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 20:31:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>The waspmote</title>
		<link>http://florent.clairambault.fr/the-waspmote?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=the-waspmote</link>
		<comments>http://florent.clairambault.fr/the-waspmote#comments</comments>
		<pubDate>Wed, 25 Nov 2009 08:32:59 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[M2M]]></category>
		<category><![CDATA[WaspMote]]></category>
		<category><![CDATA[ZigBee]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=2052</guid>
		<description><![CDATA[For those of you that take an interest in M2M and/or embedded things. You should look at the Waspmote. This is a generic hardware that can be customized to fit any need. Communication : GPRS / Wifi / ZigBee / USB Location : GPS Power usage : Low consuption, battery or solar as power input [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you that take an interest in <a href="http://florent.clairambault.fr/tag/m2m">M2M</a> and/or embedded things. You should look at <a href="http://www.libelium.com/products/waspmote">the Waspmote</a>.</p>
<div style="positon: relative; float: right">
<img src="http://i.mivi.fr/76b96e6c71cd1b10c284a6080f4eee07e5ce71a3.x.200.jpg" />
</div>
<p>This is a generic hardware that can be customized to fit any need. </p>
<ul>
<li>Communication : GPRS / Wifi / ZigBee / USB</li>
<li>Location : GPS</li>
<li>Power usage : Low consuption, battery or solar as power input</li>
<li>Storage : SD Card (2GB), no other storage memory</li>
<li>Sensors : Everything you might need (really impressive set of sensors)</li>
</ul>
<p>I looked at <a href="http://www.libelium.com/development/waspmote">the API</a> and it&#8217;s in C (pretty low level, you have to free everything) but everything seems to be handled at a high level. It&#8217;s sometimes better to have a smart C API rather than a dumb Java API. Look at the examples, they are really easy to read, you don&#8217;t need to be a skilled C developer to understand everything.</p>
<p>If the API seems great, the IDE doesn&#8217;t. But still I have just downloaded and tested it very quickly. It made me feel I was back on <a href="http://www.solarnavigator.net/sponsorship/sponsorship_images/Amstrad_PC_micro_computer_64x.jpg">an AMSTRAD</a> except that I didn&#8217;t have to put line numbers.</p>
<p>It seems the WaspMote is sold $100 for each card when bought in a package of 5. </p>
<p>Note : I know this look like some stupid buzz syndrome or planned viral advertisement but it&#8217;s not. It&#8217;s just a product that I&#8217;ve been interested in for years. This is the perfect product if you&#8217;re an M2M company. What ever you or your client wants, you can do it with this product.</p>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/the-waspmote/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microchip Zena Analyser &#8211; Zena .zna file format</title>
		<link>http://florent.clairambault.fr/microchip-zena-analyser-zena-zna-file-format?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=microchip-zena-analyser-zena-zna-file-format</link>
		<comments>http://florent.clairambault.fr/microchip-zena-analyser-zena-zna-file-format#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:58:40 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[802.15.4]]></category>
		<category><![CDATA[Microchip]]></category>
		<category><![CDATA[MiWi]]></category>
		<category><![CDATA[PICDEM Z]]></category>
		<category><![CDATA[Zena]]></category>
		<category><![CDATA[ZigBee]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=1327</guid>
		<description><![CDATA[I recently thought that it could be interesting to automatically get everything I needed about a MiWi network using a program reading the .zna capture files. I wanted to check every data sent on the 802.15.4 layer at a higher layer than Zena. But the project has been cancelled, so I won&#8217;t make this program. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently thought that it could be interesting to automatically get everything I needed about a MiWi network using a program reading the .zna capture files. I wanted to check every data sent on the 802.15.4 layer at a higher layer than Zena.</p>
<p>But the project has been cancelled, so I won&#8217;t make this program. But still, I decided to give the format of the file for those who would have the same needs.</p>
<p>everything is Little Endian</p>

<div class="wp_codebox"><table><tr id="p13273"><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code" id="p1327code3"><pre class="txt" style="font-family:monospace;">[ 4 ] - Frame Number (starting at 0) : 00 00 00 00 is frame 1, 01 00 00 00 is frame 2
[ 4 ] - Time 
[ 1 ] - Length of the frame (remember it counts the 2 last mandatory bytes) 
[ 2 ] - Mac Frame Control
[ 0-125 ] - Frame content
[ 1 ] - RSSI
[ 1 ] - Corr + CRC</pre></td></tr></table></div>

<p>MSB of this last byte describes if the CRC is OK. </p>
<p>In .Net, making this program is pretty easy. You just have to read the first 9 bytes. You will then read the next X (given by the 9th byte) + 3 bytes. Converting these bytes into a readeable message is easy :</p>

<div class="wp_codebox"><table><tr id="p13274"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p1327code4"><pre class="csharp" style="font-family:monospace;">var frameHeader <span style="color: #008000;">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> <span style="color: #6666cc; font-weight: bold;">Byte</span><span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">&#123;</span> 
    <span style="color: #FF0000;">0</span>, <span style="color: #FF0000;">0</span>, <span style="color: #FF0000;">0</span>, <span style="color: #FF0000;">0</span>, 
    <span style="color: #FF0000;">0</span>, <span style="color: #FF0000;">0</span>, <span style="color: #FF0000;">0</span>, <span style="color: #FF0000;">0</span>,
    <span style="color: #FF0000;">4</span>
<span style="color: #008000;">&#125;</span><span style="color: #008000;">;</span>
var rawFrameNumber <span style="color: #008000;">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> <span style="color: #6666cc; font-weight: bold;">Byte</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">4</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">;</span>
Array<span style="color: #008000;">.</span><span style="color: #0000FF;">Copy</span><span style="color: #008000;">&#40;</span>frameHeader, <span style="color: #FF0000;">0</span>, rawFrameNumber, <span style="color: #FF0000;">0</span>, rawFrameNumber<span style="color: #008000;">.</span><span style="color: #0000FF;">Length</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span> 
<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span><span style="color: #008000;">!</span>BitConverter<span style="color: #008000;">.</span><span style="color: #0000FF;">IsLittleEndian</span><span style="color: #008000;">&#41;</span> <span style="color: #008080; font-style: italic;">// .Net isn't x86 specific</span>
    Array<span style="color: #008000;">.</span><span style="color: #0000FF;">Reverse</span><span style="color: #008000;">&#40;</span>rawFrameNumber, <span style="color: #FF0000;">0</span>, rawFrameNumber<span style="color: #008000;">.</span><span style="color: #0000FF;">Length</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
var frameNumber <span style="color: #008000;">=</span> BitConverter<span style="color: #008000;">.</span><span style="color: #0000FF;">ToUInt32</span><span style="color: #008000;">&#40;</span>rawFrameNumber, <span style="color: #FF0000;">0</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/microchip-zena-analyser-zena-zna-file-format/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.091 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-29 16:39:14 -->
