Open AJIN-98 opened 3 months ago
I made the changes manually, and it worked for me. Thank you.
Hi, doesn't work for me. I get:
/home/chri/Arduino/libraries/ESP32-BLE-Keyboard/BleKeyboard.cpp: In member function 'void BleKeyboard::begin()':
/home/chri/Arduino/libraries/ESP32-BLE-Keyboard/BleKeyboard.cpp:106:38: error: 'c_str' was not declared in this scope; did you mean 'wcsstr'?
106 | BLEDevice::init(String(deviceName, c_str()));
| ^~~~~
| wcsstr
exit status 1
Compilation error: exit status 1
Pro tip: enclose your code between triple ticks ```
for your code or error messages to display correctly.
~Works for me. Many thanks.~ See below.
OOOOOOPS sorry I thought I was posting «works for me» in this PR: https://github.com/T-vK/ESP32-BLE-Keyboard/pull/303. I indeed get the error I posted above.