Open mpeill opened 5 months ago
Hi ! I had the same problem, use this lib : https://github.com/wakwak-koba/ESP32-NimBLE-Mouse
Thanks for the advice. I admit to not being an experienced coder, but: I replaced all the files within "ESP BLE Mouse" with the ones from your above library, and on compiling I get errors warning that it can't find NimBLE files, see below. Can you offer any advice on how to resolve this (or am I asking too much):
In file included from .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleConnectionStatus.cpp:1: .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleConnectionStatus.h:6:10: fatal error: NimBLEServer.h: No such file or directory
^~~~~~~~~~~~~~~~
compilation terminated. .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleMouse.cpp:1:10: fatal error: NimBLEDevice.h: No such file or directory
^~~~~~~~~~~~~~~~
compilation terminated. In file included from .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleMouse.h:6, from src/main.cpp:2: .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleConnectionStatus.h:6:10: fatal error: NimBLEServer.h: No such file or directory
^~~~~~~~~~~~~~~~
compilation terminated. [.pio\build\az-delivery-devkit-v4\libb9c\ESP32 BLE Mouse\BleConnectionStatus.cpp.o] Error 1 [.pio\build\az-delivery-devkit-v4\libb9c\ESP32 BLE Mouse\BleMouse.cpp.o] Error 1 *** [.pio\build\az-delivery-devkit-v4\src\main.cpp.o] Error 1 ==================[FAILED] Took 6.30 seconds
Using the latest release, Oct 2020. The BLEmouse pairs/connects as Bluetooth device on Windows 10, but as "Other Device" rather than "Mouse", and there is no mouse movement, even though the device remains connected. Any ideas gratefully received.