#include <bt_sock.h>
class TRfcommSockAddr : public TBTSockAddr |
Public Member Functions | |
---|---|
TRfcommSockAddr() | |
TRfcommSockAddr(const TSockAddr &) | |
IMPORT_C TRfcommSockAddr & | Cast(const TSockAddr &) |
Inherited Attributes | |
---|---|
TBuf8< KMaxSockAddrSize >::iBuf | |
TDes8::__DECLARE_TEST | |
TDes8::iMaxLength |
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.
See also: TBTSockAddr
IMPORT_C | TRfcommSockAddr | ( | const TSockAddr & | aSockAddr | ) |
Constructor that takes a BT socket address.
Parameter | Description |
---|---|
aSockAddr | The BT socket address from which this instance is initialised. |
IMPORT_C TRfcommSockAddr & | Cast | ( | const TSockAddr & | aAddr | ) | [static] |
Reimplemented from TBTSockAddr::Cast(const TSockAddr &)
Utility function to downcast a TSockAddr to a TBTSockAddr
Returns: TBTSockAddr reference