Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: c32comm.h

Struct TCommServerConfigV01

struct TCommServerConfigV01;

Description

Used by the package TCommServerConfig to configure the comm port.

Holds the buffer configuration settings for the comms server.

The comms server copies data between the descriptors provided by the client and the buffers used by the serial port drivers, for each read and write request. There are two methods by which this can be accomplished. Full buffering means that the comms server will always attempt to allocate enough memory to satisfy any reads or writes in a single copy, while partial buffering means that the comms server will allocate a static buffer and use partial copies to transfer data to the serial driver. When a port is opened, the default is full buffering.

Members

Defined in TCommServerConfigV01:
iBufFlags, iBufSize


Member data


iBufFlags

TUint iBufFlags;

Description

contains buffer flags e.g for partial read/write

Buffering option: either KCommBufferFull or KCommBufferPartial


iBufSize

TUint iBufSize;

Description

size of the Tx/Rx buffer

Size of server buffer if partial buffering is being used