T-vK / ESP32-BLE-Keyboard

Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)
2.4k stars 399 forks source link

bluetooth is undetected on my windows 10 laptop (BT version 3.x) #233

Open r4ph74 opened 1 year ago

r4ph74 commented 1 year ago

hi , I have download and install the latest beta driver 0.3.2 and 0.3.3 . and also tried stable verison 0.30

all of them doesn't work , My Windows 10 , unable to detect it . But it is detected on my Android Phone (redmi note 8 Pro).

I'm using esp32- Nodemcu - Ble version

what should i do so we enable to detect the esp32S Nodemcu ?

Please help...

alexz006 commented 1 year ago

Try this fork: https://github.com/alexz006/ESP32-BLE-Combo

r4ph74 commented 1 year ago

Thanks... Alex , I will try .. now .

r4ph74 commented 1 year ago

I have tried to upload the example codes from the page but comes up with error

D:\Scorpion\Project\3Dprinting\T3D\Mpad\Sketch\ble_keypad_combo\ble_keypad_combo.ino: In function 'void setup()': ble_keypad_combo:11:13: error: 'class BleCombo' has no member named 'setManufacturer' bleDevice.setManufacturer("Espressif"); //call before any of the begin functions to change the Manufacturer name. ^ exit status 1 'class BleCombo' has no member named 'setManufacturer'

alexz006 commented 1 year ago

You need to copy the library ESP32-BLE-Combo to the libraries folder, and move the ESP32-BLE-Keyboard library outside of the libraries folder to avoid a conflict of libraries.

r4ph74 commented 1 year ago

image

I only have these in my library folder. No more Esp32-BLE-Keyboard anymore.

r4ph74 commented 1 year ago

I have tried upload and test the basic send keystroke example provided.

my android phone able to detects and pair the esp32 , buat when I open Google keep note, it shows nothing, even in the serial monitor .. sending text and running the script normally,


15:51:20.604 -> Starting BLE work! 15:51:21.353 -> Waiting 5 seconds... 15:51:26.361 -> Waiting 5 seconds... 15:51:31.330 -> Waiting 5 seconds... 15:51:36.357 -> Sending 'Hello world'... 15:51:37.366 -> Sending Enter key... 15:51:38.351 -> Sending Play/Pause media key... 15:51:39.335 -> Waiting 5 seconds... 15:51:44.342 -> Sending 'Hello world'... 15:51:45.373 -> Sending Enter key... 15:51:46.357 -> Sending Play/Pause media key... 15:51:47.341 -> Waiting 5 seconds... 15:51:52.357 -> Sending 'Hello world'... 15:51:53.341 -> Sending Enter key... 15:51:54.373 -> Sending Play/Pause media key... 15:51:55.357 -> Waiting 5 seconds... 15:52:00.353 -> Sending 'Hello world'... 15:52:01.385 -> Sending Enter key... 15:52:02.361 -> Sending Play/Pause media key... 15:52:03.346 -> Waiting 5 seconds... 15:52:08.353 -> Sending 'Hello world'... 15:52:09.367 -> Sending Enter key... 15:52:10.378 -> Sending Play/Pause media key... 15:52:11.362 -> Waiting 5 seconds... 15:52:16.371 -> Sending 'Hello world'... 15:52:17.382 -> Sending Enter key... 15:52:18.359 -> Sending Play/Pause media key... 15:52:19.359 -> Waiting 5 seconds... 15:52:24.392 -> Sending 'Hello world'... 15:52:25.378 -> Sending Enter key... 15:52:26.390 -> Sending Play/Pause media key...

on the other hand , when I tried with my latop windows 10, it still unable to detect my esp32.

alexz006 commented 1 year ago

image

I only have these in my library folder. No more Esp32-BLE-Keyboard anymore.

You need to move the Keypad folder somewhere else, so that only ESP32-BLE-Combo remains in the libraries folder without Keypad! After this, you need to restart the Arduino IDE.

r4ph74 commented 1 year ago

Oh I see, I will try again Thanks 

Sent from Yahoo Mail on Android

On Sun, 21 May 2023 at 9:40 pm, @.***> wrote:

I only have these in my library folder. No more Esp32-BLE-Keyboard anymore.

You need to move the Keypad folder somewhere else, so that only ESP32-BLE-Combo remains in the libraries folder without Keypad!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>