serialdriverext.h File Reference

Detailed Description

The interface of the serial driver stuff for users of the serial driver library - not users of the class itself.

Typedef SerialServer

typedef TAny *SerialServer

Typedef SerialPort

typedef TAny *SerialPort

OpenSerialServerL ( void )

IMPORT_C SerialServerOpenSerialServerL(void)

CloseSerialServer ( SerialServer )

IMPORT_C voidCloseSerialServer(SerialServeraServer)

OpenSerialPortL ( SerialServer, TUint )

IMPORT_C SerialPortOpenSerialPortL(SerialServeraServer,
TUintaPort
)

CloseSerialPort ( SerialPort )

IMPORT_C TBoolCloseSerialPort(SerialPortaPort)

Read ( SerialPort, TRequestStatus &, TTimeIntervalMicroSeconds32, TDes8 &, TInt )

IMPORT_C TBoolRead(SerialPortaPort,
TRequestStatus &aStatus,
TTimeIntervalMicroSeconds32aTimeout,
TDes8 &aDes,
TIntaLength
)

Write ( SerialPort, TRequestStatus &, TTimeIntervalMicroSeconds32, const TDesC8 &, TInt )

IMPORT_C TBoolWrite(SerialPortaPort,
TRequestStatus &aStatus,
TTimeIntervalMicroSeconds32aTimeout,
const TDesC8 &aDes,
TIntaLength
)

SetConfig ( SerialPort, const TCommConfig & )

IMPORT_C TIntSetConfig(SerialPortaPort,
const TCommConfig &aRequiredConfig
)

GetPortConfig ( SerialPort, TCommConfig & )

IMPORT_C TBoolGetPortConfig(SerialPortaPort,
TCommConfig &config
)

ReadCancel ( SerialPort )

IMPORT_C TBoolReadCancel(SerialPortaPort)

WriteCancel ( SerialPort )

IMPORT_C TBoolWriteCancel(SerialPortaPort)

SetReceiveBufferLength ( SerialPort, TInt )

IMPORT_C TBoolSetReceiveBufferLength(SerialPortaPort,
TIntaSize
)

ReceiveBufferLength ( SerialPort, TInt & )

IMPORT_C TBoolReceiveBufferLength(SerialPortaPort,
TInt &aSize
)

Typedef TLibOpenSerialServerL

typedef SerialServer(*TLibOpenSerialServerL

Typedef TLibCloseSerialServer

typedef void(*TLibCloseSerialServer

Typedef TLibOpenSerialPortL

typedef SerialPort(*TLibOpenSerialPortL

Typedef TLibCloseSerialPort

typedef TBool(*TLibCloseSerialPort

Typedef TLibRead

typedef TBool(*TLibRead

Typedef TLibWrite

typedef TBool(*TLibWrite

Typedef TLibSetConfig

typedef TInt(*TLibSetConfig

Typedef TLibReadCancel

typedef TBool(*TLibReadCancel

Typedef TLibWriteCancel

typedef TBool(*TLibWriteCancel

Typedef TLibSetReceiveBufferLength

typedef TBool(*TLibSetReceiveBufferLength

Typedef TLibReceiveBufferLength

typedef TBool(*TLibReceiveBufferLength