nkolban / esp32-snippets

Sample ESP32 snippets and code fragments
https://leanpub.com/kolban-ESP32
Apache License 2.0
2.37k stars 710 forks source link

connecting a BLE keyboard #1048

Open ulihuber opened 3 years ago

ulihuber commented 3 years ago

Hi, I am trying to connect a BLE keyboard (in fact is is a digital caliper acting as a keyboard...) With BLEclient I find it: BLE Advertised Device found: Name: Bluetooth Keyboard, Address: fe:bc:eb:cf:2d:ef, appearance: 961, serviceUUID: 00001812-0000-1000-8000-00805f9b34fb and I am trying to connect to a service. I used 'LightBlue' on my iPhone to identify a service and found 00001530-1212-EFDE-1523-785FEABCD123 with 00001532-1212-EFDE-1523-785FEABCD123 (write without response notify) 00001531-1212-EFDE-1523-785FEABCD123 (write notify) 00001534-1212-EFDE-1523-785FEABCD123 (read) But whatever service I use, it always comes back with "We have failed to connect to the server; there is nothin more we will do."

What am I doing wrong?

Uli