diff options
Diffstat (limited to 'api/direct_bt/L2CAPComm.hpp')
-rw-r--r-- | api/direct_bt/L2CAPComm.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/direct_bt/L2CAPComm.hpp b/api/direct_bt/L2CAPComm.hpp index e9922531..40e9a85e 100644 --- a/api/direct_bt/L2CAPComm.hpp +++ b/api/direct_bt/L2CAPComm.hpp @@ -122,11 +122,11 @@ namespace direct_bt { } private: - static int l2cap_open_dev(const EUI48 & adapterAddress, const L2CAP_PSM psm, const L2CAP_CID cid, const BDAddressType addrType); + static int l2cap_open_dev(const BDAddressAndType & adapterAddressAndType, const L2CAP_PSM psm, const L2CAP_CID cid); static int l2cap_close_dev(int dd); const L2CAPEnv & env; - const EUI48 adapterAddress; + const BDAddressAndType adapterAddressAndType; const L2CAP_PSM psm; const L2CAP_CID cid; @@ -146,7 +146,7 @@ namespace direct_bt { /** * Constructing a non connected L2CAP channel instance for the pre-defined PSM and CID. */ - L2CAPComm(const EUI48& adapterAddress, const L2CAP_PSM psm, const L2CAP_CID cid); + L2CAPComm(const BDAddressAndType& adapterAddressAndType, const L2CAP_PSM psm, const L2CAP_CID cid); L2CAPComm(const L2CAPComm&) = delete; void operator=(const L2CAPComm&) = delete; |