On Wed, Oct 24, 2001 at 04:00:11PM -0400, Aaron Longfield wrote:
> //> and I was wondering what
> //> kind of speeds I should be getting. Right now, I'm at 115200 SIR, but I
> //> only see maybe 3kbps.
> //
> // It depend what higher layer protocol you are using. With
> //IrNET, I get around 50kb/s (uncompressed), but IrNET is quite
> //efficient compared to some other protocols.
> // Dag also mentionned something about FastRR configuration option.
>
> I have FastRR enabled, and am using IrOBEX to a PalmOS device. This is
> running on top of a AF_IRDA socket opened as SOCK_STREAM. Sender is a
> serial port dongle (ESI) running in SIR mode. The serial hardware is
> capable of MIR speeds, though.
Obex is pretty slow, because it uses only 1024 max packet size
and send only 1 packet per window (instead of 7). If you were to hack
OpenObex to use 14000 bytes max packet size (and assuming the Palm
would accept that), it would be faster.
But overall, Obex was not designed for speed, so don't expect
miracles.
> //> I'm having trouble
> //> sending anything bigger than about 512 bytes. If this is a parameter of
> //> some type in the stack, where should look? I haven't found anything in
> //> there so far.
> //
> // You don't say how you are sending the data. Also, I'm not sure
> //of what is on the other side of the IrDA link.
>
> Data is sent IrOBEX using sockets (as above) to a PalmOS device. The
> Linux side is a x86 based machine.
I do 1024 bytes without any trouble to a Palm with our own
implementation of Obex on the Palm. So, the bug is likely in the
default Obex library of the Palm (which is crap anyway).
Maybe you want to try the Palm Obex stuff available at
www.cooltown.com/dev (in the CVS).
> -Aaron
Jean
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda