diff options
author | Sven Göthel <[email protected]> | 2024-02-25 05:30:33 +0100 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-02-25 05:30:33 +0100 |
commit | 41985a975e406864229a24b7e67ec2298bf6e9b2 (patch) | |
tree | 88ff1c2a1dcd3b35cf0c3048b6fc1be1fe7cda89 /src/direct_bt/BTManager.cpp | |
parent | 0660af6cb4978689c8ca40921c7d383e6a5fcb9f (diff) |
Adopt to jaulib commit d658b6059d7e7513b60c5c67019b76c9cd3f809b
Diffstat (limited to 'src/direct_bt/BTManager.cpp')
-rw-r--r-- | src/direct_bt/BTManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/direct_bt/BTManager.cpp b/src/direct_bt/BTManager.cpp index 1af91966..a04269d0 100644 --- a/src/direct_bt/BTManager.cpp +++ b/src/direct_bt/BTManager.cpp @@ -264,7 +264,7 @@ HCIStatusCode BTManager::initializeAdapter(AdapterInfo& adapterInfo, const uint1 setMode(dev_id, MgmtCommand::Opcode::SET_POWERED, 0, current_settings); { - jau::uint128_t zero_privacy_irk; + jau::uint128dp_t zero_privacy_irk; zero_privacy_irk.clear(); setPrivacy(dev_id, 0x00, zero_privacy_irk, current_settings); } @@ -730,7 +730,7 @@ std::vector<MgmtDefaultParam> BTManager::readDefaultSysParam(const uint16_t dev_ return std::vector<MgmtDefaultParam>(); } -HCIStatusCode BTManager::setPrivacy(const uint16_t dev_id, const uint8_t privacy, const jau::uint128_t& irk, AdapterSetting& current_settings) noexcept { +HCIStatusCode BTManager::setPrivacy(const uint16_t dev_id, const uint8_t privacy, const jau::uint128dp_t& irk, AdapterSetting& current_settings) noexcept { MgmtSetPrivacyCmd req(dev_id, privacy, irk); MgmtStatus res = handleCurrentSettingsReply(sendWithReply(req), current_settings); DBG_PRINT("BTManager::setPrivacy[%d]: %s, result %s %s", dev_id, |