At the Linux Foundation's Embedded Linux Conference Europe 2012, I gave a presentation titled Wireless Networking with IEEE 802.15.4 and 6LoWPAN. This page contains the presentation and all the code to make the demo work.
While the demo code is not of production quality, it serves as a base for understanding how to use the technologies demonstrated. Don't use this code for anything real unless you audit it yourself. Everything here is provided with NO WARRANTY.
The code is a snapshot of what was used for the demo. There was no time to clean it up. You may use the scripts any way you wish. For the C code, it's GPL. You don't want to re-use any of it, really.
PDF of the revised presentation
Presentation Video at Free Electrons
The source for both the controller (PC) and the sensor (BeagleBone) is in elce2012_alarm_demo.tar.gz. While this code works, it is really just hacky stuff for a demo. Some classes have been re-purposed from other projects and hacked up to suit the purposes of this demo. Don't send me emails or bug-fixes for this stuff. I already know.
To build the sensor (BeagleBone) software:
cd elce2012_alarm_demo makeTo build the controller (PC) software:
sudo apt-get install kdelibs5-dev cmake
cd elce2012_alarm_demo/controller mkdir build cd build cmake .. make
I can't stress this enough. This is stuff that's hacked up for a demo. Don't just go and use it on anything in production unless you audit all the code yourself for security and reliability. I will not be held responsible for the problems you cause yourself if you do.
That said, I hope you find this material useful. IEEE 802.15.4 and 6LoWPAN support on Linux are experimental, but improving. Please don't hesitate to contact me directly, or jump on the Linux-Zigbee mailing list for more information.
Alan Ott firstname.lastname@example.org Signal 11 Software 2012-11-12