ir_sock.h File Reference

const TUint KIrdaAddrFamily

const TUint KIrdaAddrFamily

IrDA protocol family.

const TUint KIrmux

const TUint KIrmux

IrMUX protocol within the IrDA protocol family.

const TUint KIrTinyTP

const TUint KIrTinyTP

IrTinyTP protocol within the IrDA protocol family..

const TUint KAutoBindLSAP

const TUint KAutoBindLSAP

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

const TUid KIrdaPropertyCategory

const TUid KIrdaPropertyCategory

Category used when publishing IrDA status notifications.

const TUint KIrdaStatus

const TUint KIrdaStatus

Key used when publishing IrDA status notifications.

const TUint8 KIrPnPMask

const TUint8 KIrPnPMask

PnP support - first service hint byte.

const TUint8 KPalmtopMask

const TUint8 KPalmtopMask

PDA/Palmtop - first service hint byte.

const TUint8 KComputerMask

const TUint8 KComputerMask

Computer - first service hint byte.

const TUint8 KPrinterMask

const TUint8 KPrinterMask

Printer - first service hint byte.

const TUint8 KModemMask

const TUint8 KModemMask

IrModem - first service hint byte.

const TUint8 KFaxMask

const TUint8 KFaxMask

Fax - first service hint byte.

const TUint8 KLANAccessMask

const TUint8 KLANAccessMask

LAN Access - first service hint byte.

const TUint8 KExtensionMask

const TUint8 KExtensionMask

Extension bit - first service hint byte.

const TUint8 KTelephonyMask

const TUint8 KTelephonyMask

Telephony - second service hint byte.

const TUint8 KFileServerMask

const TUint8 KFileServerMask

File Server - second service hint byte.

const TUint8 KIrCommMask

const TUint8 KIrCommMask

IrCOMM support - second service hint byte.

const TUint8 KIrObexMask

const TUint8 KIrObexMask

IrOBEX support - second service hint byte.

const TUint KDiscoveryIndicationIoctl

const TUint KDiscoveryIndicationIoctl

Completes on receipt of a discovery indication.

Returns log entry in a TNameEntry.

Ioctl level : KIrdaAddrFamily

const TUint KExclusiveModeIoctl

const TUint KExclusiveModeIoctl

Completes on successfully making RSocket EXCLUSIVE else returns error.

Completes successfully or returns KErrDisconnected if failed.

Ioctl level: KIrdaAddrFamily

const TUint KMultiplexModeIoctl

const TUint KMultiplexModeIoctl

Completes on successfully making RSocket MULTIPLEXED else returns error.

Completes successfully or returns KErrDisconnected if failed.

Ioctl level: KIrdaAddrFamily

const TUint KIrmuxStatusRequestIoctl

const TUint KIrmuxStatusRequestIoctl

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

const TUint KIrlapStatusRequestIoctl

const TUint KIrlapStatusRequestIoctl

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

const TUint KIdleRequestIoctl

const TUint KIdleRequestIoctl

Completes on successfully putting RSocket into IDLE mode.

Completes successfully or returns KErrAbort if failed.

Ioctl level: KIrdaAddrFamily

const TUint KIdleClearRequestIoctl

const TUint KIdleClearRequestIoctl

Completes on successfully taking RSocket out of IDLE mode.

Completes successfully or returns KErrAbort if failed.

Ioctl level: KIrdaAddrFamily

const TUint KDisconnectIndicationIoctl

const TUint KDisconnectIndicationIoctl

Completes on receipt of an IrLAP disconnect indication.

Completes successfully on IrLAP or IrMUX disconnect on this connection.

Ioctl level: KIrdaAddrFamily

const TUint KIrlapStatusIndicationIoctl

const TUint KIrlapStatusIndicationIoctl

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

const TUint KIrmuxStatusIndicationIoctl

const TUint KIrmuxStatusIndicationIoctl

Completes on receiving a status indication from IrLAP.

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

Ioctl level: KIrdaAddrFamily

const TUint KIrlapResetRequestIoctl

const TUint KIrlapResetRequestIoctl

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

const TUint KIrlapResetIndicationIoctl

const TUint KIrlapResetIndicationIoctl

Completes on receipt of an IrLAP link reset indication.

Completes with error value KErrNone if link is successfully reset.

Ioctl level: KIrdaAddrFamily

const TUint KIrlapDisconnectRequestIoctl

const TUint KIrlapDisconnectRequestIoctl

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

const TUint KExclusiveMode

const TUint KExclusiveMode

const TUint KMultiplexMode

const TUint KMultiplexMode

const TUint KUnexpeditedDataOpt

const TUint KUnexpeditedDataOpt

KLevelIrlap.

Sets transfer mode to be unexpedited (the default).

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

Returns KErrNone

const TUint KExpeditedDataOpt

const TUint KExpeditedDataOpt

KLevelIrlap

Sets transfer mode to be expedited (urgent).

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

Returns KErrNone

const TUint KDiscoverySlotsOpt

const TUint KDiscoverySlotsOpt

KLevelIrlap

Sets number of discovery slots.

Returns KErrNone

const TUint KUserBaudOpt

const TUint KUserBaudOpt

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.

const TUint KHostMaxDataSizeOpt

const TUint KHostMaxDataSizeOpt

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.

const TUint KRemoteMaxDataSizeOpt

const TUint KRemoteMaxDataSizeOpt

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.

const TUint KHostMaxTATimeOpt

const TUint KHostMaxTATimeOpt

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

const TUint KIrlapDisableResetOpt

const TUint KIrlapDisableResetOpt

KLevelIrlap

Disables IrLAP level reset_check/wait states

const TUint KLocalBusyDetectedOpt

const TUint KLocalBusyDetectedOpt

KLevelIrlap

Allows the client to set local busy in IrLAP.

const TUint KLocalBusyClearedOpt

const TUint KLocalBusyClearedOpt

KLevelIrlap

Allows the client to clear local busy in IrLAP

const TUint KDiscoveryResponseDisableOpt

const TUint KDiscoveryResponseDisableOpt

KLevelIrlap

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

const TUint KFirstHintByteOpt

const TUint KFirstHintByteOpt

KLevelIrlap

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

Retrieves the first hint byte.

const TUint KSecondHintByteOpt

const TUint KSecondHintByteOpt

KLevelIrlap

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

Retrieves the second hint byte

const TUint KTinyTPLocalSegSizeOpt

const TUint KTinyTPLocalSegSizeOpt

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

const TUint KTinyTPRemoteSegSizeOpt

const TUint KTinyTPRemoteSegSizeOpt

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.

const TUint KTinyTPDisabledSegmentation

const TUint KTinyTPDisabledSegmentation

Disables TinyTP reassembly of segmented packets.

const TUint KTinyTPDiasbledSegmentation

const TUint KTinyTPDiasbledSegmentation

Disables TinyTP reassembly of segmented packets.

const TUint KIrdaInternalOption

const TUint KIrdaInternalOption

const TUint KTinyTPSetMaxBufferSpace

const TUint KTinyTPSetMaxBufferSpace

const TUint KLevelIrlap

const TUint KLevelIrlap

The option relates to IrLAP.

const TUint KLevelIrmux

const TUint KLevelIrmux

The option relates to IrMUX.

const TUint KIASClassNameMax

const TUint KIASClassNameMax

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

const TUint KIASAttributeNameMax

const TUint KIASAttributeNameMax

The maximum length of an attribute in an IAS entry.

const TUint KMaxQueryStringLength

const TUint KMaxQueryStringLength

The maximum length of a TIASQuery descriptor.