Search found 300 matches

by mbratch
Tue Jan 09, 2024 11:07 pm
Forum: ESP-IDF
Topic: mDNS not found on ESP IDF 5.1.2
Replies: 9
Views: 62603

Re: mDNS not found on ESP IDF 5.1.2

Thank you for the suggestion, but the only thing this command does is just update the content of idf_component.yml file. The requested component still doesn't appear in ESP-IDF directory. Does this require any additional steps? Did you try doing the build after creating the `idf_component.yml` file...
by mbratch
Fri Dec 22, 2023 1:53 pm
Forum: General Discussion
Topic: Program Memory Read/Write
Replies: 9
Views: 18007

Re: Program Memory Read/Write

nnangeroni wrote:
Mon Dec 18, 2023 11:31 pm
Those esp_partition_* API calls, according to the doc, are for external flash, not the onboard program flash. (Maybe I'm confused?)
What part of the doc leads you to believe this? The partition functions do work with partition that is in internal flash. I use them on my project. :)
by mbratch
Sun Dec 10, 2023 7:36 pm
Forum: General Discussion
Topic: Problems using flash_download_tool_3.9.5
Replies: 1
Views: 49826

Re: Problems using flash_download_tool_3.9.5

I have a copy of 3.9.3. I sent you a private message.

I did try 3.9.5 and it is working Ok for me.
by mbratch
Thu Dec 07, 2023 6:01 pm
Forum: ESP32 Arduino
Topic: IP suddenly stops responding after several hours running
Replies: 6
Views: 80234

Re: IP suddenly stops responding after several hours running

Did you manage to solve this? Yes. Originally, I worked around the problem by writing my own wifi event handler in ESP-IDF and, when an unexpected disconnect occurred, I would reconnect to the AP. As far as root cause... there's a problem that happens with only some AP routers. When I wrote my own ...
by mbratch
Thu Nov 30, 2023 12:39 pm
Forum: General Discussion
Topic: Eclipse still showing "unresolved inclusion" and "Symbol couldn't be resolved"
Replies: 19
Views: 36441

Re: Eclipse still showing "unresolved inclusion" and "Symbol couldn't be resolved"

All the indexer errors in Eclipse still plague me. I'm running Eclipse 2023-09. It's driven me nuts for the last couple of years and through different Eclipse upgrade. I see a lot of "solutions" mention settings under "Project -> Properties: C/C++ General -> "Path & Symbols" but this menu doesn't ex...
by mbratch
Mon Nov 20, 2023 3:42 pm
Forum: General Discussion
Topic: HTTP server fails after a while.
Replies: 4
Views: 5603

Re: HTTP server fails after a while.

mbedtls_ssl_handshake returned -0x2700
The error code means that the certificate failed verification. Are you sure your certificate is setup correctly?
by mbratch
Mon Nov 20, 2023 3:24 pm
Forum: General Discussion
Topic: ESP32 and OTA
Replies: 3
Views: 3587

Re: ESP32 and OTA

I'm working on a project, that requires the ability to occasionally update the firmware. My question is, what is the best practise for this? Ideally, the user would not have to connect the device to wifi, (device has no keyboard, so connecting to wifi is rather hard). My idea was to generate its ow...
by mbratch
Mon Nov 20, 2023 3:18 pm
Forum: General Discussion
Topic: Not enough size of heap
Replies: 1
Views: 2629

Re: Not enough size of heap

That's a lot of heap space. How much dynamic data are you allocating per connection? Is it necessary to allocate so much all the time?
by mbratch
Fri Nov 17, 2023 8:33 pm
Forum: General Discussion
Topic: ESP32 can connect to some Wifi 2.4Ghz networks except my home Wifi 2.4Ghz
Replies: 1
Views: 1553

Re: ESP32 can connect to some Wifi 2.4Ghz networks except my home Wifi 2.4Ghz

What are the differences between the AP configuration for your office network as compared to your home AP? For example, are the configured for the same encryption? I would also suggest, in ESP-IDF, turn on the debug level logging. There are also some debug flags for wifi in particular, I think, in t...
by mbratch
Fri Nov 17, 2023 8:17 pm
Forum: General Discussion
Topic: Assertion failed! esp32
Replies: 7
Views: 2198

Re: Assertion failed! esp32

ESP_Sprite wrote:
Fri Nov 17, 2023 1:15 am
That's because the compiler sees a bunch of your functions do nothing or very little and inlines them or skips them alltogether. proof.
Is there a compiler option the OP can set which turns off all the optimizations?