|
|
|
class TL2CAPSockAddr : public TBTSockAddr;
L2CAP Socket Address.
Use this class to specify a local or remote L2CAP connection end-point, that is Device Address and PSM/CID. When unconnected,
the TL2CAPSockAddr::Port()const specifies the PSM, once connected it refers to the CID.
TSockAddr - No description.
TBTSockAddr - Bluetooth socket address
TL2CAPSockAddr - L2CAP Socket Address.
Defined in TL2CAPSockAddr:
Cast(const TSockAddr &)Utility function to downcast a TSockAddr to a TBTSockAddr
Port()constSetPort(const TL2CAPPort)TL2CAPSockAddr()Constructor TL2CAPSockAddr(const TSockAddr &)Construct from a BT address. Inherited from TBTSockAddr:
BTAddr()constGetter BTSecurity()constGetter EndBTSockAddrPtr()constSetBTAddr(const TBTDevAddr &)Sets BT address from a TBTDevAddr. SetSecurity(const TBTServiceSecurity &)Setter TBTSockAddr(const TSockAddr &)Constructor taking socket address baseclass reference. Rather like a copy constr...TBTSockAddrBluetooth socket addressIMPORT_C TL2CAPSockAddr(const TSockAddr &aSockAddr);
Construct from a BT address.
|
IMPORT_C static TL2CAPSockAddr& Cast(const TSockAddr &aSockAddr);
Utility function to downcast a TSockAddr to a TBTSockAddr
|
|
IMPORT_C void SetPort(const TL2CAPPort aHomePort);
|