NimBLE-Arduino
NimBLE-Arduino copied to clipboard
ESP_ERROR_CHECK failed on platformio, [email protected]
Hi, since beginning of the year i been having issues with the platformio,
[env:esp32dev]
platform = [email protected]
board = esp32dev
framework = arduino
board_build.filesystem = littlefs
monitor_speed = 115200
08:54:35.508 > ESP_ERROR_CHECK failed: esp_err_t 0x102 (ESP_ERR_INVALID_ARG) at 0x40094b70
08:54:35.514 > file: ".pio/libdeps/esp32dev/NimBLE-Arduino/src/NimBLEDevice.cpp" line 879
08:54:35.519 > func: static void NimBLEDevice::init(const string&)
08:54:35.525 > expression: esp_bt_controller_init(&bt_cfg)
08:54:35.527 >
08:54:35.527 > abort() was called at PC 0x40094b73 on core 1
08:54:35.533 >
08:54:35.533 >
08:54:35.533 > Backtrace: 0x40084105:0x3ffced50 0x40094b7d:0x3ffced70 0x4009a8e1:0x3ffced90 0x40094b73:0x3ffcee10 0x400f2236:0x3ffcee30 0x400d3775:0x3ffcee80 0x400d602b:0x3ffceec0 0x40105fda:0x3ffcef20
08:54:35.550 >
the code in use is from the example beacon scan
BLEDevice::init("");
pBLEScan = BLEDevice::getScan();
pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());
pBLEScan->setActiveScan(false); // set it to false for scan_evt error
pBLEScan->setInterval(100);
pBLEScan->setWindow(80);
pBLEScan->setMaxResults(0);
for platform = [email protected] has no issues