Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: d32comm.h

Configuration constants

Support

Supported from 5.0


Parity error control constants


KConfigParityErrorFail

const TUint KConfigParityErrorFail

Description

When a character containing a parity error is received complete any pending read operation with a KErrCommsParity error.


KConfigParityErrorIgnore

const TUint KConfigParityErrorIgnore

Description

Ignore parity errors. The character containing an error will be discarded.


KConfigParityErrorReplaceChar

const TUint KConfigParityErrorReplaceChar

Description

Replace and character received with a parity error with the character specified in iParityErrorChar.


KConfigXonXoffDebug

const TUint KConfigXonXoffDebug

Description

This is not a parity option at all, but an internal developmental debugging control which forces the high water mark for XON/XOFF handshaking, at which point XOFF characters are sent, to be 5 bytes below 50% level instead the usual 75% level.

[Top]


Handshaking bitmasks constants

Description

The values that TCommConfigV01::iHandshake may take while in DTE role are as follows:


KConfigObeyXoff

const TUint KConfigObeyXoff

Description

Obey incoming XON and XOFF characters as specified in iXOnChar and iXOffChar


KConfigObeyDSR

const TUint KConfigObeyDSR

Description

Obey the input DSR control line


KConfigObeyDCD

const TUint KConfigObeyDCD

Description

Obey the input DCD control line


KConfigObeyCTS

const TUint KConfigObeyCTS

Description

Obey the input CTS Signal


KConfigSendXoff

const TUint KConfigSendXoff

Description

Send XON and XOFF characters as specified in iXOnCharandiXOffChar


KConfigFreeRTS

const TUint KConfigFreeRTS

Description

The output RTS line should not be controlled by the driver


KConfigFreeDTR

const TUint KConfigFreeDTR

Description

The output DTR line should not be controlled by the driver


KConfigFailDSR

const TUint KConfigFailDSR

Description

Complete any pending operations. KErrLineFail if the DSR input ever goes low


KConfigFailDCD

const TUint KConfigFailDCD

Description

Complete any pending operations. KErrLineFail if the DCD input ever goes low


KConfigFailCTS

const TUint KConfigFailCTS

Description

Complete any pending operations. KErrLineFail if the CTS input ever goes low


KConfigWriteBufferedComplete

const TUint KConfigWriteBufferedComplete

Description

Complete any write operations as soon as the data has been placed in the output buffer instead of waiting until it has left the transmitter

[Top]


DCE role handshaking constants

Description

The values that TCommConfigV01::iHandshake may take while in DCE role are as follows:


KConfigObeyDTR

const TUint KConfigObeyDTR

Description

Obey the input DTR line.


KConfigFailDTR

const TUint KConfigFailDTR

Description

Complete any pending operations if DTR goes low.


KConfigObeyRTS

const TUint KConfigObeyRTS

Description

Obey the input RTS line.


KConfigFailRTS

const TUint KConfigFailRTS

Support

Supported from 5.0

Description

Complete any pending operations if RTS goes low.


KConfigFreeDSR

const TUint KConfigFreeDSR

Description

The output DSR line should not be controlled by the driver.


KConfigFreeCTS

const TUint KConfigFreeCTS

Description

The output CTS line should not be controlled by the driver.


KConfigFreeDCD

const TUint KConfigFreeDCD

Description

The output DCD line should not be controlled by the driver.


KConfigFreeRI

const TUint KConfigFreeRI

Description

The output RI line should not be controlled by the driver.

[Top]


Signal line constants

Description

The following constants are defined in d32comm.h. Note:


KSignalCTS

const TUint KSignalCTS

Description

Input CTS line


KSignalDSR

const TUint KSignalDSR

Description

Input DSR line


KSignalDCD

const TUint KSignalDCD

Description

Input DCD line


KSignalRNG

const TUint KSignalRNG

Description

Ring Indicator Input line


KSignalRTS

const TUint KSignalRTS

Description

Output RTS line


KSignalDTR

const TUint KSignalDTR

Description

Output DTR line


KSignalDTEOutputs

const TUint KSignalDTEOutputs

Support

Supported from 6.0

Description

DTE outputs: KSignalRTS|KSignalDTR


KSignalDTEInputs

const TUint KSignalDTEInputs

Support

Supported from 6.0

Description

DTE inputs:KSignalCTS|KSignalDSR|KSignalDCD|KSignalRNG


KSignalDCEInputs

const TUint KSignalDCEInputs

Support

Supported from 6.0

Description

DCE inputs: KSignalDTEOutputs


KSignalDCEOutputs

const TUint KSignalDCEOutputs

Support

Supported from 6.0

Description

DTE outputs: KSignalDTEInputs

[Top]


Serial infra-red settings constants

Description

The following constants are defined in d32comm.h.


KConfigSIRPulseWidthMaximum

const TUint KConfigSIRPulseWidthMaximum

Description

On infra-red hardware that supports high and low pulse widths, selects the high width


KConfigSIRPulseWidthMinimum

const TUint KConfigSIRPulseWidthMinimum

Description

On infra-red hardware that supports high and low pulse widths, selects the low width

[Top]


Terminators constant

Description

The following constant is defined in d32comm.h.


KConfigMaxTerminators

const TUint KConfigMaxTerminators

Description

Maximum number of significant terminators (4)