On Wed, Oct 27, 2010 at 10:00:18AM +0200, Wolf-Bastian Pöttner wrote:
> Am 26.10.10 11:19, schrieb Pierre-emmanuel Goudet:
> 
> Contiki uses custom MAC mechanisms for communication which mostly rely 
> on the fact, that all nodes have unique 16 bit addresses.

This is true. sicslowmac, however, is just an 802.15.4 framer and
address/data stuffer for 6LowPAN. And since 6LowPAN only uses data
frames, it has minimal interaction with Linux 802.15.4 stack. 

You can get things working that way. This set of patches shows the
kernel of the idea:

http://devl.org/pipermail/mc1322x/2010-March/000215.html

It's using uncompressed 6lowpan sent as 802.15.4 data frames. I added
to the data packet handles code to recognize the 6lowpan header and
pass it up to the linux ipv6 stack. With something like this you can
run a Contiki node, have Linux and Contiki do NS/NA and then ping the
node with ping6 (and receive udp packets etc..).

Jon has been working on adding 6lowpan for real.

You have a good point though, for some of the mac's in Contiki
(e.g. contikimac), you will need a kernel side equivalent for that to
work. Often this is done with another Contiki node running as a
bridge. 

-Mar.

 

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to