Matthew Gigli | 3 Feb 18:33 2011

Getting Started with Ubuntu

Hi,

I am a student at University of San Diego, and am doing a project with zigbee on a board running Ubuntu.  I'm trying to get started but need a little help to get there.  I noticed that there hasn't been many, if any, users talking about getting started on Ubuntu, so I was wondering if anyone could offer any suggestions or advice, or point me in the right direction to get started?  I'm very new to this and need help!

Thanks,

Matt

--

Matthew Gigli
University of San Diego
Computer Science and Electrical Engineering, Class of 2011
phone: 209.662.3616

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@...
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
Wolf-Bastian Pöttner | 9 Feb 15:10 2011
Picon
Picon

RZUSBStick status?

Hi!

According to the (apparently outdated) Wiki page [1], support for the RZUSBSticks is planned. Can someone
give an update on how things are progressing and if code is already existing?

Best regards,

Bastian
--

-- 
Wolf-Bastian Pöttner      Institut für Betriebssysteme & Rechnerverbund
Tel.: +49-531-391-3265                           Mühlenpfordtstrasse 23
Fax.: +49-531-391-5936      TU Braunschweig        D-38106 Braunschweig

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Wolf-Bastian Pöttner | 9 Feb 15:12 2011
Picon
Picon

General Contiki Serial Adapter?

Hi!

While think about how to add support for the RZUSBSticks, an idea came to my mind. Porting the firmware for
the serial protocol to different hardware platforms and radios is troublesome. What about using an
operating system such as Contiki as adaptation layer? Implementing the serial protocol in Contiki
should be easy and then using Contikis abstraction of the different radio chips should bring in a variety
of new hardware platforms.

Has work in this direction been done before? What do you think?

Bastian
--

-- 
Wolf-Bastian Pöttner      Institut für Betriebssysteme & Rechnerverbund
Tel.: +49-531-391-3265                           Mühlenpfordtstrasse 23
Fax.: +49-531-391-5936      TU Braunschweig        D-38106 Braunschweig

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Maxim Osipov | 9 Feb 15:18 2011
Picon

Re: General Contiki Serial Adapter?

Hello Bastian,

> While think about how to add support for the RZUSBSticks, an idea came to my mind. Porting the firmware for
the serial protocol to different hardware platforms and radios is troublesome. What about using an
operating system such as Contiki as adaptation layer? Implementing the serial protocol in Contiki
should be easy and then using Contikis abstraction of the different radio chips should bring in a variety
of new hardware platforms.
>

I'm not aware of any generic Contiki implementation for the serial
protocol. I suppose if you run Contiki - you probably already have
IPv6 and do not want to use you device just as a 802.15.4 radio.

Kind regards,
Maxim

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Picon

Re: General Contiki Serial Adapter?

On Wed, Feb 9, 2011 at 9:18 AM, Maxim Osipov <maxim.osipov@...> wrote:
> Hello Bastian,
>
>> While think about how to add support for the RZUSBSticks, an idea came to my mind. Porting the firmware for
the serial protocol to different hardware platforms and radios is troublesome. What about using an
operating system such as Contiki as adaptation layer? Implementing the serial protocol in Contiki
should be easy and then using Contikis abstraction of the different radio chips should bring in a variety
of new hardware platforms.
>>
>
> I'm not aware of any generic Contiki implementation for the serial
> protocol. I suppose if you run Contiki - you probably already have
> IPv6 and do not want to use you device just as a 802.15.4 radio.

To support this using a Raven stick on Contiki, you'd need to
implement a standard USB serial device on the Raven stick. That would
make the Raven stick look like a serial device to linux-zigbee.
Econotag has hardware (FT232) that does this.

However, there is already a CDC Ethernet implementation for the Raven
device. That would probably be a better way to attach to linux-zigbee.
You may need to modify the CDC Ethernet implementation to handle 8
byte MAC addresses. I'm not sure whether or not CDC Ethernet looks at
the addresses. Then use PHY commands to change the radio channel,
etc....

>
> Kind regards,
> Maxim
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Linux-zigbee-devel mailing list
> Linux-zigbee-devel@...
> https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
>

--

-- 
Jon Smirl
jonsmirl@...

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Mariano Alvira | 9 Feb 16:41 2011

Re: General Contiki Serial Adapter?

On Wed, Feb 09, 2011 at 03:12:03PM +0100, Wolf-Bastian Pöttner wrote:
> Hi!
> 
> 
> While think about how to add support for the RZUSBSticks, an idea came to my mind. Porting the firmware for
the serial protocol to different hardware platforms and radios is troublesome. What about using an
operating system such as Contiki as adaptation layer? Implementing the serial protocol in Contiki
should be easy and then using Contikis abstraction of the different radio chips should bring in a variety
of new hardware platforms.
> 
> Has work in this direction been done before? What do you think?
> 
> 
> Bastian

My first implementation of the serial interface for the mc13224v was
written in Contiki.

I decided that implementing the serial protocol side is trivial and
Contiki adds too much complexity.

You can see my code here:

     http://git.devl.org/?p=malvira/linux802154-serialdev.git;a=blob;f=linux.c

It's only 250 lines or so and very simple. 

The hard part about supporting new hardware platforms is dealing with
the hardware: the radio, the UART, or doing USB->serial in the case of
a chip that has USB builtin. Contiki doesn't help much with this.

-Mar.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Mariano Alvira | 9 Feb 16:42 2011

Re: General Contiki Serial Adapter?

On Wed, Feb 09, 2011 at 10:41:12AM -0500, Mariano Alvira wrote:
> On Wed, Feb 09, 2011 at 03:12:03PM +0100, Wolf-Bastian Pöttner wrote:
> > Hi!
> > 
> > 
> > While think about how to add support for the RZUSBSticks, an idea came to my mind. Porting the firmware for
the serial protocol to different hardware platforms and radios is troublesome. What about using an
operating system such as Contiki as adaptation layer? Implementing the serial protocol in Contiki
should be easy and then using Contikis abstraction of the different radio chips should bring in a variety
of new hardware platforms.
> > 
> > Has work in this direction been done before? What do you think?
> > 
> > 
> > Bastian
> 
> My first implementation of the serial interface for the mc13224v was
> written in Contiki.

And here it is:

    http://git.devl.org/?p=malvira/contiki-mc1322x.git;a=tree;f=examples/linux802154-serialdev

-Mar.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Picon

Re: First tries with a 6Lowpan interface under Linux

Hi Pierre-emmanuel, Jon, Dimitri, all,

I'm currently in the middle of porting support for cc2520 to this project
with the final goal of being able to run 6lowpan IPv6 over a cc2520 802.15.4
wireless link. I'm able to follow the instructions given in various email
and on the linux-zigbee wiki, and compile the kernel after applying the
6lowpan patch shared by Jon on email send to the list on the 25/10-2010.
Secondly I have ported the cc2420 driver to support the cc2520 chip with a
cc2591 RF frontend (and I can communicate with the chip over SPI), but after
this the progress pretty much ends - Unfortunately :-( :-)

Now to the questions:

1) Below it's mentioned that you should do:
# iz 6lowpan  wpan-phyY
in order to attached the wpan-phyY to a 6lowpan network I assume? Trying to
do this "iz" complains about now knowing the 6lowpan option. I can however
do "iz add wpan-phyY" with no problem, but I assume this won't link it
properly to the 6lowpan networking? What am I missing here?

2) I'm not sure I fully understand this part:
* 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.

I hope that somebodye can help me forward with this and as well let me know
what I might need to do to i.e. make the network stream out a lot of TX
packets for me to check if my TX settings are correct - Next step will then
be RX I think(?). I have a RF sniffer (based on CC2531) with which I assume
I can capture the send packets(?), but since I'm not being able to bind the
cc2520 correctly to the IPv6 networking it seems like I can't make any
packages being send by use of ping6(?). BTW: Is this the right way for doing
initial TX tests, or is there another easier/better way? Do I need any other
special options compiled into the kernel for this to work?

Best regards and thanks in advance - Any kind of feedback or help will be
highly appreciated
  Søren

---

From: Pierre-emmanuel Goudet [mailto:pe.goudet@...] 
Sent: Friday, October 29, 2010 5:55 PM
To: jonsmirl@...; linux-zigbee-devel
Subject: [Linux-zigbee-devel] First tries with a 6Lowpan interface under
Linux

  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

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Picon

Re: First tries with a 6Lowpan interface under Linux

A bit too fast – Seems like I missed this one (http://www.mail-archive.com/linux-zigbee-devel <at> lists.sourceforge.net/msg00446.html) with respect to updating the iz-tool J - I will try this tomorrow…

 

This being said – When I have this I would still like to get any kind of guidance on what’s next step in order to test something with 6lowpan?

Can I just do a “#ping6 ipv6.google.com” and expect this one to start sending out ipv6 ping packages on the link, or should I do anything else/special?

 

Best regards and thanks again in advance

  Søren

 

From: Søren Steen Christensen (lists) [mailto:lists-i08BHSbyvP1cYcHgkWTfDA@public.gmane.org]
Sent: Tuesday, February 15, 2011 11:16 PM
To: 'linux-zigbee-devel'
Subject: Re: [Linux-zigbee-devel] First tries with a 6Lowpan interface under Linux

 

Hi Pierre-emmanuel, Jon, Dimitri, all,

I'm currently in the middle of porting support for cc2520 to this project
with the final goal of being able to run 6lowpan IPv6 over a cc2520 802.15.4
wireless link. I'm able to follow the instructions given in various email
and on the linux-zigbee wiki, and compile the kernel after applying the
6lowpan patch shared by Jon on email send to the list on the 25/10-2010.
Secondly I have ported the cc2420 driver to support the cc2520 chip with a
cc2591 RF frontend (and I can communicate with the chip over SPI), but after
this the progress pretty much ends - Unfortunately :-( :-)

Now to the questions:

1) Below it's mentioned that you should do:
# iz 6lowpan  wpan-phyY
in order to attached the wpan-phyY to a 6lowpan network I assume? Trying to
do this "iz" complains about now knowing the 6lowpan option. I can however
do "iz add wpan-phyY" with no problem, but I assume this won't link it
properly to the 6lowpan networking? What am I missing here?

2) I'm not sure I fully understand this part:
* 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.

I hope that somebodye can help me forward with this and as well let me know
what I might need to do to i.e. make the network stream out a lot of TX
packets for me to check if my TX settings are correct - Next step will then
be RX I think(?). I have a RF sniffer (based on CC2531) with which I assume
I can capture the send packets(?), but since I'm not being able to bind the
cc2520 correctly to the IPv6 networking it seems like I can't make any
packages being send by use of ping6(?). BTW: Is this the right way for doing
initial TX tests, or is there another easier/better way? Do I need any other
special options compiled into the kernel for this to work?

Best regards and thanks in advance - Any kind of feedback or help will be
highly appreciated
  Søren

---

From: Pierre-emmanuel Goudet [mailto:pe.goudet-bFc0SK6aU5BBDgjK7y7TUQ@public.gmane.org]
Sent: Friday, October 29, 2010 5:55 PM
To: jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; linux-zigbee-devel
Subject: [Linux-zigbee-devel] First tries with a 6Lowpan interface under
Linux

  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


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3445 - Release Date: 02/15/11

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@...
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
Pierre-Emmanuel Goudet | 16 Feb 18:58 2011

Re: First tries with a 6Lowpan interface under Linux

Hi Soren, all,

 

Indeed, you were missing the patch, as I did some times ago ;O)

 

On my side the best I got was:

- seeing 6LowPan frame sent from my interface, using a sniffer on my media.

- seeing Rx’ed 6Lowpan frames (sent by a Contiki IPV6/RPL device on my media) more or less decoded by the 6LowPan stack and entering in the IP of the Linux, but being discarded.

 

My last posts were talking about things that could have been bugs ? But no answer ?

Even if I would be happy to go on testing and reporting, I could not go further because of my low knowledge in Linux Kernel implementation.

It’s a pity, but this project seems a bit stuck for me.

 

Best regards

 

Pierre-emmanuel

 

 

De : Søren Steen Christensen (lists) [mailto:lists-i08BHSbyvP1cYcHgkWTfDA@public.gmane.org]
Envoyé : mercredi 16 février 2011 00:37
À : 'linux-zigbee-devel'
Objet : Re: [Linux-zigbee-devel] First tries with a 6Lowpan interface under Linux

 

A bit too fast – Seems like I missed this one (http://www.mail-archive.com/linux-zigbee-devel-5NWGOfrQmnfLDRD5uJR0wg@public.gmane.orgeforge.net/msg00446.html) with respect to updating the iz-tool J - I will try this tomorrow…

 

This being said – When I have this I would still like to get any kind of guidance on what’s next step in order to test something with 6lowpan?

Can I just do a “#ping6 ipv6.google.com” and expect this one to start sending out ipv6 ping packages on the link, or should I do anything else/special?

 

Best regards and thanks again in advance

  Søren

 

From: Søren Steen Christensen (lists) [mailto:lists-i08BHSbyvP1cYcHgkWTfDA@public.gmane.org]
Sent: Tuesday, February 15, 2011 11:16 PM
To: 'linux-zigbee-devel'
Subject: Re: [Linux-zigbee-devel] First tries with a 6Lowpan interface under Linux

 

Hi Pierre-emmanuel, Jon, Dimitri, all,

I'm currently in the middle of porting support for cc2520 to this project
with the final goal of being able to run 6lowpan IPv6 over a cc2520 802.15.4
wireless link. I'm able to follow the instructions given in various email
and on the linux-zigbee wiki, and compile the kernel after applying the
6lowpan patch shared by Jon on email send to the list on the 25/10-2010.
Secondly I have ported the cc2420 driver to support the cc2520 chip with a
cc2591 RF frontend (and I can communicate with the chip over SPI), but after
this the progress pretty much ends - Unfortunately :-( :-)

Now to the questions:

1) Below it's mentioned that you should do:
# iz 6lowpan  wpan-phyY
in order to attached the wpan-phyY to a 6lowpan network I assume? Trying to
do this "iz" complains about now knowing the 6lowpan option. I can however
do "iz add wpan-phyY" with no problem, but I assume this won't link it
properly to the 6lowpan networking? What am I missing here?

2) I'm not sure I fully understand this part:
* 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.

I hope that somebodye can help me forward with this and as well let me know
what I might need to do to i.e. make the network stream out a lot of TX
packets for me to check if my TX settings are correct - Next step will then
be RX I think(?). I have a RF sniffer (based on CC2531) with which I assume
I can capture the send packets(?), but since I'm not being able to bind the
cc2520 correctly to the IPv6 networking it seems like I can't make any
packages being send by use of ping6(?). BTW: Is this the right way for doing
initial TX tests, or is there another easier/better way? Do I need any other
special options compiled into the kernel for this to work?

Best regards and thanks in advance - Any kind of feedback or help will be
highly appreciated
  Søren

---

From: Pierre-emmanuel Goudet [mailto:pe.goudet-bFc0SK6aU5BBDgjK7y7TUQ@public.gmane.org]
Sent: Friday, October 29, 2010 5:55 PM
To: jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; linux-zigbee-devel
Subject: [Linux-zigbee-devel] First tries with a 6Lowpan interface under
Linux

  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


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3445 - Release Date: 02/15/11

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@...
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Gmane