John,
Thank you very much, this clue was just what I needed.
The old serial manager works fine on my Visor and my Palm IIIc. It is not
working on the Palm 505 (PalmOS 4.0) though, because serCtlIrDAEnable is no
longer supported. This is at least what the SerControl call tells me.
The new serial manager does not complain about srmCtlIrDAEnable, but it is
appearently not working. I don't think it is a hardware problem with my 505
as IrComm is OK. The new serial manager returns serErrBadParam when I try to
set srmCtlRxEnable. So maybe this is where the problem is.
- Henrik Dalgaard
d. 15/09/01 0:23 skrev Schettino, John p� [EMAIL PROTECTED]:
> I've implemented Ultra-IR as part of the HP open-source coolbase release.
> It's using the old serial manager, but sends/receives without problem using
> raw serial as you are attempting here. It frames data as ultra packets
> (limit of about 380 bytes of data per packet) with error checking per packet
> but no connection/session management (per Ultra specs). That means you don't
> know if a sent packet is received, but the receiver does know that a packet
> is valid (or not) when it comes in.
>
> You could of course just blast data out/read data in and hope for the best
> ;)
>
> The code is at:
> http://devnet.hp.com/projects/coolbase/
>
> or more specifically
> http://devnet.hp.com/cvsweb.php/Esquirt/PalmOS/?cvsroot=coolbase
>
> The source file you want is sir.c.
>
> - John Schettino
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/