Re: [Linux-zigbee-devel] izcoordinator faults; patch to fix

2013-03-17 Thread Alan Ott
On 10/26/2012 02:22 PM, Tom Carroll wrote: > > In lowpan-tools-0.3, the izcoordinator segfaults and incorrectly > assumes non-zero libnl* api calls are errors. The following patch > corrects izcoordinator and allows it to work for me. Hi Tom, Thanks for this patch. Please give a signoff on this

Re: [Linux-zigbee-devel] [PATCH] Allow to set PAN ID, short address and channel manually.

2013-03-17 Thread Alan Ott
On 03/13/2013 11:30 AM, Alan Ott wrote: > On 03/13/2013 03:25 AM, Wolf-Bastian Pöttner wrote: >> This allows setting up a network without a PAN >> coordinator. Necessary if you want to be compatible >> with the contiki implementation. >> >> Signed-off-by: Stefan Schmidt > Where did this patch c

Re: [Linux-zigbee-devel] [RFC PATCH 0/2] changed irq handling for at86rf230

2013-03-17 Thread Alexander Aring
Hi Sascha, I don't forget you to test these patches, I will do it tomorrow. Sorry about that. Alex -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free

Re: [Linux-zigbee-devel] [PATCH] Allow to set PAN ID, short address and channel manually.

2013-03-17 Thread Alexander Aring
Hi Alan, On Sun, Mar 17, 2013 at 03:59:45PM -0400, Alan Ott wrote: > On 03/13/2013 11:30 AM, Alan Ott wrote: > > On 03/13/2013 03:25 AM, Wolf-Bastian Pöttner wrote: > >> This allows setting up a network without a PAN > >> coordinator. Necessary if you want to be compatible > >> with the contiki

Re: [Linux-zigbee-devel] [PATCH] Allow to set PAN ID, short address and channel manually.

2013-03-17 Thread Alan Ott
On 03/17/2013 04:07 PM, Alexander Aring wrote: > Hi Alan, > > On Sun, Mar 17, 2013 at 03:59:45PM -0400, Alan Ott wrote: >> On 03/13/2013 11:30 AM, Alan Ott wrote: >>> On 03/13/2013 03:25 AM, Wolf-Bastian Pöttner wrote: This allows setting up a network without a PAN coordinator. Necessar

Re: [Linux-zigbee-devel] [PATCH 1/2] configure.ac: check for python2.x

2013-03-17 Thread Alan Ott
On 12/21/2012 12:37 AM, Alexander Aring wrote: > Check for python2.x at first. > > test_DQ.py works with python2.x only. > 'make install' needs python2.x to generate *.pyc files. > > Signed-off-by: Alexander Aring > --- > configure.ac | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/co

Re: [Linux-zigbee-devel] [PATCH 1/2] configure.ac: check for python2.x

2013-03-17 Thread Alexander Aring
Hi Alan, On Sun, Mar 17, 2013 at 04:16:08PM -0400, Alan Ott wrote: > On 12/21/2012 12:37 AM, Alexander Aring wrote: > > Check for python2.x at first. > > > > test_DQ.py works with python2.x only. > > 'make install' needs python2.x to generate *.pyc files. > > > > Signed-off-by: Alexander Aring >

Re: [Linux-zigbee-devel] [PATCH 1/2] configure.ac: check for python2.x

2013-03-17 Thread Alexander Aring
On Sun, Mar 17, 2013 at 04:16:08PM -0400, Alan Ott wrote: > On 12/21/2012 12:37 AM, Alexander Aring wrote: > > Check for python2.x at first. > > > > test_DQ.py works with python2.x only. > > 'make install' needs python2.x to generate *.pyc files. > > > > Signed-off-by: Alexander Aring > > --- > >

Re: [Linux-zigbee-devel] [PATCH 2/2] addrdb: fix include dependency and remove redefined

2013-03-17 Thread Alan Ott
On 12/21/2012 12:37 AM, Alexander Aring wrote: > Currently I get this compile error: > > coord-config-parse.h:106:14: error: unknown type name 'yyscan_t' > coord-config-parse.y:38:0: error: "YYDEBUG" redefined [-Werror] > > "yyscan_t" is defined in parser.h but parser.h need a include from > coord-

Re: [Linux-zigbee-devel] [PATCH 2/2] addrdb: fix include dependency and remove redefined

2013-03-17 Thread Alexander Aring
Hi Alan, On Sun, Mar 17, 2013 at 05:23:40PM -0400, Alan Ott wrote: > On 12/21/2012 12:37 AM, Alexander Aring wrote: > >Currently I get this compile error: > > > >coord-config-parse.h:106:14: error: unknown type name 'yyscan_t' > >coord-config-parse.y:38:0: error: "YYDEBUG" redefined [-Werror] > >

Re: [Linux-zigbee-devel] [PATCH 1/2] configure.ac: check for python2.x

2013-03-17 Thread Alan Ott
On 03/17/2013 04:40 PM, Alexander Aring wrote: > Hi Alan, > > On Sun, Mar 17, 2013 at 04:16:08PM -0400, Alan Ott wrote: >> On 12/21/2012 12:37 AM, Alexander Aring wrote: >>> Check for python2.x at first. >>> >>> test_DQ.py works with python2.x only. >>> 'make install' needs python2.x to generate *.

Re: [Linux-zigbee-devel] [PATCH] Allow to set PAN ID, short address and channel manually.

2013-03-17 Thread Stefan Schmidt
Hello. On Sun, 2013-03-17 at 15:59, Alan Ott wrote: > On 03/13/2013 11:30 AM, Alan Ott wrote: > > On 03/13/2013 03:25 AM, Wolf-Bastian Pöttner wrote: > >> This allows setting up a network without a PAN > >> coordinator. Necessary if you want to be compatible > >> with the contiki implementation

Re: [Linux-zigbee-devel] [PATCH 1/2] configure.ac: check for python2.x

2013-03-17 Thread Alexander Aring
Hi Alan, On Sun, Mar 17, 2013 at 05:38:00PM -0400, Alan Ott wrote: > On 03/17/2013 04:40 PM, Alexander Aring wrote: > >Hi Alan, > > > >On Sun, Mar 17, 2013 at 04:16:08PM -0400, Alan Ott wrote: > >>On 12/21/2012 12:37 AM, Alexander Aring wrote: > >>>Check for python2.x at first. > >>> > >>>test_DQ.

Re: [Linux-zigbee-devel] [PATCH 1/2] configure.ac: check for python2.x

2013-03-17 Thread Alan Ott
On 03/17/2013 06:24 PM, Alexander Aring wrote: > Hi Alan, > > On Sun, Mar 17, 2013 at 05:38:00PM -0400, Alan Ott wrote: >> On 03/17/2013 04:40 PM, Alexander Aring wrote: >>> Hi Alan, >>> >>> On Sun, Mar 17, 2013 at 04:16:08PM -0400, Alan Ott wrote: On 12/21/2012 12:37 AM, Alexander Aring wrote

Re: [Linux-zigbee-devel] [PATCH] Allow to set PAN ID, short address and channel manually.

2013-03-17 Thread Alan Ott
On 03/17/2013 06:02 PM, Stefan Schmidt wrote: > Hello. > > On Sun, 2013-03-17 at 15:59, Alan Ott wrote: >> On 03/13/2013 11:30 AM, Alan Ott wrote: >>> On 03/13/2013 03:25 AM, Wolf-Bastian Pöttner wrote: This allows setting up a network without a PAN coordinator. Necessary if you want to

Re: [Linux-zigbee-devel] [PATCH 1/2] configure.ac: check for python2.x

2013-03-17 Thread Alexander Aring
Hi Alan, On Sun, Mar 17, 2013 at 06:27:59PM -0400, Alan Ott wrote: > On 03/17/2013 06:24 PM, Alexander Aring wrote: > >Hi Alan, > > > >On Sun, Mar 17, 2013 at 05:38:00PM -0400, Alan Ott wrote: > >>On 03/17/2013 04:40 PM, Alexander Aring wrote: > >>>Hi Alan, > >>> > >>>On Sun, Mar 17, 2013 at 04:16

Re: [Linux-zigbee-devel] [PATCH 1/2] configure.ac: check for python2.x

2013-03-17 Thread Alan Ott
On 03/17/2013 06:53 PM, Alexander Aring wrote: > Hi Alan, > > On Sun, Mar 17, 2013 at 06:27:59PM -0400, Alan Ott wrote: >> On 03/17/2013 06:24 PM, Alexander Aring wrote: >>> Hi Alan, >>> >>> On Sun, Mar 17, 2013 at 05:38:00PM -0400, Alan Ott wrote: On 03/17/2013 04:40 PM, Alexander Aring wrote

Re: [Linux-zigbee-devel] [PATCH] Allow to set PAN ID, short address and channel manually.

2013-03-17 Thread Alan Ott
On 03/13/2013 03:25 AM, Wolf-Bastian Pöttner wrote: > This allows setting up a network without a PAN > coordinator. Necessary if you want to be compatible > with the contiki implementation. Applied, thanks. I also put in some code to handle a failed return code. Alan. --

[Linux-zigbee-devel] Return Codes from Netlink

2013-03-17 Thread Alan Ott
Hi guys, In putting in Stefan's patch for setting short address, PAN ID, and channel from iz ("iz set" command), I noticed that the kernel will return a netlink status code if the PAN ID is invalid (0x)[1]. The code it returns is IEEE802154_NO_SHORT_ADDRESS which is defined in include/net/ieee