Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation issues in Arduino IDE #94

Open
cookins opened this issue Aug 1, 2022 · 1 comment
Open

compilation issues in Arduino IDE #94

cookins opened this issue Aug 1, 2022 · 1 comment

Comments

@cookins
Copy link

cookins commented Aug 1, 2022

hey there
so im using esp32 project and got compilation issues. if you can assist me and tell where issue is. ty

C:\Users\cooki\Desktop\engi\ESP\esp32\ESP32Marauder-master\esp32_marauder\WiFiScan.cpp: In member function 'void WiFiScan::RunSetup()':
WiFiScan.cpp:138:19: error: 'setScanFilterMode' is not a member of 'NimBLEDevice'
     NimBLEDevice::setScanFilterMode(CONFIG_BTDM_SCAN_DUPL_TYPE_DEVICE);
                   ^~~~~~~~~~~~~~~~~
WiFiScan.cpp:139:19: error: 'setScanDuplicateCacheSize' is not a member of 'NimBLEDevice'
     NimBLEDevice::setScanDuplicateCacheSize(200);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\cooki\Desktop\engi\ESP\esp32\ESP32Marauder-master\esp32_marauder\WiFiScan.cpp: In member function 'void WiFiScan::RunBluetoothScan(uint8_t, uint16_t)':
WiFiScan.cpp:1071:19: error: 'setScanFilterMode' is not a member of 'NimBLEDevice'
     NimBLEDevice::setScanFilterMode(CONFIG_BTDM_SCAN_DUPL_TYPE_DEVICE);
                   ^~~~~~~~~~~~~~~~~
WiFiScan.cpp:1072:19: error: 'setScanDuplicateCacheSize' is not a member of 'NimBLEDevice'
     NimBLEDevice::setScanDuplicateCacheSize(200);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~
WiFiScan.cpp:1111:15: error: 'class NimBLEScan' has no member named 'setMaxResults'; did you mean 'getResults'?
     pBLEScan->setMaxResults(0);
               ^~~~~~~~~~~~~
               getResults
Multiple libraries were found for "SD.h"
 Used: C:\Users\cooki\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.4\libraries\SD
 Not used: D:\Program Files\Arduino\libraries\SD
 Not used: C:\Users\cooki\Documents\Arduino\libraries\SD
Multiple libraries were found for "WiFi.h"
 Used: C:\Users\cooki\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.4\libraries\WiFi
 Not used: D:\Program Files\Arduino\libraries\WiFi
exit status 1
'setScanFilterMode' is not a member of 'NimBLEDevice'
@h2zero
Copy link
Owner

h2zero commented Aug 1, 2022

Looks like you need to update the library, you could be using an old version before those functions were added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants