Giter VIP home page Giter VIP logo

Comments (5)

benjaminaigner avatar benjaminaigner commented on May 24, 2024

Dear @discapacidad5 ,
very interesting approach with one real braille cell and the virtual cells!
Regarding the Bluetooth HID implementation:

  • unfortunately, we don't need a Braille implementation in this repository (maybe my colleagues will find a use case, but I can't). Nevertheless, if you create a new repository for the ESP32 firmware (I would recommend to split the firmware & case designs) I can contribute.
  • Thanks for the USB reference document, I think there is everything you need:

To change the HID functionality you need following steps (mostly in the file hid_device_le_prf.c):

  1. Change the HID descriptor: I would simply use the example from the referenced document. It seems to include left/right control buttons, braille input and some buttons (look for collections which end with an input tag)
  2. Change the report structure: On the first read, there seems to be only one input and one output report (no report IDs). Combining all report size/report count tags in the HID descriptor you will get the bit/byte positions in your report where data should be sent / read.

Hope I could help, I like your projects!

Greetings

from esp32_mouse_keyboard.

discapacidad5 avatar discapacidad5 commented on May 24, 2024

from esp32_mouse_keyboard.

benjaminaigner avatar benjaminaigner commented on May 24, 2024

OK, I would get started with the Espressif example:
https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/ble/ble_hid_device_demo
There is everything you need to get started based on a mouse/keyboard project (exactly as we did here).
Try to compile and flash the example, to ensure a correct development setup.
(getting started for the ESP32: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html )

And then start to change the HID descriptor to the example from your document.

from esp32_mouse_keyboard.

benjaminaigner avatar benjaminaigner commented on May 24, 2024

@discapacidad5

My colleague @ChrisVeigl remembered me of an existing repository where a student of us was building
a refreshable braille device:
https://github.com/ProjectKitchen/BrailleDisplay/

Maybe you can find some useful information for building your device.

from esp32_mouse_keyboard.

benjaminaigner avatar benjaminaigner commented on May 24, 2024

Closing as off-topic, maybe we can consider implementing HID braille in a separate repository

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.