On Fri, Oct 29, 2010 at 11:54 AM, Pierre-emmanuel Goudet <pe.gou...@watteco.com> wrote: > Hi Jon, Dimitri, all, > > And many thanks. > > I tried all this yesterday. > Great ! it works. I can see 6LowPan frames sended. > > Basic steps to get this working for whom who begin with all this (a bit > like me) : > ===================================================================== > * Create a serial Node with an 802.15.4 interface conform to Dimitri > specification (Cf Linux-zigbee Wiki), > and use an other node with Contiki IPV6 capabilities. Not necessary during > these first tests except for RS/RA behaviour. > * Get the git devel branch of linux-zigbee, (Starting from a debian dist at > least 2.6.32) > * Apply your (Jon smirl) patches (Kernel and lowpan), (use git-apply with > your patch) > * Compile the linux-zigbee kernel and lowpan tools > > * Connect your serial node ad use these commands to test : > # izattach /dev/ttyUSBX > Find the new wpan-phy with # iz list-phy > # iz 6lowpan wpan-phyY > # ifconfig wpan0 up > > (Use a sniffer Cf 15dot4 project from Colin O'Flyn to see frames on the real > media with wireshark more recent > than 1.3.3 the best would be 1.5.0 not my case today ...)
Run wireshark on your Linux box and capture from the network interface. First packet received will crash the kernel. That's the bug I never got sorted out. > > > My current questions: > =================== > - My interface Hardware address is not setted correctly ... it seems that > just 4 or 5 first bytes are setted ? > (even so i see the correct address in the return "zb0x8d..." message with > #dmesg ) I think Dmitry and I implement incompatible ways to set the address. This needs to get sorted out to something that works. - As discussed in previous posts in linux-zigbee mailing list, > I had to have my channel setted (done as a hack of mac802154_wpan_xmit() > from net/mac802.15.4/wpan.c) to see my packets sended. there's no good UI for changing the channel at the moment. I just change it in the source code. > > - Without defining a global address this ping line > # ping6 fe80::ff:ff00:1 -I wpan0 -c1 > gives a MAC header containing my own MAC address as source AND dest ? (seen > on the sniffer) > > - With a Global IPV6 address defined on the interface > # ip -6 addr add aaaa::1/64 dev wpan0 > # ping6 aaaa::ff:ff00:1 -I wpan0 -c1 > as got very strange LL addressing and lowpan compression with 16 bit source > address ? There is some stuff that needs to be sorted out in Contiki. Contiki is always using 16b addresses in places where long and short address should both be legal. > > For whom who are interested i join the PCAP files for initial RS/RA > exchanges, and an example of Ping send with Local then global with a Contiki > IPV6 device. > > Pierre-emmanuel > > > -- Jon Smirl jonsm...@gmail.com ------------------------------------------------------------------------------ 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