ESP32-BLE-Keyboard icon indicating copy to clipboard operation
ESP32-BLE-Keyboard copied to clipboard

Everything works except for Android..

Open creepscompilation opened this issue 2 years ago • 4 comments

Hello,

I have fully tested the following version of the ESP32-BLE-Keyboard library using an ESP32-S3 module and everything works GREAT, except for Android..

v0.2.3 v0.3.0 v0.3.1 v0.3.2

I confirmed the library versions prior to testing by removing the library completely, closing and opening the Arduino IDE, and installing the ESP32-BLE-Keyboard library clean.

Please let me know if I am doing something wrong here?

I am hoping that I am just doing something stupid, I am new to the Arduino IDE.

creepscompilation avatar Jun 10 '22 22:06 creepscompilation

I have the same problem in some Android phones. The esp32 connect correctly but the keyboard keystrokes are not interpreted by the android phone

makerbitter avatar Jun 13 '22 07:06 makerbitter

I can confirm that I have the same problem. Used the Example file, the ESP32 is connecting and paired, but no keystrokes are being interpreted by Android. No idea why....

EDIT: In the Serial Monitor, I can see that the ESP32 is connected because the if statement is TRUE. Because I see "Sending Hello World. Followed by Waiting 5 seconds... And loops

#include <BleKeyboard.h>

BleKeyboard bleKeyboard;

void setup() {
  Serial.begin(115200);
  Serial.println("Starting BLE work!");
  bleKeyboard.begin();
}

void loop() {
  if(bleKeyboard.isConnected()) {
    Serial.println("Sending 'Hello world'...");
    bleKeyboard.print("Hello world");

    delay(1000);
    bleKeyboard.releaseAll();
  }

  Serial.println("Waiting 5 seconds...");
  delay(5000);
}

dailafing avatar Jul 15 '22 04:07 dailafing

Same here with v0.3.2 on Android 12.

bertenvdb avatar Aug 28 '22 22:08 bertenvdb

Oi estou exatamente com o mesmo problema, em me conectou com ele e no Pc funciona normalmente mas quando início no Android ele não manda as teclas que eu seleciono

sandman21vs avatar Dec 02 '22 15:12 sandman21vs