TPanConnectionList Class Reference

class TPanConnectionList

A list of TPanConnection instances This is not intended for external use by application developers.

TPanConnection

Constructor & Destructor Documentation

TPanConnectionList()

IMPORT_C TPanConnectionList ( )

Member Functions Documentation

AddRemoteConnectionL(const TPanConnection &)

IMPORT_C void AddRemoteConnectionL ( const TPanConnection & aRemoteConnection )
Add a new PAN connection to the list
Note:

This always appends the new connection to the end of the list

leave
KErrNone if successful; KErrOverflow if there is no space left in the array

Parameters

const TPanConnection & aRemoteConnection

CurrentLocalRole()

IMPORT_C const TUUID & CurrentLocalRole ( ) const

GetFirstRemoteConnection()

IMPORT_C const TPanConnection * GetFirstRemoteConnection ( )

GetNextRemoteConnection()

IMPORT_C const TPanConnection * GetNextRemoteConnection ( )
Get the next device address from the list
Note:

This method is stateful, and advances automatically to the next device address each time

MaxNumberOfRemoteConnections()

IMPORT_C TUint8 MaxNumberOfRemoteConnections ( )

RequestedConnectionAddr()

IMPORT_C const TBTDevAddr * RequestedConnectionAddr ( )

SetCurrentLocalRole(const TUUID &)

IMPORT_C void SetCurrentLocalRole ( const TUUID & aLocalRole )

Parameters

const TUUID & aLocalRole

SetRequestedConnectionAddr(const TBTDevAddr &)

IMPORT_C void SetRequestedConnectionAddr ( const TBTDevAddr & aRequestedConnectionAddr )

Parameters

const TBTDevAddr & aRequestedConnectionAddr

Member Data Documentation

const TUint8 KMaxRemoteConnections

const TUint8 KMaxRemoteConnections [private, static]

TUUID iCurrentLocalRole

TUUID iCurrentLocalRole [private]

TUint32 iPadding1

TUint32 iPadding1 [private]

TUint32 iPadding2

TUint32 iPadding2 [private]

TUint8 iPosition

TUint8 iPosition [private]

TFixedArray< TPanConnection, KMaxRemoteConnections > iRemoteConnections

TFixedArray < TPanConnection , KMaxRemoteConnections > iRemoteConnections [private]

TBTDevAddr iRequestedConnectionAddr

TBTDevAddr iRequestedConnectionAddr [private]