Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: c32comm.h

Class TSerialInfo

class TSerialInfo;

Description

Describes a serial protocol's general capabilities.

Used by RCommServ::GetPortInfo to retrieve information about the comm ports and the CSY.

Notes:

1. The lowest port need not necessarily be numbered zero.

2. At least one port is always guaranteed.

3. The full name of the serial port (used when opening it) consists of the name returned by TSerialInfo (the Port Prefix), followed by a double colon separator, followed by the unit number (port number) as an ASCII number (for instance COMM::0).

Members

Defined in TSerialInfo:
iDescription, iHighUnit, iLowUnit, iName


Member data


iDescription

TPortDescription iDescription;

Description

description of the port (CSY)

Description of the CSY meant only for human reading. It can be up to KMaxPortDescription (48) characters long.


iName

TPortName iName;

Description

name of the port

The short name of the port (Port Prefix). This is used in calls to RComm::Open(). It can be up to KMaxPortName (i.e. 16) characters long.


iLowUnit

TUint iLowUnit;

Description

The lowest port number supported by the serial module.


iHighUnit

TUint iHighUnit;

Description

the highest port number supported by the serial module