/** * This example turns the ESP32 into a Bluetooth LE keyboard that writes the words, presses Enter, presses a media key and then Ctrl+Alt+Delete */#include<BleKeyboard.h>BleKeyboard bleKeyboard;voidsetup(){Serial.begin(115200);Serial.println("Starting BLE work!"); bleKeyboard.begin()...
项目地址:https://gitcode.com/T-vK/ESP32-BLE-Keyboard 项目简介 ESP32-BLE-Keyboard是一个开源项目,它允许你利用Espressif Systems的ESP32微控制器,将其转化为一个功能完备的蓝牙低功耗(BLE)键盘。这意味着你可以将这个小巧的硬件设备连接到任何支持蓝牙输入的设备上,如智能手机、平板电脑或计算机,并发送键盘输入。
T-vK/ESP32-BLE-KeyboardPublic NotificationsYou must be signed in to change notification settings Fork453 Star2.7k master 2Branches8Tags Code README ESP32 BLE Keyboard library This library allows you to make the ESP32 act as a Bluetooth Keyboard and control what it does. ...
BleKeyboard(std::string deviceName = "ESP32 Keyboard", std::string deviceManufacturer = "Espressif", uint8_t batteryLevel = 100); void begin(void); void end(void); void sendReport(KeyReport* keys); void sendReport(MediaKeyReport* keys); size_t press(uint8_t k); size_t pres...
used this lib: https://github.com/T-vK/ESP32-BLE-Keyboard/releasestag/0.3.2-beta Both compiled and advertised as expected, I was able to connect withmy Android phone. HTH GL PJ. 20230619_1228281920×2560 254 KB Screenshot_20230619111022nRF Connect×2220 176 KB Screenshot20230619-...
#include <BLEServer.h> #include "BLE2902.h" #include "BLECharacteristic.h" class KeyboardOutputCallbacks : public BLECharacteristicCallbacks { public: KeyboardOutputCallbacks(void); void onWrite(BLECharacteristic* me); }; #endif // CONFIG_BT_ENABLED #endif // ESP32_BLE_KEYBOARD_OUTPUT_CALLBACKS...
Arduino-ESP32-BLE-Keyboard.zip,用于ESP32(Arduino IDE兼容)的蓝牙LE键盘库ESP32 LE键盘库,Arduino是一家开源软硬件公司和制造商社区。Arduino始于21世纪初,深受电子制造商的欢迎,Arduino通过开源系统提供了很多灵活性。 Arduino2019-09-18 上传大小:10KB
forked fromT-vK/ESP32-BLE-Keyboard NotificationsYou must be signed in to change notification settings Fork0 Star0 Code Pull requests Actions Projects Security Insights Additional navigation options Commit Browse filesBrowse the repository at this point in the history ...
本扩展库仅限在 Mind+ 软件中使用,为 ESP32(掌控板)设计,可以将掌控板模拟成蓝牙键盘,支持媒体键,可以在 Mind+ 用户库中进行导入。
#include "esp32-hal-log.h" #define LOG_TAG "" #else #include "esp_log.h" static const char* LOG_TAG = "BLEDevice"; #endif // Report IDs: #define KEYBOARD_ID 0x01 #define MEDIA_KEYS_ID 0x02 static const uint8_t _hidReportDescriptor[] = { ...