项目地址:https://gitcode.com/T-vK/ESP32-BLE-Keyboard 项目简介 ESP32-BLE-Keyboard是一个开源项目,它允许你利用Espressif Systems的ESP32微控制器,将其转化为一个功能完备的蓝牙低功耗(BLE)键盘。这意味着你可以将这个小巧的硬件设备连接到任何支持蓝牙输入的设备上,如智能手机、平板电脑或计算机,并发送键盘输入。
/** * 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()...
/*** 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(...
\Users\Value Pawn\Documents\Arduino\libraries\ESP32_BLE_Keyboard Using library ESP32 BLE Arduino at version 2.0.0 in folder: C:\Users\Value Pawn\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9\libraries\BLE Using library Keypad at version 3.1.1 in folder: C:\Users\Value Pawn\...
#ifndef ESP32_BLE_KEYBOARD_H #define ESP32_BLE_KEYBOARD_H #include"sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #if defined(USE_NIMBLE) #include"NimBLECharacteristic.h" #include"NimBLEHIDDevice.h" #define BLEDevice NimBLEDevice #define BLEServerCallbacks NimBLEServerCallbacks ...
#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[] = { ...