Location:
ir_sock.h
A set of masks that identify specific bits within the service hint bytes. Service hint bytes indicate the level of IrLMP support provided by a device
const TUint8 KLANAccessMask
Supported from 6.0
LAN Access — first service hint byte.
const TUint8 KTelephonyMask
Supported from 6.0
Telephony — second service hint byte.
const TUint8 KFileServerMask
Supported from 6.0
File Server — second service hint byte.
A set of constants used to specify an asynchronous control operation on a
socket through RSocket::Ioctl()
.
const TUint KDiscoveryIndicationIoctl
Completes on receipt of a discovery indication.
Returns log entry in a TNameEntry
.
Ioctl level : KIrdaAddrFamily
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
Completes on successfully making RSocket
MULTIPLEXED else
returns error.
Completes successfully or returns KErrDisconnected
if
failed.
Ioctl level: KIrdaAddrFamily
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
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
Completes on successfully putting RSocket
into IDLE
mode.
Completes successfully or returns KErrAbort
if
failed.
Ioctl level: KIrdaAddrFamily
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
Completes on receipt of an IrLAP disconnect indication.
Completes successfully on IrLAP or IrMUX disconnect on this connection.
Ioctl level: KIrdaAddrFamily
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
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
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
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
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
A list of currently supported IrDA options.
They are passed as the second parameter in calls
toRSocket::SetOpt()
andRSocket::GetOpt()
.
const TUint KUnexpeditedDataOpt
KLevelIrlap
.
Sets transfer mode to be unexpedited (the default).
Not recommended for use with SetOpt()
. Preferred use is
withRSocket::Send()
Returns KErrNone
const TUint KExpeditedDataOpt
KLevelIrlap
Sets transfer mode to be expedited (urgent).
Not recommended for use with SetOpt()
. Preferred use is
withRSocket::Send()
Returns KErrNone
const TUint KDiscoverySlotsOpt
KLevelIrlap
Sets number of discovery slots.
Returns KErrNone
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
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
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
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 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
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 KFirstHintByteOpt
KLevelIrlap
Sets the host's first service hint byte used in XID frames.
Retrieves the first hint byte.
const TUint KSecondHintByteOpt
KLevelIrlap
Sets the host's second service hint byte used in XID frames.
Retrieves the second hint byte
const TUint KIrlapDisableResetOpt
Supported from 5.1
KLevelIrlap
Disables IrLAP level reset_check/wait states
const TUint KLocalBusyDetectedOpt
Supported from 5.1
KLevelIrlap
Allows the client to set local busy in IrLAP.
const TUint KLocalBusyClearedOpt
Supported from 5.1
KLevelIrlap
Allows the client to clear local busy in IrLAP
const TUint KEnableMinTASpinLocksOpt
Supported from 5.1
Withdrawn in 6.0
KLevelIrlap
Sets the IrLAP state machine into operating spin loops to guarantee minimum turnaround times to remote devices.
By default, looping is always OFF.
KDiscoveryResponseDisableOpt
Supported from 6.0
KLevelIrlap
Disables discovery response for a short period (typically 3 seconds).
const TUint KMaxQueryStringLength
The maximum length of
aTIASQuery
descriptor.