Search found 3 matches

by magesing
Fri Oct 25, 2024 3:28 pm
Forum: ESP-IDF
Topic: undefined reference to `esp_ble_hidd_dev_init'
Replies: 1
Views: 522

undefined reference to `esp_ble_hidd_dev_init'

I'm trying to make a simple bluetooth media controller which will use an esp32 to cause a paired phone to change the song its playing. I have been basing my code on the generic_gpio, esp_hid_device examples the code is available here: https://github.com/ohcfe/OneButtonMediaRemote Currently I'm strug...
by magesing
Wed Sep 04, 2024 3:10 pm
Forum: ESP-IDF
Topic: Values in argument struct change after xQueueReceive
Replies: 3
Views: 1348

Re: Values in argument struct change after xQueueReceive

Thank you for the reply, indeed, making my variable a global variable does make the code behave as I intended! :D

Coming from a single-threaded procedural background, the idea that my main function goes out of scope while any part of my code is still executing had never occurred to me!
by magesing
Tue Sep 03, 2024 7:42 pm
Forum: ESP-IDF
Topic: Values in argument struct change after xQueueReceive
Replies: 3
Views: 1348

Values in argument struct change after xQueueReceive

I'm working on a project involving timing button presses of a button attached to GPIO pin 23 of an ESP32 board. In my project, I need to be able to pass some state to my interrupt handler, as well as to my debounce timers. According to the FreeRTOS documentation: https://github.com/FreeRTOS/FreeRTOS...