diff --git a/lib/BleScanner/src/BleScanner.cpp b/lib/BleScanner/src/BleScanner.cpp index ff4eca4..253abf9 100644 --- a/lib/BleScanner/src/BleScanner.cpp +++ b/lib/BleScanner/src/BleScanner.cpp @@ -21,7 +21,7 @@ Scanner::Scanner(int reservedSubscribers) { } void Scanner::initialize(const std::string& deviceName, const bool wantDuplicates, const uint16_t interval, const uint16_t window) { - if (!BLEDevice::getInitialized()) { + if (!BLEDevice::isInitialized()) { if (wantDuplicates) { // reduce memory footprint, cache is not used anyway #ifdef CONFIG_BTDM_BLE_SCAN_DUPL diff --git a/src/idf_component.yml b/src/idf_component.yml index a49a480..b69cad4 100644 --- a/src/idf_component.yml +++ b/src/idf_component.yml @@ -4,7 +4,7 @@ dependencies: esp-nimble-cpp: git: https://github.com/h2zero/esp-nimble-cpp.git - version: 758c4d0471cca8a00c8652aac2e16940ecb30cb3 + version: 020c61700dce2174769f855d45ab0ea70a2aaac4 espressif/libsodium: "^1.0.20~1"