Search found 110 matches

by filo_gr
Mon Mar 21, 2022 7:15 am
Forum: ESP-IDF
Topic: [SOLVED] Need help with ESP-PROG + ESP32 debugging
Replies: 3
Views: 7594

Re: Need help with ESP-PROG + ESP32 debugging

I solved these problem, firstly by using another configuration file for the debug interface: the esp32-wrover-kit-3.3v.cfg . 1) This problem I think it's due to the fact the ESP-PROG is connected to the programming pins of the ESP32. Hence, if it is switched on during the programming of the ESP32, i...
by filo_gr
Sun Mar 20, 2022 11:33 am
Forum: ESP-IDF
Topic: [SOLVED] Need help with ESP-PROG + ESP32 debugging
Replies: 3
Views: 7594

Re: Need help with ESP-PROG + ESP32 debugging

Hello, I have similar problem when I start openOCD; here is the message: \blink>openocd -f board/esp32-wrover-kit-3.3v.cfg Open On-Chip Debugger v0.11.0-esp32-20211220 (2021-12-20-15:43) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : Listening on por...
by filo_gr
Sat Mar 19, 2022 1:39 pm
Forum: ESP-IDF
Topic: [SOLVED] Need help with ESP-PROG + ESP32 debugging
Replies: 3
Views: 7594

[SOLVED] Need help with ESP-PROG + ESP32 debugging

Hello! I tried to setup the Openocd debbuger on VSCode to debug a simple software working in an ESP32 (This one, that is a DOIT ESP32 https://it.aliexpress.com/item/32799253567.html?gatewayAdapt=glo2ita&spm=a2g0o.order_list.0.0.21ef3696TdQRqC ). I'm working with ESP-IDF v4.4 on Windows 11. I use the...
by filo_gr
Thu Mar 17, 2022 7:35 am
Forum: ESP-IDF
Topic: Phy filt delay fail (not an error)
Replies: 0
Views: 929

Phy filt delay fail (not an error)

Hello, I use ESP-IDF v4.4 with VSCode. I'm programming an ESP32-S2 custom board. Enabling the WiFi I always see the following lines (I sometimes see them the first time I program an ESP32, but after that they usually disappear). ... I (10814) phy_init: phy_version 1800,e7ef680,Apr 13 2021,11:45:08 I...
by filo_gr
Wed Mar 09, 2022 7:07 am
Forum: ESP-IDF
Topic: WiFi switch without disconnect.
Replies: 11
Views: 8495

Re: WiFi switch without disconnect.

Hello,

Any idea? I'm still in the same situation.
by filo_gr
Mon Feb 28, 2022 9:38 am
Forum: ESP-IDF
Topic: WiFi switch without disconnect.
Replies: 11
Views: 8495

Re: WiFi switch without disconnect.

boarchuz wrote:
Fri Feb 25, 2022 6:15 pm
Yes you can change modes without needing to stop and restart the driver.
Have you got a working example? I really can't understand what's wrong.
by filo_gr
Mon Feb 28, 2022 7:51 am
Forum: ESP-IDF
Topic: WiFi switch without disconnect.
Replies: 11
Views: 8495

Re: WiFi switch without disconnect.

Yes you can change modes without needing to stop and restart the driver. I tried again and I noticed that it doesn't work as espected. I start the behavior as AP+SCAN and then, after a user's action, it must use some credentials to connect to a WiFi network (AP+STA). I think there is something wron...
by filo_gr
Fri Feb 25, 2022 4:02 pm
Forum: ESP-IDF
Topic: WiFi switch without disconnect.
Replies: 11
Views: 8495

WiFi switch without disconnect.

Hello guys, My code is able to use the following modalities of work for the WiFi module: AP+SCAN (no connection), AP+STA (when connected), only STA. When I desire to switch between them, I take care to close the previous connection with: ESP_ERROR_CHECK(esp_wifi_stop()); ESP_ERROR_CHECK(esp_wifi_set...
by filo_gr
Wed Feb 23, 2022 7:23 am
Forum: ESP-IDF
Topic: MQTT client msg_id is always 0?
Replies: 2
Views: 2416

Re: MQTT client msg_id is always 0?

As you can read here https://docs.espressif.com/projects/esp-idf/en/v4.4/esp32/api-reference/protocols/mqtt.html , if you set a QoS = 0, the message ID will be always 0. Can you confirm you are using a Qos = 0? message_id of the publish message (for QoS 0 message_id will always be zero) on success. ...
by filo_gr
Thu Feb 17, 2022 10:02 am
Forum: ESP-IDF
Topic: [SOLVED] Error when scanning WiFi with AP enabled
Replies: 6
Views: 5805

Re: Error when scanning WiFi with AP enabled

I solved the bugs. Firstly, I sometimes have doubts about how to switch correcly between WiFi modes. But now I think I understood how to do it. The second problem was inside my event handler. I was using a condition that stop the WiFi network when some unknow event appears. But in this case it wasn'...