On Sat, Aug 7, 2010 at 8:44 PM, Dmitry Eremin-Solenikov <[email protected]> wrote: > Hello, > > On Fri, Aug 06, 2010 at 02:56:36PM -0400, Jon Smirl wrote: >> You're added Freescale SMAC. How do I create an interface for SMAC >> mode? A new option in the iz command? > > In the same way as you create monitor devices. > >> I don't need this, I just want > > It was a change pending since long ago. > >> to understand the architecture. So the frame format of SMAC is really >> different than IEEE802.15.4? > > Yes. SMAC = 0x7e 0xff <data...> <FCS> > >> My current thinking of 6lowpan support is to make the module autobind >> to the ieee802154 support. When you modprobe it in, it will bind into >> the stack and start doing its thing. > > I have a passion about autobinding. I'd prefer manual control over it. > >> You will lose access to >> compressed packets on the normal interfaces (they will still be there >> on the monitor interface). To get rid of it rmmod 6lowpan. To switch >> to zigbee modprobe zigbee. > > No. This is totally unacceptable. One of the users of wpan device shan't
My current code creates another interface like wpan, smac for 6lowpan. The interface then chains into the wpan code. I figured that model out by looking at the ax25/netrom/rose implementation. It should be possible to poll the packets to both the lowpan and zigbee code. ax25 = wpan netrom = 6lowpan rose = zigbee It is not obvious how to hook 6lowpan into the stack. I have tried about five different schemes so far. I'm linking into the mac802154 module at the moment, we can split 6lowpan out later if needed. > block other users. Moreover what about devices with several wpan > interfaces, where some of them should be 6lowpan, some of them should be > zigbee (BTW: kernel implementation of zigbee seems to be impossible due > to licensing agreements under which ZigBee Alliance provides > specifications). The current Zigbee is going to die in a few year. Zigbee over IP should replace it. Will luck 6lowpan/RPL/COAP will beat them too it. I'd like to see the whole Zigbee stack die because of their refusal to cooperate with the GPL. Their board was asked to cooperate and they refused to make the needed licensing adjustments. > >> Can you mix 6lowpan and Zigbee on a net? Can you tell the headers apart? > > Theoretically yes, you can mix them. No, you can't easily tell them > apart. The specified protocol handler should apply specific logic to > drop unacceptable packets. > > -- > With best wishes > Dmitry > > -- Jon Smirl [email protected] ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Linux-zigbee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
