TSEID Class Reference

class TSEID

TSEID class represents an AVDTP SEID as described in the AVDTP v1.0 specification.

Constructor & Destructor Documentation

TSEID()

IMPORT_C TSEID ( )

Default constructor using KInvalidSEID as the stream endpoint identifier (SEID) value

TSEID(TUint, TBool)

IMPORT_C TSEID ( TUint aSEID,
TBool aIsLocal
)

Constructor taking a stream endpoint identifier (SEID) value, and whether it refers to a local or remote endpoint

Parameters

TUint aSEID
TBool aIsLocal ETrue if refers to a local endpoint, else EFalse

TSEID(TUint)

IMPORT_C TSEID ( TUint aValue ) [explicit]

Constructor taking a direct stream endpoint identifier (SEID) value

Parameters

TUint aValue

Member Functions Documentation

FromPacketL(TUint8, TBool)

IMPORT_C TSEID FromPacketL ( TUint8 aPacketValue,
TBool aSemanticallyLocal
) [static]
Helper to create a SEID from a packet value. Leaves if invalid
leave
EAvdtpBadACPSEID (converts to -18062) if created SEID is invalid

Parameters

TUint8 aPacketValue the value in the packet format
TBool aSemanticallyLocal

IsLocal()

IMPORT_C TBool IsLocal ( ) const

Tests whether the SEID refers to a local endpoint

IsValid()

IMPORT_C TBool IsValid ( ) const

Checks whether the SEID is allowed by the AVDTP Specification

PacketValue()

IMPORT_C TUint PacketValue ( ) const

Getter for SEID value in packet format

Reset()

IMPORT_C void Reset ( )

Reset any internal state and values

SEID()

IMPORT_C TUint SEID ( ) const

Getter for the stream endpoint identifier (SEID) value, regardless of whether local or remote

Set(TUint)

IMPORT_C void Set ( TUint aValue )

Set SEID value directly

Parameters

TUint aValue value to set

Value()

IMPORT_C TUint Value ( ) const

Getter for INTERNAL stream endpoint identifier (SEID) value - for actual SEID value use SEID() SEID

_Spare(TUint8)

IMPORT_C TSEID _Spare ( TUint8 aUnused ) [static]

Not used

Parameters

TUint8 aUnused

operator!=(TSEID)

IMPORT_C TBool operator!= ( TSEID aSEID ) const

Negative comparison operator

Parameters

TSEID aSEID

operator==(TSEID)

IMPORT_C TBool operator== ( TSEID aSEID ) const

Comparison operator

Parameters

TSEID aSEID

Member Data Documentation

const TUint KInvalidSEID

const TUint KInvalidSEID [private, static]

const TUint KIsLocalBit

const TUint KIsLocalBit [private, static]

TUint iValue

TUint iValue [private]