ir_sock.h File Reference

KIrdaAddrFamily

const TUintKIrdaAddrFamily

IrDA protocol family.

KIrmux

const TUintKIrmux

IrMUX protocol within the IrDA protocol family.

KIrTinyTP

const TUintKIrTinyTP

IrTinyTP protocol within the IrDA protocol family..

KAutoBindLSAP

const TUintKAutoBindLSAP

An invalid LSAP number--binding to this will select the first unused LSAP.

KIrdaPropertyCategory

const TUidKIrdaPropertyCategory

Category used when publishing IrDA status notifications.

KIrdaStatus

const TUintKIrdaStatus

Key used when publishing IrDA status notifications.

KIrPnPMask

const TUint8KIrPnPMask

PnP support- first service hint byte.

KPalmtopMask

const TUint8KPalmtopMask

PDA/Palmtop - first service hint byte.

KComputerMask

const TUint8KComputerMask

Computer - first service hint byte.

KPrinterMask

const TUint8KPrinterMask

Printer - first service hint byte.

KModemMask

const TUint8KModemMask

IrModem - first service hint byte.

KFaxMask

const TUint8KFaxMask

Fax - first service hint byte.

KLANAccessMask

const TUint8KLANAccessMask

LAN Access - first service hint byte.

KExtensionMask

const TUint8KExtensionMask

Extension bit - first service hint byte.

KTelephonyMask

const TUint8KTelephonyMask

Telephony - second service hint byte.

KFileServerMask

const TUint8KFileServerMask

File Server - second service hint byte.

KIrCommMask

const TUint8KIrCommMask

IrCOMM support - second service hint byte.

KIrObexMask

const TUint8KIrObexMask

IrOBEX support - second service hint byte.

KDiscoveryIndicationIoctl

const TUintKDiscoveryIndicationIoctl

Completes on receipt of a discovery indication.

Returns log entry in a TNameEntry.

Ioctl level : KIrdaAddrFamily

KExclusiveModeIoctl

const TUintKExclusiveModeIoctl

Completes on successfully making RSocket EXCLUSIVE else returns error.

Completes successfully or returns KErrDisconnected if failed.

Ioctl level: KIrdaAddrFamily

KMultiplexModeIoctl

const TUintKMultiplexModeIoctl

Completes on successfully making RSocket MULTIPLEXED else returns error.

Completes successfully or returns KErrDisconnected if failed.

Ioctl level: KIrdaAddrFamily

KIrmuxStatusRequestIoctl

const TUintKIrmuxStatusRequestIoctl

Completes on doing a status request on IrMUX layer packets to send.

Returns TDes8* holding TUint indicating number of outstanding MUX data requests.

Ioctl level: KIrdaAddrFamily

KIrlapStatusRequestIoctl

const TUintKIrlapStatusRequestIoctl

Completes on doing a status request on IrLAP layer packets to send.

Returns TDes8* holding TUint indicating the number of outstanding LAP data requests.

Ioctl level: KIrdaAddrFamily

KIdleRequestIoctl

const TUintKIdleRequestIoctl

Completes on successfully putting RSocket into IDLE mode.

Completes successfully or returns KErrAbort if failed.

Ioctl level: KIrdaAddrFamily

KIdleClearRequestIoctl

const TUintKIdleClearRequestIoctl

Completes on successfully taking RSocket out of IDLE mode.

Completes successfully or returns KErrAbort if failed.

Ioctl level: KIrdaAddrFamily

KDisconnectIndicationIoctl

const TUintKDisconnectIndicationIoctl

Completes on receipt of an IrLAP disconnect indication.

Completes successfully on IrLAP or IrMUX disconnect on this connection.

Ioctl level: KIrdaAddrFamily

KIrlapStatusIndicationIoctl

const TUintKIrlapStatusIndicationIoctl

Completes on doing a status request on IrLAP layer packets to send.

Returns TDes8* holding TUint indicating the number of outstanding LAP data requests.

Ioctl level: KIrdaAddrFamily

KIrmuxStatusIndicationIoctl

const TUintKIrmuxStatusIndicationIoctl

Completes on receiving a status indication from IrLAP.

Returns TDes8* holding TUint indicating the number of outstanding MUX data requests.

Ioctl level: KIrdaAddrFamily

KIrlapResetRequestIoctl

const TUintKIrlapResetRequestIoctl

Completes on doing an IrLAP link reset.

Does an SNRMP-UAF link reset which can be initiated from either primary or secondary.

Ioctl level: KIrdaAddrFamily

KIrlapResetIndicationIoctl

const TUintKIrlapResetIndicationIoctl

Completes on receipt of an IrLAP link reset indication.

Completes with error value KErrNone if link is successfully reset.

Ioctl level: KIrdaAddrFamily

KIrlapDisconnectRequestIoctl

const TUintKIrlapDisconnectRequestIoctl

Completes on doing an IrLAP link reset.

Does a DISCP-UAF link disconnect which can be initiated from either primary or secondary.

Ioctl level: KIrdaAddrFamily

KExclusiveMode

const TUintKExclusiveMode

KMultiplexMode

const TUintKMultiplexMode

KUnexpeditedDataOpt

const TUintKUnexpeditedDataOpt

KLevelIrlap.

Sets transfer mode to be unexpedited (the default).

Not recommended for use with SetOpt(). Preferred use is with RSocket::Send()

Returns KErrNone

KExpeditedDataOpt

const TUintKExpeditedDataOpt

KLevelIrlap

Sets transfer mode to be expedited (urgent).

Not recommended for use with SetOpt(). Preferred use is with RSocket::Send()

Returns KErrNone

KDiscoverySlotsOpt

const TUintKDiscoverySlotsOpt

KLevelIrlap

Sets number of discovery slots.

Returns KErrNone

KUserBaudOpt

const TUintKUserBaudOpt

KLevelIrlap

Sets the requested maximum link baud rate.

Returns KErrInUse, if the link is already running.

Returns with the currently set maximum link baud supported.

KHostMaxDataSizeOpt

const TUintKHostMaxDataSizeOpt

KLevelIrlap

Sets the requested maximum data packet size that can be received by the host.

Returns KErrInUse, if the link is already running.

Returns with the currently set value for the maximum receivable data size of the host IrLAP layer.

KRemoteMaxDataSizeOpt

const TUintKRemoteMaxDataSizeOpt

KLevelIrlap

Returns KErrNotSupported.

Cannot set this value for the remote station.

Returns with the currently set value for the maximum transmissible data size to remote IrLAP layer.

KHostMaxTATimeOpt

const TUintKHostMaxTATimeOpt

KLevelIrlap

Set the maximum link turnaround time for the host IrLAP layer.

Returns KErrInUse, if the link is already running.

Returns with the currently set value for the host link turnaround time

KIrlapDisableResetOpt

const TUintKIrlapDisableResetOpt

KLevelIrlap

Disables IrLAP level reset_check/wait states

KLocalBusyDetectedOpt

const TUintKLocalBusyDetectedOpt

KLevelIrlap

Allows the client to set local busy in IrLAP.

KLocalBusyClearedOpt

const TUintKLocalBusyClearedOpt

KLevelIrlap

Allows the client to clear local busy in IrLAP

KDiscoveryResponseDisableOpt

const TUintKDiscoveryResponseDisableOpt

KLevelIrlap

Disables discovery response for a short period (typically 3 seconds).

KFirstHintByteOpt

const TUintKFirstHintByteOpt

KLevelIrlap

Sets the host's first service hint byte used in XID frames.

Retrieves the first hint byte.

KSecondHintByteOpt

const TUintKSecondHintByteOpt

KLevelIrlap

Sets the host's second service hint byte used in XID frames.

Retrieves the second hint byte

KTinyTPLocalSegSizeOpt

const TUintKTinyTPLocalSegSizeOpt

KLevelIrmux

Turns on transport layer segmentation with the segment size specified. This value is advertised to the remote machine as the maximum amount of data we can reassemble.

Returns KErrNone

KTinyTPRemoteSegSizeOpt

const TUintKTinyTPRemoteSegSizeOpt

KLevelIrmux

Queries the remote machine's segment size. The remote machine is unable to assemble more data than this.

Returns the remote machine's segment size.

KTinyTPDisabledSegmentation

const TUintKTinyTPDisabledSegmentation

Disables TinyTP reassembly of segmented packets.

KTinyTPDiasbledSegmentation

const TUintKTinyTPDiasbledSegmentation

DeprecatedDisables TinyTP reassembly of segmented packets.

KIrdaInternalOption

const TUintKIrdaInternalOption

KTinyTPSetMaxBufferSpace

const TUintKTinyTPSetMaxBufferSpace

KLevelIrlap

const TUintKLevelIrlap

The option relates to IrLAP.

KLevelIrmux

const TUintKLevelIrmux

The option relates to IrMUX.

KIASClassNameMax

const TUintKIASClassNameMax

The maximum length of a class name in an IAS entry.

KIASAttributeNameMax

const TUintKIASAttributeNameMax

The maximum length of an attribute in an IAS entry.

KMaxQueryStringLength

const TUintKMaxQueryStringLength

The maximum length of a TIASQuery descriptor.

Enum TIASDataType

An enumeration whose enumerators define the type of response received from an Information Access Service (IAS) query.

See also: TIASResponse

EnumeratorValueDescription
EIASDataMissing0

No response type defined.

EIASDataInteger1

The response type is an integer.

EIASDataOctetSequence2

The response type is binary data.

EIASDataUserString3

The response type is a string.

Enum TIASCharSet

The character set encoding of the character string response from an IAS query.

See also: TIASResponse::GetCharString() TIrdaSockAddr::GetCharacterSet()

EnumeratorValueDescription
EIASCharSetUserStringASCII0x00

String is standard ASCII.

EIASCharSetUserStringISO_8859_10x01

String is ISO Latin-1.

EIASCharSetUserStringISO_8859_20x02

String is ISO Latin-2.

EIASCharSetUserStringISO_8859_30x03

String is ISO Latin-3.

EIASCharSetUserStringISO_8859_40x04

String is ISO Latin-4.

EIASCharSetUserStringISO_8859_50x05

String is ISO-8859-5 (Cyrillic).

EIASCharSetUserStringISO_8859_60x06

String is ISO-8859-6 (Arabic).

EIASCharSetUserStringISO_8859_70x07

String is ISO-8859-7 (Greek).

EIASCharSetUserStringISO_8859_80x08

String is ISO-8859-8 (Hebrew).

EIASCharSetUserStringISO_8859_90x09

String is ISO Latin-5.

EIASCharSetUserStringUnicode0xFF

String is UNICODE.