I’m also trying to use the Wio Terminal as a hid bluetooth device with no success.
Like @Zhou mentioned, is it possible to provide an example on how to use the Seeed_Arduino_rpcBLE
and the Seeed_Arduino_rpcUnified
libraries in order to do that?
My understanding was that the two libraries mentioned above were supposed to “implement BLE function compatibility with Arduino-ESP32” in order to enable code written for the ESP32’s bluetooth feature to run in the Wio Terminal. However, it does not seem to be that simple and details are not provided on how to make it work. @edw brought up the same issue on another post. Are there any guides on how to use ESP32 HID bluetooth code with the Wio Terminal?
Just like Zhou, I tried to use ESP32-BLE-Keyboard but had many compilation errors. For example, the library BLEUtils.h
and driver/adc.h
are missing from rpcBLE
and rpcUnified
. I found a version of BLEUtils.h
in the dev-server
branch of rpcBLE
but when I imported it to my project I got a few errors such as BLEUtils.h:21:28: error: expected ';' at end of member declaration static const char* addressTypeToString(esp_ble_addr_type_t type);
. The syntax looks ok to me so I don’t know how to move forward.
Any help is greatly appreciated. Thanks.