Closed BS-GIFHUB closed 1 year ago
It seems that the bluetooth library is missing. Have you installed the correct board support package for your ESP32. This lib is shipped by the board support package as far as i know.
Okay thanks. I did a reinstallation of the Ardiuno with ESP32 and now I got the following issue
C:\Users\besa\Documents\Arduino\sketch\Bluetti_ESP32\BTooth.cpp:116:14: error: 'class BLEClient' has no member named 'setMTU' pClient->setMTU(517); //set client to request maximum MTU from server (default is 23 otherwise) ^
exit status 1
Compilation error: 'class BLEClient' has no member named 'setMTU'
you are using an old esp32 libary.
Go to File -> Preferences -> Additional Boards Manager Urls and add https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
then install from the board manager the newest esp32 version 2.0.5.
Thanks for the quick and magical help which solves the problem.
Stay Healthy. Bernhard.
Any help on this issue ?
Thanks
Bernhard
PS: Sorry I'm new with ESP32 programming