Giter VIP home page Giter VIP logo

Comments (5)

Ericvf avatar Ericvf commented on May 28, 2024 1

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.

ChrisVeigl avatar ChrisVeigl commented on May 28, 2024

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.

benjaminaigner avatar benjaminaigner commented on May 28, 2024

@Ericvf

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.

benjaminaigner avatar benjaminaigner commented on May 28, 2024

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.

zoutepopcorn avatar zoutepopcorn commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.