Search found 5 matches

by gerardbos
Mon Feb 01, 2021 3:50 pm
Forum: ESP-IDF
Topic: Wifi disconnects
Replies: 4
Views: 5511

Re: Wifi disconnects

I finally found the issue, after extensive debugging and version compare between the different WiFi examples. The difference is in the sta config: wifi_config_t sta_config = {0}; esp_netif_t * ap_if = esp_netif_create_default_wifi_sta(); esp_netif_set_hostname(ap_if, wifi_hostname); memcpy(sta_confi...
by gerardbos
Fri Jan 29, 2021 11:03 am
Forum: ESP-IDF
Topic: Wifi disconnects
Replies: 4
Views: 5511

Re: Wifi disconnects

By the way, my WiFi code is based on the following example: https://github.com/espressif/esp-idf/tree/master/examples/wifi/getting_started/station And even though it is reshuffled a bit, it works fine for everything, except the OTA update. I have the idea that the OTA update triggers something in th...
by gerardbos
Fri Jan 29, 2021 10:58 am
Forum: ESP-IDF
Topic: Wifi disconnects
Replies: 4
Views: 5511

Re: Wifi disconnects

Yes, I can provide a sample of the code, I tried to strip it down as much as possible, but it still contains a lot of files (as this is part of a much larger system). I've placed the code here: https://cloud.gbmb.nl/index.php/s/FaisxGrzT6YtnpS Due to that the code runs on different devices, an extra...
by gerardbos
Thu Jan 28, 2021 7:53 pm
Forum: ESP-IDF
Topic: Wifi disconnects
Replies: 4
Views: 5511

Wifi disconnects

Hi, i'm working a project with a https webserver and some https client connections. This all seems to work fine on the v4.2 esp-idf release. But, when I'm trying to implement the OTA functionality (using the advanced_ota_https example as a basis), I consequently end up with disconnects of the wifi c...
by gerardbos
Wed Jun 13, 2018 1:16 pm
Forum: Showcase
Topic: HTTP2 client and server component
Replies: 2
Views: 7456

HTTP2 client and server component

Lately I've written an HTTP2 client and server based on the nghttp2 library for the ESP-IDF environment. Examples and code are available on my github: https://github.com/gerardbos/h2clientserver . Features : Client : Uses single task to manage all (open) connections Can keep up to CONFIG_H2CLIENT_CO...