Ok,  :-) , I can "izchat" from linux boxes over WPC media, using two 
WPCDevKit.
For information you can see below commands i had to use to do that.

Thanks for your work and help.

But i still have some questions :

1) Did you have a look, in in kernel driver "serial.c", to the problem : 
"#define STATUS_WAIT -1" should be 255 because of u8 type of dev->status ?
2) Is it possible to activate CRC appending/validation (if implemented) 
from "izchat.c" source code or elsewhere (command) ? By the way how to 
activate AACK mode ?
3) I still work with a snapshot of kernel. Could you give me the right 
URL to git-clone 'Devel' branch rather than 'Master' ?
4) Is there any project to extend 'serial' driver (ie. to configure and 
use MAC services from transceivers...)  or is it just a 'devel' demo ?
5) A I saw, it seems that 'xmit' aborts if CCA is KO. Is there any CSMA 
algorithm implemented in current MAC layer ?

Best regards

Pierre-emmanuel

=======================================================================

Here are commands to be issued to be able to chat across wpc media with 
Serial Linux-Zigbee firmware on WPC15.4  DevKits :
Notice that i had to make a mix between the 0.1 distribution of 
user-space tools (for izconfig which is not available by git-clone)
and a git-clone of user space tools.

boot linux-zigbee kernel ...

./izattach /dev/ttyUSB0 "That create 'mwpan1' "
./izattach /dev/ttyUSB1 "'mwpan2' "

ip link add link mwpan1 name wpan1 type wpan
ip link add link mwpan2 name wpan2 type wpan

izconfig wpan1  hw 01:01:01:01:01:01:01:01 "Not mandatory"
izconfig wpan2  hw 02:02:02:02:02:02:02:02 "Not mandatory"

izconfig wpan1 short 01:01
izconfig wpan2 short 01:02

ifconfig wpan1 up
ifconfig wpan2 up

./izchat  01 01 02
./izchat  01 02 01

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to