Search found 4 matches
- Mon Jul 18, 2022 10:11 am
- Forum: ESP-IDF
- Topic: Connect ESP32 to bluetooth classic keyboard
- Replies: 5
- Views: 10163
Re: Connect ESP32 to bluetooth classic keyboard
Hi Lars, Here are related issues: https://github.com/espressif/esp-idf/issues/8027 https://github.com/espressif/esp-idf/issues/8028 I simply modified the BT_HID_HOST example. It only worked for me with an older version of IDF, but that was 8 months ago, so maybe a newer version works too. I reduced ...
- Tue Dec 07, 2021 3:06 pm
- Forum: ESP-IDF
- Topic: Connect ESP32 to bluetooth classic keyboard
- Replies: 5
- Views: 10163
Re: Connect ESP32 to bluetooth classic keyboard
I got it to work. The problem is Espressif made a lot of changes to the example on September 8th. Switching to the example from the stable version of IDF: 4.3.1 solved the problem.
- Mon Dec 06, 2021 5:06 pm
- Forum: ESP-IDF
- Topic: Connect ESP32 to bluetooth classic keyboard
- Replies: 5
- Views: 10163
Connect ESP32 to bluetooth classic keyboard
For a proof of concept I need to connect to a Bluetooth classic keyboard and mouse and read the input. The ESP32 needs to connect to the mouse and the keyboard at the same time (not a priority right now). I can connect to the mouse and if I print the bytes coming from this mouse I can easily decode ...
- Mon Dec 06, 2021 4:24 pm
- Forum: ESP-IDF
- Topic: c++ projects in IDF?
- Replies: 2
- Views: 5302
Re: c++ projects in IDF?
app_main() is called by C code. If you compile your main file as cpp this function name will be mangled. The solution is to define app_main as extern "C" so it can be called from C. That's all. We use C++ in all our projects. extern "C" void app_main(void) { } Just note that exceptions are disabled ...