Skip to content

Conversation

NallamothuTanish
Copy link

Same as BleKeyboard.cpp

🛠️ Fix for ESP32_BLE_Mouse Compatibility with Latest ESP32 BLE Library This repository includes a patched version of the BleMouse.cpp file from the ESP32_BLE_Mouse library. It fixes compilation errors that occur when using ESP32 core version 3.x, caused by the use of std::string where the BLE library expects Arduino String objects.

✅ What’s Fixed:
Replaced std::string with String(…).c_str() or direct String() conversion

Ensured compatibility with BLEDevice::init() and BLECharacteristic::setValue() calls

Useful for users facing similar errors when compiling the BLE Mouse library with updated ESP32 toolchains.

Same as BleKeyboard.cpp

🛠️ Fix for ESP32_BLE_Mouse Compatibility with Latest ESP32 BLE Library
This repository includes a patched version of the BleMouse.cpp file from the ESP32_BLE_Mouse library. It fixes compilation errors that occur when using ESP32 core version 3.x, caused by the use of std::string where the BLE library expects Arduino String objects.

✅ What’s Fixed:
Replaced std::string with String(…).c_str() or direct String() conversion

Ensured compatibility with BLEDevice::init() and BLECharacteristic::setValue() calls

Useful for users facing similar errors when compiling the BLE Mouse library with updated ESP32 toolchains.
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

Successfully merging this pull request may close these issues.

1 participant