Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Dmitry Eremin-Solenikov
On Sun, Jan 10, 2010 at 6:18 AM, Jon Smirl wrote: > On Sat, Jan 9, 2010 at 8:06 PM, Dmitry Eremin-Solenikov > wrote: >> On Sat, Jan 09, 2010 at 07:56:19PM -0500, Jon Smirl wrote: >>> On Sat, Jan 9, 2010 at 7:29 PM, Dmitry Eremin-Solenikov >>> wrote: >>> > On Sat, Jan 09, 2010 at 07:25:23PM -0500

Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Jon Smirl
On Sat, Jan 9, 2010 at 8:06 PM, Dmitry Eremin-Solenikov wrote: > On Sat, Jan 09, 2010 at 07:56:19PM -0500, Jon Smirl wrote: >> On Sat, Jan 9, 2010 at 7:29 PM, Dmitry Eremin-Solenikov >> wrote: >> > On Sat, Jan 09, 2010 at 07:25:23PM -0500, Jon Smirl wrote: >> >> >> Why don't these look like 802.1

Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Dmitry Eremin-Solenikov
On Sat, Jan 09, 2010 at 07:56:19PM -0500, Jon Smirl wrote: > On Sat, Jan 9, 2010 at 7:29 PM, Dmitry Eremin-Solenikov > wrote: > > On Sat, Jan 09, 2010 at 07:25:23PM -0500, Jon Smirl wrote: > >> >> Why don't these look like 802.15.4 packets in wireshark? > >> > > >> > Do you use our patched wiresha

Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Jon Smirl
On Sat, Jan 9, 2010 at 7:29 PM, Dmitry Eremin-Solenikov wrote: > On Sat, Jan 09, 2010 at 07:25:23PM -0500, Jon Smirl wrote: >> >> Why don't these look like 802.15.4 packets in wireshark? >> > >> > Do you use our patched wireshark? We've had to put some minor code >> > changes there. >> >> Where ar

Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Dmitry Eremin-Solenikov
On Sat, Jan 09, 2010 at 07:07:28PM -0500, Jon Smirl wrote: > I unloaded the modules and repeated everything. It worked correctly this time. Glad to hear this! > Something failed the first time when setting the MAC addresses. > Running wpan1 and wpan2 both with a MAC address of zero messed > every

Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Jon Smirl
>> Why don't these look like 802.15.4 packets in wireshark? > > Do you use our patched wireshark? We've had to put some minor code > changes there. Where are the changes you made, I don't see a diff in the git tree. I already have some patches in my wireshark. I'm able to sniff and decode 802.15.

Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Dmitry Eremin-Solenikov
On Sat, Jan 09, 2010 at 07:25:23PM -0500, Jon Smirl wrote: > >> Why don't these look like 802.15.4 packets in wireshark? > > > > Do you use our patched wireshark? We've had to put some minor code > > changes there. > > Where are the changes you made, I don't see a diff in the git tree. I > already

Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Jon Smirl
I unloaded the modules and repeated everything. It worked correctly this time. Something failed the first time when setting the MAC addresses. Running wpan1 and wpan2 both with a MAC address of zero messed everything up. I may have messed up setting them. iz assoc should probably error out on a MA

Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Dmitry Eremin-Solenikov
On Sat, Jan 09, 2010 at 04:20:11PM -0500, Jon Smirl wrote: > Both of my wpans send back the same address: > > r...@terra:/home/apps/linux-zigbee/src# iz assoc wpan1 777 1 11 short > Received short address 8001, status 00 > r...@terra:/home/apps/linux-zigbee/src# iz assoc wpan2 777 1 11 short > Rec

Re: [Linux-zigbee-devel] new getting started

2010-01-09 Thread Jon Smirl
On Sat, Jan 9, 2010 at 4:20 PM, Jon Smirl wrote: > Both of my wpans send back the same address: > > r...@terra:/home/apps/linux-zigbee/src# iz assoc wpan1 777 1 11 short > Received short address 8001, status 00 > r...@terra:/home/apps/linux-zigbee/src# iz assoc wpan2 777 1 11 short > Received shor

[Linux-zigbee-devel] new getting started

2010-01-09 Thread Jon Smirl
Both of my wpans send back the same address: r...@terra:/home/apps/linux-zigbee/src# iz assoc wpan1 777 1 11 short Received short address 8001, status 00 r...@terra:/home/apps/linux-zigbee/src# iz assoc wpan2 777 1 11 short Received short address 8001, status 00 Missing a '4' here... echo 1 > /sy

Re: [Linux-zigbee-devel] Detaching and restarting serial PHY module

2010-01-09 Thread Peter McCormick
To answer my own question, I realized that the original "izattach /dev/tty*" process had backgrounded itself, so killing that released the serial-based PHY resources, and let me rmmod / modprobe serial and izattach again. Thanks for all the efforts on this stack! On 10-01-09 01:30 PM, Pete

Re: [Linux-zigbee-devel] Detaching and restarting serial PHY module

2010-01-09 Thread Dmitry Eremin-Solenikov
Hello, On Sat, Jan 09, 2010 at 01:30:46PM -0500, Peter McCormick wrote: > Hello all, > > I have implemented a microcontroller firmware of the serial PHY protocol > for the PIC24 and Microchip's MRF24J40 transceiver. However, at times > when debugging that code, I've needed to restart the > iee

[Linux-zigbee-devel] Detaching and restarting serial PHY module

2010-01-09 Thread Peter McCormick
Hello all, I have implemented a microcontroller firmware of the serial PHY protocol for the PIC24 and Microchip's MRF24J40 transceiver. However, at times when debugging that code, I've needed to restart the ieee802154/serial.ko module, but I cannot 'detach' the line discipline, in order to res