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 ...)


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 )

- 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.

- 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 ?

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


Attachment: LocalAndGlobalPingSend.pcap
Description: Binary data

Attachment: RSRAExchanges.pcap
Description: Binary data

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to