On Wed, Oct 24, 2001 at 02:19:20PM -0400, Aaron Longfield wrote:
> Hi,
>
> Had a few question about Linux/IrDA.
>
> I'm working with the stack from 2.2.17 right now,
I forgot about that one.
> 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.
> What do other people see and what should expect out
> of the 4Mbps FIR mode?
NSC-FIR + IrNET : around 3Mb/s
USB dongle + IrNET : around 1.5 Mb/s
> Also, is this better in 2.2.19 or on 2.4.x?
I don't know, I don't use 2.2.X.
> Does anyone have suggestions for how to distinguish between a PalmOS
> platform and a WinCE/PocketPC platform? Everything I've looked at has
> them looking the same.
Query IAS or check hint bits.
> What does all the fields in irdadump mean? Specifically "xid:cmd"...
Discovery frames. You really need to check the IrDA specs.
> Is there a limitation on the max size of an Ir packet?
2048 bytes at the LAP layer. But, at 9600 kb/s, the IrLAP
packets have to be smaller.
On the other hand, if you use a regular IrDA socket
(stream/seqpacket), it will do fragmentation+reassembly for you
(i.e. split your data in valid IrLAP packets), so you should not have
to care about packet sizes.
Ultra socket is limited to 380 bytes.
Obex uses 1024 byte packets, and IrNET and IrLAN use 1472 byte
packets, but all those have their own frag/reassembly procedure. I
don't know about IrComm.
> 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.
> Thanks,
> -Aaron
Regards,
Jean
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda