Somewhere in my reading, I thought somehow that the BlueDroid stack allows for classic_bt functions with the -S3 (BLE only) device. That's not the case. The -S2 is WiFi only.
And with that -- finding that answers all of this.
So. This thread is solved. Hopefully it resolves for someone else the same confusion I had.
------------------------------------------------------------------------------------------------------------
EDIT: CHANGED TOPIC from "Error: identifier "PERIPH_BLUETOOTH_DISCONNECTED" is undefined" to "ESP-IDF provided Classic Bluetooth Examples won't compile. (v5.3.3 or v5.4.1)"
Just jump to bottom of post for most recent messages ignoring anything about KORVO-2 for the moment.
I'm installing fresh off GIT to Linux ESP-IDF and then trying to compile the IDF provided classic bluetooth hpf_hf example for ESP32-s2/s3 and the build process fails.
SO I guess the question is - if "Classic Bluetooth" isn't supported on the S3 (and the hardware matrix says that) -- the docs read like classic bluetooth is somehow maybe provided through BlueDroid. But the hpf_hf readme says the example is for ESP32 (not S3).
OK -- so why is Espressif designing audio (video) gizmos like the Korvo2 when none of the example applications that do audio/video can compile?
------------------------------------------------------------------------------------------------------------
I'm building the example pipeline_a2dp_sink_and_hfp ESP_ADF project with a brand new KORVO2 Audio development board.
I've read the readme.md and set the product according to the instructions.
When I create the project using the ESP_ADF examples, I get this compile error:
What's missing from this to make it compile? This seems more like an IDF error and an ADF problem (so far).[{
"resource": "/f:/workspace-VScode/esp32-korvo-2/pipeline_a2dp_sink_and_hfp/pipeline_a2dp_sink_and_hfp/main/a2dp_sink_and_hfp_example.c",
"owner": "C/C++: IntelliSense",
"code": "20",
"severity": 8,
"message": "identifier \"PERIPH_BLUETOOTH_DISCONNECTED\" is undefined",
"source": "C/C++",
"startLineNumber": 534,
"startColumn": 28,
"endLineNumber": 534,
"endColumn": 57
}]
Thanks,
-Ben