Pierre-emmanuel Goudet wrote: > 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.
Nice :))) > > 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 Yep, that looks like a problem, thank you. > ? 2) Is it possible to activate CRC appending/validation (if > implemented) from "izchat.c" source code or elsewhere (command) ? This should be done automagically. If you specify IEEE802154_HW_OMIT_CKSUM, in your device flags, linux assumes that the device generates/validates CRC on your own. > By the way how to activate AACK mode ? Not implemented yet. > 3) I still work with a snapshot of kernel. Could you give me the right > URL to git-clone 'Devel' branch rather than 'Master' ? on the cloned tree: git checkout -b devel origin/devel > 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 ? I do plan to devel/implement the next version of serial protocol that will support at least AACK (and in the hope I'd also like for it to support beacons/slots) > 5) A I saw, it > seems that 'xmit' aborts if CCA is KO. Is there any CSMA algorithm > implemented in current MAC layer ? No. Moreover CCA calls in serial.c is a leftover. In future the kernel should just tell device to transmit (right now w/o CCA, right now w/ CCA, in the slot #3, in the GTS 2, on the UWB using ALOHA, etc.). All kinds of 'wait for #random BE periods and then redo CCA' should be handled in the FW of the device. We have a subproject that tries to implement some kinds of necessary algos using realtime extension for Linux, but it's low priority task. -- With best wishes Dmitry ------------------------------------------------------------------------------ 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