Search found 11 matches

by benjammin2068
Thu Jun 26, 2025 4:48 pm
Forum: ESP-IDF
Topic: [SOLVED] ESP-IDF provided Classic Bluetooth Examples won't compile. (v5.3.3 or v5.4.1)
Replies: 9
Views: 560

Re: Error: identifier "PERIPH_BLUETOOTH_DISCONNECTED" is undefined

Ok - now I installed ESP-IDF 5.3.3 -- and used the same example (hpf_hf) that comes with it in the examples folder and it fails as well.

(attached is the compile log)

These are examples compiled as "out of the box" as possible and none of them work.

So something is definitely wrong with the ...
by benjammin2068
Thu Jun 26, 2025 4:06 am
Forum: ESP-IDF
Topic: [SOLVED] ESP-IDF provided Classic Bluetooth Examples won't compile. (v5.3.3 or v5.4.1)
Replies: 9
Views: 560

Re: Error: identifier "PERIPH_BLUETOOTH_DISCONNECTED" is undefined

OK - I installed the ESP-IDF (v5.4.1) for CLI building from scratch in a Mint Linux VM using the ESP-IDF instructions.

https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/linux-macos-setup.html

That part's easy -- so then I went to compile the hfp_hf example and it fails the ...
by benjammin2068
Fri Jun 13, 2025 1:59 am
Forum: ESP-IDF
Topic: [SOLVED] ESP-IDF provided Classic Bluetooth Examples won't compile. (v5.3.3 or v5.4.1)
Replies: 9
Views: 560

Re: Error: identifier "PERIPH_BLUETOOTH_DISCONNECTED" is undefined


Here are some info about this error message. Did you check these?
https://github.com/espressif/arduino-esp32/issues/6954


This one doesn't help - although I'm also not working with arduino. I'm trying to compile in VScode for a Korvo2.

but regardless, the info isn't helpful.


https ...
by benjammin2068
Fri Jun 13, 2025 1:33 am
Forum: ESP-IDF
Topic: [SOLVED] ESP-IDF provided Classic Bluetooth Examples won't compile. (v5.3.3 or v5.4.1)
Replies: 9
Views: 560

Re: Error: identifier "PERIPH_BLUETOOTH_DISCONNECTED" is undefined

Let me check those links and get back to you.

Thanks,

-Ben
by benjammin2068
Wed May 21, 2025 6:18 pm
Forum: ESP-IDF
Topic: [SOLVED] ESP-IDF provided Classic Bluetooth Examples won't compile. (v5.3.3 or v5.4.1)
Replies: 9
Views: 560

Re: Error: identifier "PERIPH_BLUETOOTH_DISCONNECTED" is undefined

After tinkering some more - I've installed v5.3.3 and v5.4.1 of the ESP-IDF.

If I try to compile the more basic bluetooth (using BlueDroid as included) HF example (in the examples lists) and under each version of IDF, none of them compile.

if feels like something is missing from VScode in terms ...
by benjammin2068
Mon May 19, 2025 6:31 pm
Forum: ESP-IDF
Topic: [SOLVED] ESP-IDF provided Classic Bluetooth Examples won't compile. (v5.3.3 or v5.4.1)
Replies: 9
Views: 560

Re: Error: identifier "PERIPH_BLUETOOTH_DISCONNECTED" is undefined

Hi there,

Thanks for the reply.

I'm using IDF 5.2.5 with whatever the VScode plugin "install ESP-ADF" installs. I'm not presented with an option to install variants of the esp-adf. Only the ESP-IDF. Could that be part of the problem?

When I run the idf.py from a VScode terminal shell, the results ...
by benjammin2068
Thu May 15, 2025 6:28 pm
Forum: ESP-IDF
Topic: [SOLVED] ESP-IDF provided Classic Bluetooth Examples won't compile. (v5.3.3 or v5.4.1)
Replies: 9
Views: 560

[SOLVED] ESP-IDF provided Classic Bluetooth Examples won't compile. (v5.3.3 or v5.4.1)

[SOLUTION]

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 ...
by benjammin2068
Fri May 31, 2024 5:04 pm
Forum: ESP-IDF
Topic: [SOLVED] ESP32-S3 IDF 5.2.x - httpd setting socket options SO_REUSE_ADDR?
Replies: 2
Views: 1128

[SOLVED] Re: ESP32-S3 IDF 5.2.x - httpd setting socket options SO_REUSE_ADDR?

And I looked in the source and see SO_REUSEADDR is now included -- so it was just how I was setting up my UDP packet sender.

The last post I searched and saw (from 2019) seemed to imply that SO_REUSEADDR was missing from the http server.

That's no longer the case.

This is in 5.2.x:

/* Enable ...
by benjammin2068
Fri May 31, 2024 5:23 am
Forum: ESP-IDF
Topic: [SOLVED] ESP32-S3 IDF 5.2.x - httpd setting socket options SO_REUSE_ADDR?
Replies: 2
Views: 1128

[SOLVED] ESP32-S3 IDF 5.2.x - httpd setting socket options SO_REUSE_ADDR?

Hey all,

I have a working serial->UDP application and I recently added an HTTPD server for some user config... and that works too -- EXCEPT....

While the httpd server is running, I'm guessing it set up it's bind with options to NOT use SO_REUSEADDR.

So now, my UDP sending functions get the ...
by benjammin2068
Mon Apr 15, 2024 2:05 am
Forum: ESP-IDF
Topic: softAP mode will never timeout client
Replies: 2
Views: 4373

Re: softAP mode will never timeout client

I have a similar issue I'd like to solve without resorting to ICMP/ping packets.

I wouldn't mind like a 1 or 2 minute timeout.

Go to advanced search