cs_port.h File Reference

Detailed Description

defines the classes CPort and CSerial. This file should be included by the CSY

KDeltaTimerInterval

const TIntKDeltaTimerInterval

Delta timer interval

KUidUnicodeCommServerModuleV02

const TIntKUidUnicodeCommServerModuleV02

The UID for the CSY

Enum TInternalCommAccess

Defines the internal port access mode.

EnumeratorValueDescription
EIntCommExclusive0

Exclusive mode. Must be first

EIntCommShared1

Shared mode. Must be second

EIntCommPreemptable2

Preemptable mode. Must be third

EIntCommWaitUntilAvailable3

Wait until the port is closed

iBreakOwner

Typedef TSerialNewL

typedef CSerial *(*TSerialNewL

This typedef defines the form of the ordinal-1 entry point function to a serial protocol module. The function should create and return a concrete CSerial-derived class, which will then be used by the comms server.

Each serial protocol module should only ever create a single serial protocol factory object. If the entry point is called twice without the first factory object being destroyed, this function should leave with KErrGeneral.