I want to use this library on the micro:bit v2(nRF52833) and I noticed that NimBLE supports nRF52.
I made some simple modifications to the library and successfully compiled the firmware for the micro:bit v2. It runs on the micro:bit v2, and I can find the BLE keyboard emulated by the micro:bit. This seems to indicate that most of the code is working.
However, the connection disconnects immediately after being established. How should I resolve this issue?
I want to use this library on the micro:bit v2(nRF52833) and I noticed that NimBLE supports nRF52.
I made some simple modifications to the library and successfully compiled the firmware for the micro:bit v2. It runs on the micro:bit v2, and I can find the BLE keyboard emulated by the micro:bit. This seems to indicate that most of the code is working.
However, the connection disconnects immediately after being established. How should I resolve this issue?
this is my platformio.ini(
[env:esp32-ble-keyboard]
woks perfectly): https://github.com/wwj718/ble-keyboard-demo/blob/main/platformio.iniThis is the modified: https://github.com/wwj718/ESP32-BLE-Keyboard/commit/2ed6488cc8b447afa3009f5def6bae94f25be454