Location:
ir_sock.h
Link against: irda.lib
TIrdaSockAddr
Supported from 5.0
An IrDA socket address.
|
Defined in TIrdaSockAddr:
Cast(), GetCharacterSet(), GetFirstServiceHintByte(), GetHostDevAddr(), GetIrlapVersion(), GetRemoteDevAddr(), GetSecondServiceHintByte(), GetServiceHintByteCount(), GetSniffStatus(), GetSolicitedStatus(), SetCharacterSet(), SetFirstServiceHintByte(), SetHostDevAddr(), SetIrlapVersion(), SetRemoteDevAddr(), SetSecondServiceHintByte(), SetServiceHintByteCount(), SetSniffStatus(), SetSolicitedStatus(), TIrdaSockAddr()
Inherited from TBuf8:
operator=()
Inherited from TDes8:
Append(),
AppendFill(),
AppendFormat(),
AppendFormatList(),
AppendJustify(),
AppendNum(),
AppendNumFixedWidth(),
AppendNumFixedWidthUC(),
AppendNumUC(),
Capitalize(),
Collate(),
Copy(),
CopyC(),
CopyCP(),
CopyF(),
CopyLC(),
CopyUC(),
Delete(),
Fill(),
FillZ(),
Fold(),
Format(),
FormatList(),
Insert(),
Justify(),
LowerCase(),
MaxLength(),
MaxSize(),
Num(),
NumFixedWidth(),
NumFixedWidthUC(),
NumUC(),
PtrZ(),
Repeat(),
Replace(),
SetLength(),
SetMax(),
Swap(),
Trim(),
TrimAll(),
TrimLeft(),
TrimRight(),
UpperCase(),
Zero(),
ZeroTerminate(),
operator+=(),
operator=,
operator[]()
Inherited from TDesC8:
Alloc(),
AllocL(),
AllocLC(),
Compare(),
CompareC(),
CompareF(),
Find(),
FindC(),
FindF(),
Left(),
Length(),
Locate(),
LocateF(),
LocateReverse(),
LocateReverseF(),
Match(),
MatchC(),
MatchF(),
Mid(),
Ptr(),
Right(),
Size(),
operator!=(),
operator<(),
operator<=(),
operator==(),
operator>(),
operator>=()
Inherited from TSockAddr:
CmpPort(),
Family(),
GetUserLen(),
Port(),
SetFamily(),
SetPort(),
SetUserLen(),
UserPtr()
TIrdaSockAddr();
Default constructor. Sets the protocol family to the value of
the constant KIrdaAddrFamily.
TIrdaSockAddr(const TSockAddr& aAddr);
Copy constructor. Assumes that the source address is an IrDA socket address.
|
static TIrdaSockAddr& Cast(const TSockAddr& aAddr);
static TIrdaSockAddr& Cast(const TSockAddr* aAddr);
Casts a general socket address into an IrDA socket address.
|
|
TUint GetHostDevAddr() const;
Returns the host device address.
|
TUint GetRemoteDevAddr() const;
Returns the remote device address.
|
TUint8 GetCharacterSet() const;
Returns the character set supported by the remote device.
|
TUint8 GetServiceHintByteCount() const;
Returns the number of service hint bytes for the remote device.
|
TUint8 GetFirstServiceHintByte() const;
Returns the remote device's first service hint byte. Service hint bytes indicate the level of IrLMP support provided by the device.
|
TUint8 GetSecondServiceHintByte() const;
Returns the remote device's first service hint byte. Service hint bytes indicate the level of IrLMP support provided by the device.
|
TUint8 GetIrlapVersion() const;
Returns the remote device's IrLAP version number.
This should be 0x00 indicating that the device conforms to the IrDA IrLAP 1.00 specification.
|
TBool GetSniffStatus() const;
Returns the remote device's sniff status, i.e. whether the device is capable of ‘sniffing’ for IrDA devices.
|
TBool GetSolicitedStatus() const;
Returns the solicited status.
The solicited status indicates whether a discovery was initiated by the host device or a remote device.
|
void SetHostDevAddr(const TUint aHost);
Sets the host device address.
|
void SetRemoteDevAddr(const TUint aRemote);
Sets the remote device address.
|
void SetCharacterSet(const TUint8 aCharacterSet);
Sets the character set supported by the remote device.
|
void SetServiceHintByteCount(const TUint8 aServiceHintByteCount);
Sets the number of service hint bytes for the remote device.
|
void SetFirstServiceHintByte(const TUint8 aFirstServiceHintByte);
Sets the first service hint byte for the remote device. The service hint bytes indicate the level of IrLMP support provided by the device.
|
void SetSecondServiceHintByte(const TUint8 aSecondServiceHintByte);
Sets the second service hint byte for the remote device. The service hint bytes indicate the level of IrLMP support provided by the device.
|
void SetIrlapVersion(const TUint8 aIrlapVersion);
Sets the IrLAP version number for the remote device.
This should be 0x00 indicating that the device conforms to the IrDA IrLAP 1.00 specification.
|
void SetSniffStatus(const TBool aSniff);
Sets the sniff status for the remote device, i.e. whether the device is capable of ‘sniffing’ for IrDA devices.
|
void SetSolicitedStatus(const TBool aSolicited);
Sets the solicited status. The solicited status indcates whether a discovery was initiated by the host device or a remote device.
|