Giter VIP home page Giter VIP logo

Comments (3)

benjaminaigner avatar benjaminaigner commented on July 3, 2024

Dear @manimathma ,

interesting. According to the esp-idf documentation, this function is included at least since v3:
https://docs.espressif.com/projects/esp-idf/en/release-v3.3/api-reference/bluetooth/esp_gap_ble.html

Could you please tell me what esp-idf version you are using?

Greetings

from esp32_mouse_keyboard.

manimathma avatar manimathma commented on July 3, 2024
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -2,6 +2,6 @@ idf_component_register(SRCS "ble_hidd_demo_main.c"
                             "esp_hidd_prf_api.c"
                             "hid_dev.c"
                             "hid_device_le_prf.c"
-                    INCLUDE_DIRS ".")
+                    INCLUDE_DIRS "." REQUIRES esp_hid PRIV_REQUIRES esp32 esp_wifi esp_https_server esp_eth mdns lwip fatfs openssl esp_https_ota esp_hid app_update) 

Able to resolve the issue with the above patch.

Didn't get sufficient time to dive deep into why this diff is needed.

I am using IDF 4.3 and i am building for C3F.

@benjaminaigner thanks for your quick reply. :)

from esp32_mouse_keyboard.

benjaminaigner avatar benjaminaigner commented on July 3, 2024

@manimathma
Thank you very much for the quick fix! I'm also not really sure why this is needed, especially because we
are not used esp_hid in our project. But I think this includes the BLE API and that's what we need 👍

I've added the patch and added the esp_websocket_client as well (we will need this for the I2S microphone).

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.