At 1:54 PM -0500 2000/01/30, Noah J. Ternullo wrote:
>Oh, OK. Good sanity check then, but it begs the question, how does one
>directly access the Ir serial port (without the use of the IrDA
>stack) without the new serial manager calls? How was it done before the
>new serial manager? Is there a port number I can specify in the old
>serOpen call (even in PalmOS3.3 or higher) which would allow this?
If you just want to redirect the DragonBall UART from the cradle port to the IR port
with no protocol intervention whatsoever, use the serCtlIrScanningOn and
serCtlIrScanningOff serial control calls after opening the port. This should work with
both the new serial manager and the old serial manager, back to Palm OS 3.0 if memory
serves.
serCtlIrScanningOn basically just turns off the cradle port line driver, turns on the
IR port driver, and switches the UART into IR encoding mode. serCtlIrScanningOff
reverses all that.
If you want to use the IR port for things like remote control of audio-visual devices,
then you'll have to go a level deeper and bit-bang the DragonBall hardware registers
directly. I know of no audio-visual IR remote controls that use standard FM-style UART
bit encodings.
Regards,
Jim Schram
3Com/Palm Computing
Partner Engineering
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html