On Fri, Mar 19, 2010 at 11:20:41AM -0400, Mariano Alvira wrote:
> On Fri, Mar 19, 2010 at 11:00:40AM -0400, Jon Smirl wrote:
> > On Fri, Mar 19, 2010 at 10:57 AM, Dmitry Eremin-Solenikov
> > 
> > We aren't using 6lowpan. It should be possible to set an IPv6 address
> > on the interface. I can set an IPv4 one without error.
> 
> Along these lines, if I set an IPv4 address:
> 
> ping -s 16 192.168.1.100
> 
> Shouldn't I get packets sent over-the-air? And commands sent to the
> device? 

Ok, I sorted this out. ieee802154_net_xmit drops packets silently
here, if you don't have a channel configured:

        if (priv->chan == (u8)-1) /* not init */
                return NETDEV_TX_OK;

The only way I know to set the channel is with iz assoc or izcoord.

Then something about my patch to ass up all received data breaks the
transmit side of things. That patch is here: 

  http://mc1322x.devl.org/linux802154-serialdev.html

Anyway, I can send ipv4 pings over-the-air now, which is kind of
cool... 

-Mar.



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Linux-zigbee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to