|
|
|
|
Location:
ir_sock.h
Link against: irda.lib
class TIrdaSockAddr : public TSockAddr;
An IrDA socket address.
TBuf8< KMaxSockAddrSize > - No description.
TSockAddr - Represents an end point address
TIrdaSockAddr - An IrDA socket address
Defined in TIrdaSockAddr:
Cast(), Cast(), GetCharacterSet(), GetFirstServiceHintByte(), GetHomePort(), GetHostDevAddr(), GetIrlapVersion(), GetRemoteDevAddr(), GetRemotePort(), GetSecondServiceHintByte(), GetServiceHintByteCount(), GetSniffStatus(), GetSolicitedStatus(), SetCharacterSet(), SetFirstServiceHintByte(), SetHomePort(), SetHostDevAddr(), SetIrlapVersion(), SetRemoteDevAddr(), SetRemotePort(), SetSecondServiceHintByte(), SetServiceHintByteCount(), SetSniffStatus(), SetSolicitedStatus(), TIrdaSockAddr(), TIrdaSockAddr()
Inherited from TSockAddr:
CmpPort(),
Family(),
GetUserLen(),
Port(),
SetFamily(),
SetPort(),
SetUserLen(),
UserPtr()
IMPORT_C TIrdaSockAddr();
Default constructor. Sets the protocol family to the value of the constant KIrdaAddrFamily.
IMPORT_C TIrdaSockAddr(const TSockAddr &aAddr);
Copy constructor. Assumes that the source address is an IrDA socket address.
|
static IMPORT_C TIrdaSockAddr &Cast(const TSockAddr &aAddr);
Casts a pointer to a general socket address into an IrDA socket address.
|
|
static IMPORT_C TIrdaSockAddr &Cast(const TSockAddr *aAddr);
Casts a pointer to a general socket address into an IrDA socket address.
|
|
IMPORT_C TUint GetRemoteDevAddr() const;
Returns the remote device address.
|
IMPORT_C void SetRemoteDevAddr(const TUint aRemote);
Sets the remote device address.
|
IMPORT_C TUint GetHostDevAddr() const;
Returns the host device address.
|
IMPORT_C void SetHostDevAddr(const TUint aHost);
Sets the host device address.
|
IMPORT_C TBool GetSniffStatus() const;
Returns the remote device's sniff status, i.e. whether the device is capable of sniffing for IrDA devices.
|
IMPORT_C 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.
|
IMPORT_C TBool GetSolicitedStatus() const;
Returns the solicited status.
The solicited status indicates whether a discovery was initiated by the host device or a remote device.
|
IMPORT_C 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.
|
IMPORT_C 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.
|
IMPORT_C 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.
|
IMPORT_C TUint8 GetCharacterSet() const;
Returns the character set supported by the remote device.
|
IMPORT_C void SetCharacterSet(const TUint8 aCharacterSet);
Sets the character set supported by the remote device.
|
IMPORT_C 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.
|
IMPORT_C 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.
|
IMPORT_C 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.
|
IMPORT_C 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.
|
IMPORT_C TUint8 GetServiceHintByteCount() const;
Returns the number of service hint bytes for the remote device.
|
IMPORT_C void SetServiceHintByteCount(const TUint8 aServiceHintByteCount);
Sets the number of service hint bytes for the remote device.
|
IMPORT_C void SetRemotePort(const TUint8 aRemotePort);
|