class TRfcommSockAddr : public TBTSockAddr |
Defines the format of an Rfcomm address.
This class uses the TSockAddr data area to hold the address so that it can be passed through the ESOCK boundary. Assumes that the remote RFCOMM instance is always bound to PSM 3 on L2CAP, so there is no way of specifying another remote PSM.
Public Member Functions | |
---|---|
TRfcommSockAddr() | |
TRfcommSockAddr(const TSockAddr &) | |
IMPORT_C TRfcommSockAddr & | Cast(const TSockAddr &) |
Inherited Attributes | |
---|---|
TBuf8< KMaxSockAddrSize >::iBuf | |
TDes8::__DECLARE_TEST | |
TDes8::iMaxLength |
IMPORT_C | TRfcommSockAddr | ( | const TSockAddr & | aSockAddr | ) |
Constructor that takes a BT socket address.
const TSockAddr & aSockAddr | The BT socket address from which this instance is initialised. |
IMPORT_C TRfcommSockAddr & | Cast | ( | const TSockAddr & | aAddr | ) | [static] |
Utility function to downcast a TSockAddr to a TBTSockAddr
const TSockAddr & aAddr |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.