[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

TlpConfigureLine

PURPOSE
Select line speed and mode.
PROTOTYPE
Trap: TlpErr TlpConfigureLine (UInt16 refNum, TlpSpeed speed, TlpMode mode)

PARAMETERS
speed IN the new speed to use
mode IN the new mode to use

DESCRIPTION
If the Palm can handle the rate specified with speed, then the reader is told to change its line speed and mode. If the command to the reader is succesfull, then the Palm side is reconfigured too.

The default mode used by this library is ASCII at 9600 bauds.

RETURN CODES
tlpSuccess
Successfull operation.
tlpErrUnknownReaderCommand
Unknow reader command (not a valid command code).
tlpErrUnsupportedSpeed
Line speed or mode not supported.
tlpErrPalmOS
Error from the Palm host (such as a serial or memory error). Call TlpGetLastErr to get the last Palm error code.
tlpErrConversation
Conversation error between the host and the terminal.

SEE ALSO
enum TlpSpeed,
enum TlpMode,
TlpConfigureLinePalm,
TlpOpen.



This document was generated by Alexandre Duret-Lutz on August, 7 2001 using texi2html