Re: [Linux-zigbee-devel] 6lowpan fragments overlaps, make linux unable to communicate with contiki node when package is large

2014-02-20 Thread Alexander Aring
maybe you can work with joseph to running these patches on rpi. He also want these patches on a rpi and since we did code sharing with blte 6lowpan the backport isn't easy. (oh well for me it's easy but I don't have any time right now.) Sorry! - Alex --

Re: [Linux-zigbee-devel] 6lowpan fragments overlaps, make linux unable to communicate with contiki node when package is large

2014-02-20 Thread Alexander Aring
Hi, short answer: fragmentation isn't rfc complaint and has a lot of other issues. good news: patches is in my queue, checkout [1]. I will resend them "without as RFC (since nobody screams in netdev that I make weird things)" today after my discrete maths exam. - Alex [1] https://github.com/

Re: [Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-19 Thread Varka Bhadram
Hai Stephen... Do you have any patch that can be update the BLIP stack as per RFC6282 complaint ? . . -Bhadram On February 20, 2014 at 2:07 AM Alexander Aring wrote: > On Wed, Feb 19, 2014 at 11:38:11AM -0800, Stephen Dawson-Haggerty wrote: > > I did the TinyOS 6lowpan stack (blip) a couple ye

Re: [Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-19 Thread Alexander Aring
On Wed, Feb 19, 2014 at 11:38:11AM -0800, Stephen Dawson-Haggerty wrote: > I did the TinyOS 6lowpan stack (blip) a couple years ago and the version in > there implements draft-ietf-6lowpan-hc-06; we were able to interop with > Contiki implementation of the same but I imagine the world has moved > f

Re: [Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-19 Thread Stephen Dawson-Haggerty
I did the TinyOS 6lowpan stack (blip) a couple years ago and the version in there implements draft-ietf-6lowpan-hc-06; we were able to interop with Contiki implementation of the same but I imagine the world has moved forward since then... Steve On Wed, Feb 19, 2014 at 1:22 AM, Alexander Aring w

Re: [Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-19 Thread Alexander Aring
On Wed, Feb 19, 2014 at 02:46:15PM +0530, Varka Bhadram wrote: > Hai Alex, > > > On February 17, 2014 at 11:15 PM Alexander Aring wrote: > > Hi, > > > > okay I will try to answer all question in this mail. > > > > On Mon, Feb 17, 2014 at 04:32:48PM +0530, Varka Bhadram wrote: > > > This is the p

Re: [Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-19 Thread Varka Bhadram
Hai Alex, On February 17, 2014 at 11:15 PM Alexander Aring wrote: > Hi, > > okay I will try to answer all question in this mail. > > On Mon, Feb 17, 2014 at 04:32:48PM +0530, Varka Bhadram wrote: > > This is the packet i received from TinyOS node : > > > > 41 c8 00 22 00 ff ff c6 0f 7c 50 45 6d

Re: [Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-17 Thread Alexander Aring
Hi, okay I will try to answer all question in this mail. On Mon, Feb 17, 2014 at 04:32:48PM +0530, Varka Bhadram wrote: > This is the packet i received from TinyOS node : > > 41 c8 00 22 00 ff ff c6 0f 7c 50 45 6d 12 00 6b 3b 00 40 e0 3a 02 85 00 12 be > 00 > 00 00 00 01 02 c6 0f 7c 50 45 6d 12

Re: [Linux-zigbee-devel] 6LoWPAN implementation status ?

2014-02-17 Thread Varka Bhadram
This is the packet i received from TinyOS node : 41 c8 00 22 00 ff ff c6 0f 7c 50 45 6d 12 00 6b 3b 00 40 e0 3a 02 85 00 12 be 00 00 00 00 01 02 c6 0f 7c 50 45 6d 12 00 00 00 00 00 00 00 16 ec I put some debug messges in the kernel the results are as follows: [ 65.724839] Bhadra : ieee802154_r

Re: [Linux-zigbee-devel] 6lowpan: lockless tx queue of routing netlink device

2014-02-10 Thread Alexander Aring
On Mon, Feb 10, 2014 at 11:26:12AM -0800, Eric Dumazet wrote: > On Mon, 2014-02-10 at 19:21 +0100, Alexander Aring wrote: > > > no problem. Maybe you can try to give me some explanation what you did > > there? > > > > I see you make a lockdep_set_class for each tx queue and assign the > > lowpan

Re: [Linux-zigbee-devel] 6lowpan: lockless tx queue of routing netlink device

2014-02-10 Thread Eric Dumazet
On Mon, 2014-02-10 at 19:21 +0100, Alexander Aring wrote: > no problem. Maybe you can try to give me some explanation what you did > there? > > I see you make a lockdep_set_class for each tx queue and assign the > lowpan_netdev_xmit_lock_key. So why it's better to make a own > "lock_key". This

Re: [Linux-zigbee-devel] 6lowpan: lockless tx queue of routing netlink device

2014-02-10 Thread Alexander Aring
Hi, On Mon, Feb 10, 2014 at 10:16:26AM -0800, Eric Dumazet wrote: > On Mon, 2014-02-10 at 18:33 +0100, Alexander Aring wrote: > > Hi Eric, > > > > On Sun, Feb 09, 2014 at 04:41:47AM -0800, Eric Dumazet wrote: > > > > > > Please try the following fix, thanks for this report ! > > > > > > diff --

Re: [Linux-zigbee-devel] 6lowpan: lockless tx queue of routing netlink device

2014-02-10 Thread Eric Dumazet
On Mon, 2014-02-10 at 18:33 +0100, Alexander Aring wrote: > Hi Eric, > > On Sun, Feb 09, 2014 at 04:41:47AM -0800, Eric Dumazet wrote: > > > > Please try the following fix, thanks for this report ! > > > > diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c > > index 48b25c0af4d0..0

Re: [Linux-zigbee-devel] 6lowpan: lockless tx queue of routing netlink device

2014-02-10 Thread Alexander Aring
Hi Eric, On Sun, Feb 09, 2014 at 04:41:47AM -0800, Eric Dumazet wrote: > > Please try the following fix, thanks for this report ! > > diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c > index 48b25c0af4d0..069af33013c4 100644 > --- a/net/ieee802154/6lowpan.c > +++ b/net/ieee802154

Re: [Linux-zigbee-devel] 6lowpan: lockless tx queue of routing netlink device

2014-02-09 Thread Eric Dumazet
On Sun, 2014-02-09 at 11:20 +0100, Alexander Aring wrote: > Hi, > > I got some locking issues with CONFIG_PROVE_LOCKING enabled and need help. > > Full output: > > = > [ INFO: possible recursive locking detected ] > 3.13.0-08605-g8f2b630-dirty #105 Not

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-27 Thread Sascha Herrmann
Hi, > Sorry I dont intend to be a wet blanket here. I would like to add rather > than building the ZigBee stack on Linux user space it would be better to > use a modem based approach. > In todays market there are a lot of certified modules avaliable in the > market and they are cheap too. So if i

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-24 Thread Prajosh Premdas
Hi Alex Sorry I dont intend to be a wet blanket here. I would like to add rather than building the ZigBee stack on Linux user space it would be better to use a modem based approach. In todays market there are a lot of certified modules avaliable in the market and they are cheap too. So if i see fr

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-24 Thread Alexander Aring
Hi Sascha, On Mon, Sep 23, 2013 at 08:41:20PM +0200, Sascha Herrmann wrote: > Hi, > > > Could it be related somehow to ZigBee lincense ? (http://www.zigbee.org/) > > Moreover, I saw in a lecture: > > http://elinux.org/images/7/71/Wireless_Networking_with_IEEE_802.15.4_and_6LoWPAN.pdf > > from 201

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-23 Thread Sascha Herrmann
Hi, > Could it be related somehow to ZigBee lincense ? (http://www.zigbee.org/) > Moreover, I saw in a lecture: > http://elinux.org/images/7/71/Wireless_Networking_with_IEEE_802.15.4_and_6LoWPAN.pdf > from 2012, by Alan Ott: Maybe you can get some more information about this issue from this artic

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-20 Thread Kevin Wilson
Hi, all, >I don't know if there was any licensing issues. Programmers don't have time to read non code... This is what the wiki says: http://sourceforge.net/apps/trac/linux-zigbee/ . . . "While this project was originally started to create a ZigBee implementation for Linux, licensing restrictions p

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-20 Thread Alexander Aring
Hi Ralph, On Fri, Sep 20, 2013 at 03:48:16PM +, Ralph Droms (rdroms) wrote: > Let me try to clarify the situation. Note that anything I've contributed > here is my own personal opinion and not any kind of official statement from > ZigBee Alliance (ZA), Cisco or any legal opinion... > > ZA

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-20 Thread Ralph Droms (rdroms)
On Sep 20, 2013, at 12:16 PM 9/20/13, Alexander Aring wrote: > Hi Ralph, > > On Fri, Sep 20, 2013 at 03:48:16PM +, Ralph Droms (rdroms) wrote: >> Let me try to clarify the situation. Note that anything I've contributed >> here is my own personal opinion and not any kind of official state

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-20 Thread Kevin Wilson
Hello, Varka >I am adding the code to already existing IPv6-ND(RFC4861) which is there >in >net/ipv6/ndisc.c and include/net/ndisc.h I do not see these DAR and DAC messages there. I an not sure what do you mean. May I ask - are you preparing and sending such patches to the networking IPv6/netdev m

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-20 Thread Alexander Aring
Hi, On Fri, Sep 20, 2013 at 06:27:21PM +0300, Kevin Wilson wrote: > Hi, all, > >I don't know if there was any licensing issues. > Programmers don't have time to read non code... > This is what the wiki says: > http://sourceforge.net/apps/trac/linux-zigbee/ > . . . > "While this project was origina

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-20 Thread Ralph Droms (rdroms)
Let me try to clarify the situation. Note that anything I've contributed here is my own personal opinion and not any kind of official statement from ZigBee Alliance (ZA), Cisco or any legal opinion... ZA has published a collection of specifications that are not IP-based. I don't know much abo

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-19 Thread Varka Bhadram
Hello , On Thu, Sep 19, 2013 at 07:21:09PM +0300, Kevin Wilson wrote : > And last one - is there intention to implement RFC 6775 > "Neighbor Discovery Optimization for IPv6 over Low-Power Wireless > Personal Area Networks (6LoWPANs)" in this protocol ? > In RFC6775 6lowpan-ND added two icmpv6 me

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee (newbie)

2013-09-19 Thread Alexander Aring
Hi Kevin, On Thu, Sep 19, 2013 at 07:21:09PM +0300, Kevin Wilson wrote: > Hello, > I saw somewhere on the web that the focus of linux-zigbee > moved to 6LoWPAN, beacuse of licensing issues of zigbee itself. > I don't know if there was any licensing issues. I remember a mailinglist entry to rename

Re: [Linux-zigbee-devel] 6LoWPAN and Fragmentation

2013-09-12 Thread Sascha Herrmann
> 3. Why we have a list of slaves in the mac802154 implementation? To handle >one device with different channels? I don't know how this could work >with tx packets. I don't understand this point too. One point could be a device with more than one phy which is able to send on more than one c

Re: [Linux-zigbee-devel] 6lowpan: strange addressing?

2013-03-13 Thread Wolf-Bastian Pöttner
Hi Alan, Am 12.03.2013 um 22:00 schrieb Alan Ott : > On 03/05/2013 10:48 AM, Wolf-Bastian Pöttner wrote: >> That means: the stack is using my 6lowpan address as sender (and receiver) >> in the IEEE 802.15.4 packets. > > Looking closely at my captures, I see this as well. 6lowpan.c (line 611, >

Re: [Linux-zigbee-devel] 6lowpan: strange addressing?

2013-03-12 Thread Alan Ott
On 03/05/2013 10:48 AM, Wolf-Bastian Pöttner wrote: > finally I have 6lowpan running. However, acknowledgement of frames is not > working. When I enable address filtering in the at86rf230, I only receive > broadcast frames and no unicast frames anymore. > > The reason seems to be the addressing.

Re: [Linux-zigbee-devel] 6lowpan: Device or resource busy

2013-03-05 Thread Wolf-Bastian Pöttner
Hi! Am 04.03.2013 um 20:04 schrieb Sascha Herrmann : > I'm not using lowpan, but one reason you can get this messages is, that > your interface is already up when you try to set the mac address. Maybe > try a ifconfig lowpan0 down before configuring it. On my raspberry the > ifplugd of the raspia

Re: [Linux-zigbee-devel] 6lowpan: Device or resource busy

2013-03-04 Thread Sascha Herrmann
Hi, > $ sudo iz add wpan-phy0 > $ sudo ip link set wpan0 address a0:a0:a0:a0:a0:a0:a0:a0 > $ sudo ifconfig wpan0 up > $ sudo iz set wpan0 0x780 0x0004 23 // PAN 0x780, short addr 4, channel 23 > $ sudo ip link add link wpan0 name lowpan0 type lowpan > $ sudo ip link set lowpan0 address a0:0:0:0:0

Re: [Linux-zigbee-devel] 6lowpan Contiki fixes

2012-05-17 Thread jonsm...@gmail.com
On Mon, May 14, 2012 at 8:21 AM, Alexander Smirnov wrote: > Hi Jon, > > I want to sync Linux 6lowpan implementation with Contiki one, so how > can I derive latest 6lowpan fixes? > Do you have any tracking system or may be just a list with bugs were fixed? > > Or 'git log' must be my favorite tool?

Re: [Linux-zigbee-devel] 6lowpan Contiki fixes

2012-05-14 Thread Mariano Alvira
On Mon, May 14, 2012 at 04:21:06PM +0400, Alexander Smirnov wrote: > Hi Jon, > > I want to sync Linux 6lowpan implementation with Contiki one, so how > can I derive latest 6lowpan fixes? > Do you have any tracking system or may be just a list with bugs were fixed? > > Or 'git log' must be my favo

Re: [Linux-zigbee-devel] 6lowpan Contiki fixes

2012-05-14 Thread jonsm...@gmail.com
Mar should know what is going on. He tracks this more closely than I do. On Mon, May 14, 2012 at 8:21 AM, Alexander Smirnov wrote: > Hi Jon, > > I want to sync Linux 6lowpan implementation with Contiki one, so how > can I derive latest 6lowpan fixes? > Do you have any tracking system or may be ju

Re: [Linux-zigbee-devel] 6lowpan in Ethernet packets

2012-04-11 Thread Luca BRUNO
Alexander Smirnov scrisse: > Got it! > Hm, definitely it's possible, but I suspect that it looks more like > ugly hack. The more appropriate solution I guess will be usage of fake > drivers. I've set reminder to check this possibility, hope there will > be some free time slot this week :-( A simi

Re: [Linux-zigbee-devel] 6lowpan in Ethernet packets

2012-04-09 Thread jonsm...@gmail.com
2012/4/9 Alexander Smirnov : > Got it! > Hm, definitely it's possible, but I suspect that it looks more like > ugly hack. The more appropriate solution I guess will be usage of fake > drivers. I've set reminder to check this possibility, hope there will > be some free time slot this week :-( An ex

Re: [Linux-zigbee-devel] 6lowpan in Ethernet packets

2012-04-09 Thread Alexander Smirnov
Got it! Hm, definitely it's possible, but I suspect that it looks more like ugly hack. The more appropriate solution I guess will be usage of fake drivers. I've set reminder to check this possibility, hope there will be some free time slot this week :-( With best regards, Alex 9 апреля 2012 г. 23

Re: [Linux-zigbee-devel] 6lowpan in Ethernet packets

2012-04-09 Thread jonsm...@gmail.com
On Mon, Apr 9, 2012 at 3:36 PM, Alexander Smirnov wrote: > Hi Jon, > > do you mean to send 6lowpan packets over Ethernet? Yes. If it is simple to hook up it would provide an easy testbed for people that don't have the radio hardware and want to play with the protocol. > > Alex > > 2012/4/9, jon

Re: [Linux-zigbee-devel] 6lowpan in Ethernet packets

2012-04-09 Thread Alexander Smirnov
Hi Jon, do you mean to send 6lowpan packets over Ethernet? Alex 2012/4/9, jonsm...@gmail.com : > Is there some simple way to hook the 6lowpan code up to the Ethernet > interface (private Ethertype maybe)? That would make an easy way to > test things on multiple machines (or VMs) without needing

Re: [Linux-zigbee-devel] 6lowpan code and Contiki source

2012-03-24 Thread Alexander Smirnov
Hi Jon, First of all thank you a lot for the hint! I'll take a look to the 6lowpan code in Contiki. With best regards, Alex пятница, 23 марта 2012 г. пользователь jonsm...@gmail.com < jonsm...@gmail.com> писал: > Is anyone watching the Contiki 6lowpan source for bug patches to the > 6lowpan code

Re: [Linux-zigbee-devel] [6LoWPAN] patch series

2011-10-28 Thread Dmitry Eremin-Solenikov
Hi Alexander On 10/27/11, Alexander Smirnov wrote: > Hi Dmitry, > > please drop patches I sent to list 2 days ago. There were problems > with locking on fragments receive site. > > Could you please review the following patches only. > > P.S. And also please let me know if you can't do it in next

Re: [Linux-zigbee-devel] 6lowpan

2011-06-18 Thread jonsm...@gmail.com
On Sat, Jun 18, 2011 at 1:35 PM, jonsm...@gmail.com wrote: > On Thu, Jun 16, 2011 at 3:15 AM, Alexander Smirnov > wrote: >> Hi Jon, >> >> currently I'm working on 6lowpan support for zigbee linux. >> I'm trying to rework your patch and make it more suitable for linux mainline >> according Dmitry

Re: [Linux-zigbee-devel] 6lowpan

2011-06-18 Thread jonsm...@gmail.com
On Thu, Jun 16, 2011 at 3:15 AM, Alexander Smirnov wrote: > Hi Jon, > > currently I'm working on 6lowpan support for zigbee linux. > I'm trying to rework your patch and make it more suitable for linux mainline > according Dmitry's help. > So do you have any updates or progress with this deal sinc

Re: [Linux-zigbee-devel] 6lowpan

2011-06-18 Thread jonsm...@gmail.com
On Thu, Jun 16, 2011 at 3:15 AM, Alexander Smirnov wrote: > Hi Jon, > > currently I'm working on 6lowpan support for zigbee linux. > I'm trying to rework your patch and make it more suitable for linux mainline > according Dmitry's help. > So do you have any updates or progress with this deal sinc

Re: [Linux-zigbee-devel] 6lowpan in linux zigbee

2011-06-08 Thread jonsm...@gmail.com
On Wed, Jun 8, 2011 at 7:33 AM, Klaus Lynggard Hougesen wrote: > for 6lowpan in linux zigbee: > why not use the excellent lib6lowpan from BLIP (berkely OpenWSN). > http://openwsn.berkeley.edu/browser/tinyos-2.x/support/sdk/c/blip/lib6lowpan/lib6lowpan.c?rev=620 > should be EASY to implement! Work

Re: [Linux-zigbee-devel] 6lowpan in linux zigbee

2011-06-08 Thread Stephen Dawson-Haggerty
Just thought I'd speak up since I saw this reference to lib6lowpan (I'm the developer). That version is actually out of date -- the latest one is here ( http://code.google.com/p/tinyos-main/source/browse/#svn%2Ftrunk%2Fsupport%2Fsdk%2Fc%2Fblip%2Flib6lowpan). It implements draft-ietf-6lowpan-hc-06

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee project

2010-08-25 Thread Tomas Mazak
Hi, thanks for code and advices. I have some small experience already. I have done simple driver hack to some easy cc2420 driver to make IPv6 work over 802.15.4 as my bachelor thesis. Because of deadline I didn't have time to implement standard. I worked with 2 iMote2 sensor nodes, I can use th

Re: [Linux-zigbee-devel] 6LoWPAN and linux-zigbee project

2010-08-24 Thread Jon Smirl
On Tue, Aug 24, 2010 at 6:59 PM, Tomas Mazak wrote: > Hi folks, > is somebody working on 6LoWPAN implementation for linux, please? I'm > considering to do it as my university thesis. linux-zigbee project looks > like very good entry point. I started on porting 6lowpan over to Linux. If you'd lik