Hello,

Sorry for the delay, it seems I missed your e-mail.

Pierre-emmanuel Goudet wrote:

> So what I'm currently plugging to the serial (USB/serial in fact) is our
> existing hardware "dongle" USB <=> WPC (power outlet) (WPC15.4 +
> ATmega1281 + FTDI Chip ).

This should work.

> Then i'm working to have as soon as possible (next days ... i hope) a
> firmware on this dongle able to be connected to your "serial driver"
> (according to your driver source code of course). First, I'll use your
> python test-serial tools for firmware validation purpose. Is that ok ?

Yes, it seems to be fine approach.

> When all this will be available i'll be happy to try  some of our
> existing  WPC15.4 devices  ( plugged on power outlet). Some of our
> existing firmwares are able to run a full compliant not beaconed
> 802.15.4-2003 specification (based on an ATmel implementation (Rdk230)).
> For a first try i'd like to :

> -> either make Linux-zigbee act as a Device connected to an existing
> Coord on the powerline,
> -> or make Linux-zigbee act as a Coord for existing Devices onthe
> powerline -> then maybe test a chat over WPC
> (...And what i hope is that the only thing we should have to, is to cope
> with some timing differences ...)

Most probably this won't succeed out-of-box. Linux-zigbee mac802154 is a bit
incompatible w/ standards regarding network association. We miss correct
DATA-request processing and timers for ack/data-response, so we had to simplify
association procedure a bit: Coordinator is expected to answer ASSOC-REQ
directly with ASSOC-RESP w/o waiting for DATA-REQ.

Hope this helps.

The correct implementation of assoc, data-req, etc. is an ongoing topic for me.

> Consequently, what i would like to achieve, is to create the attachement
> "izattach" to my "WPC dongle", then use your tools "iz, izchat". But the
> Wiki "Howto" just talk about "fakelb" using. (Notice that fakelb
> currently does not work for me  :O(  Cf PS1 ...) So how can i find and
> use a newly attached serial device ? If it's possible, what should be
> the <iface> parameter for "iz" and "izchat" softwares  ?

Please see the e-mail I've just sent to this list, describing iz listphy
and ip link add.

However for the current purposes it may be simpler to use just our "0.1"
released sources.

> PS0: At the moment i'm only working with git sources for user-space
> tools and with your your branch "devel", snapshot from 2008/08/12 for my
> Kernel.

Hmm. You may need to either downgrade (to 0.1) or upgrade kernels.
In fact I don't remember what was there at 12th of August :)

> PS2: About
> "linux-zigbee-devel@lists.sourceforge.net"
> How can i keep my following mails in the same thread if they have to ?

Hmmm. I just usually do hit a 'reply' button. What mailer do you use?

> 
> Dmitry Eremin-Solenikov a écrit :
>> Pierre-emmanuel Goudet wrote:
>>
>>
>>> It has been a bit tricky to compile "Userspace tools" but it's done.
>>>
>>> => Many tools where missing on my Lenny: libtool, libnl-dev bison,
>>> flex, pkg-info (maybe i should have look for a developpement
>>> distribution ;O)
>>>     
>>>     
>> Strange. All these tools are present on my lenny box. Maybe we have
>> different Lennies ? :)
>>
>>
>>> => My autoconf is 2.61 and not 2.64, thus URL functionnalitie from
>>> AC_INIT does not exists (i've added an AC_DEFINE) to avoid source code
>>> modification
>>>     
>>>     
>> Fixed, will push in a minute.
>>
>>
>>> => I had to create a "m4" directory under linux-zigbee => Then just a
>>> little mistake in izattach.c that required "argc==3" but there just
>>> one argument to command (SERIAL_DEV) (.. just add a fake argument ...)
>>>     
>>>     
>> Oops... also will push in a minute, thanks.
>>
>>
>>> Ok  my "userspace tools" are now availables".
>>>
>>> But please could you give me a bit more information about the way to
>>> use my serial interface, with your tools (iz, izchat, ...), once
>>> izattach is running ?
>>>     
>>>     
>> Hmmm. What exactly would you like to achieve? We have a page,
>> describing what to do (for the version 0.1 of the stack, not for the
>> current git, unfortunately). Please check
>> http://sourceforge.net/apps/trac/linux-zigbee/wiki/GettingStarted
>>
>>
>>> Notice that i could see that izattach has succedded in making the link
>>> with my serial device ... a tail on /var/log/syslog can show me
>>> received characters: " ... ieee802154_tty_receive 53 69 ..."
>>>     
>>>     
>> What is attached to your serial?
>>
>>
>>   
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register
> now&#33; http://p.sf.net/sfu/devconf





-- 
With best wishes
Dmitry



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
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