Comments (5)
Thanks for the feedback guys, very appreciated. It works after changing the filename. I thought I tried that yesterday but I must have made a mistake. For those interested to do with with PIO I simply used this configuration and dragged all files from this repo into the SRC directory:
[env:esp32dev]
platform = espressif32
framework = espidf
board = lolin32
Unfortunately I could not make the make monitor
work on Windows. Running idf_monitor.py
manually gave me a bunch of errors. But I did get to compile it, connect via the PIO Serial Monitor and pair with a Windows PC.
My use case for this library turns out to be wrong. This makes the ESP32 act as a Bluetooth HID device where I was hoping it to act like a USB HID over USB Serial and pair with peripherals over bluetooth. I have some other projects where this will come in handy though so I'm very glad to have found this. Keep up the good work gentlemen.
from esp32_mouse_keyboard.
Hi,
we use the espressiv IDF toolchain under Linux:
https://github.com/espressif/esp-idf
There are also setup instructions for windows (see readme.md).
from esp32_mouse_keyboard.
Hi, thanks for the interest on this project :-).
If it complains on esp_bt.h, it might be possible you are using an outdated version of the esp-idf.
A few weeks ago, bt.h was defined as deprecated and the suggestion was including esp_bt.h.
If you cannot update the esp-idf, please adjust this header file from esp_bt.h to bt.h
from esp32_mouse_keyboard.
Keep up the good work gentlemen.
Thanks for the flowers :-)
If you need further examples, either use the esp-idf provided examples or ask on Github (this project is heavily based on an example from Espressif guys).
from esp32_mouse_keyboard.
Great, maybe we can open a wiki, so we can document how to build, or some other documentation
So under platformio, create new esp32 project
|-- lib
|-- src -- main -- ble_hidd_demo_main.c
| | - makefile
| | - ..
|
- platformio.ini
If you have errors on line 29 on ble_hid_demo_main.c
change eps_bt.h
#include "bt.h"
from esp32_mouse_keyboard.
Related Issues (20)
- Enable / disable pairing+bonding HOT 2
- BLE - GATT transmission rate limiting HOT 2
- Enable notifications for LED reports HOT 2
- GATT_INSUF_AUTHENTICATION problem HOT 15
- Switch between devices/hosts HOT 4
- Deinit missing hidd_le_env.enabled = false; HOT 1
- Can't pair with Apple TV (4th generation) or iPhone 11 Pro Max -- esp32 doesn't even appear in list HOT 2
- How do you send key commands HOT 11
- iPhone 12 Pro iOS 14.7.1 - no devices in the list HOT 14
- help with HID braille for open source devices for people with disabilities HOT 5
- Compilation issue. HOT 3
- Connection indication LED does not work correctly HOT 1
- Automatic Firmware update not working HOT 1
- Pairing problems on Win8.1 HOT 2
- Replacement parts HOT 1
- How to swipe HOT 1
- How to get or set mouse position? HOT 2
- iOS 17 compatibility HOT 3
- Not showing on HID device in Windows 10 HOT 7
- ESP32-S3 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32_mouse_keyboard.