On Thu, Aug 2, 2012 at 3:22 PM, Alan Ott <a...@signal11.us> wrote:
>
> I'm currently able to talk between two systems, one system with the
> Econotag and serial.c, and the other system with an MRF24J40 and a
> driver I wrote[3] and am trying to test. I can ping6 between the two
> systems with high reliability, but there seems to be trouble when
> packets are sent too quickly from the Econotag. For example, if I change
> the ping interval (-i) to 0.1, most of the packets get lost.

You might check that the MRF24J40 can keep up; the mc13224v uses DMA
to transmit and can easily swamp most (if not all)
802.15.4 radios.

It looks like the MRF24 has a 144 byte TX fifo; a little more than 1
packet. The default maca.c parameters can keep 32 full packets
buffered. maca.c flushes the TX queue as fast as possible and the duty
ratio is very close to 100% (I don't remember exactly what the turn
around time is for back to back packets, but its very fast). Under
that condition you'd have to make sure you are reading out the data as
fast as it's coming in.

The tests I typically do are with modified versions of rftest-tx and
rx. You can do things like keep the TX queue full of random packets
which will cause them to be transmitted as fast as possible (
guaranteed to take down any 802.15.4 network within 200 ft :) ).  Or
send out bursts when you press spacebar, or whatever you want to test.
You can verify the reception with another econotag. Then try the same
tests with the MRF24 and see how things go.

As for the state of the linux serial driver, there was a patch
recently committed that fixed a bug. It's probably not using the most
recent version of libmc1322x as I have been away from the linux802154
dev for a while now. It shouldn't be too hard to up date the submodule
and test against the latest libmc1322x. The serial link ends up as a
bottle neck unless you set the baudrate to 921600.

-Mar.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to