Search found 10 matches

by francescofcf
Fri Oct 12, 2018 2:54 pm
Forum: ESP-IDF
Topic: event_handler STADISCONNECTED sometimes not received
Replies: 2
Views: 4872

Re: event_handler STADISCONNECTED sometimes not received

The new release ESP-IDF V3.1 did not solve the problem!
by francescofcf
Thu Oct 04, 2018 12:16 pm
Forum: ESP-IDF
Topic: Add multiple Service GATT
Replies: 0
Views: 2705

Add multiple Service GATT

I use the gatts_table_creat_demo but I not be successful to add services.

I would like have an profile with services:

1. Battery Service 0x180F
2. Device Information 0x180A
3. Custom Service UUID generation
4. Legacy DFU Service

can someone help me?
by francescofcf
Thu Oct 04, 2018 7:44 am
Forum: ESP-IDF
Topic: not all HTTP servers works fine with OTA, why???
Replies: 3
Views: 5957

Re: not all HTTP servers works fine with OTA, why???

Ok thanks, the problem is maybe that one.
Unfortunately I can not find a way to change in HTTP/1.0
I use the call at

Code: Select all

 esp_err_t ret = esp_https_ota(&config);
and I can not find any define or other to change from 1.1 to 1.0
by francescofcf
Wed Oct 03, 2018 4:11 pm
Forum: ESP-IDF
Topic: not all HTTP servers works fine with OTA, why???
Replies: 3
Views: 5957

not all HTTP servers works fine with OTA, why???

I have an problem about the web server where do I put my firmware.bin not all HTTP servers works fine with OTA, why??? When I send the GET request to the HTTP server, I send: 10.0.0.20--[02/oct/2018:15:06:52 +0200] “GET/ firmware.bin http/1.1” 2001 1159872 “-“ “esp32 http Client/1.0” where 10.0.0.20...
by francescofcf
Mon Oct 01, 2018 7:14 am
Forum: General Discussion
Topic: Encrypted OTA firmware
Replies: 23
Views: 33419

Re: Encrypted OTA firmware

Thanks for your sharing. Very useful to try and solve my problem. I would like to start the procedure ota using esp32 as AP with DHCP and this involves the problem of not knowing the IP address of the HTTPS server and therefore I can not generate the "self-signed certificate and key" because I do no...
by francescofcf
Mon Oct 01, 2018 6:44 am
Forum: General Discussion
Topic: ESP32 OTA Example pem file.
Replies: 7
Views: 16070

Re: ESP32 OTA Example pem file.

Generate self-signed certificate and key:
openssl req -x509 -newkey rsa:2048 -keyout ca_key.pem -out ca_cert.pem -days 365

when ask you the Common Name type your host-name
after Copy the generate certificate to server_certs directory inside OTA example directory.
read the workflow.
by francescofcf
Thu Sep 06, 2018 8:27 am
Forum: ESP-IDF
Topic: The compilation is very slowly
Replies: 9
Views: 21022

Re: The compilation is very slowly

thanks it works very well
by francescofcf
Thu Sep 06, 2018 6:47 am
Forum: ESP-IDF
Topic: The compilation is very slowly
Replies: 9
Views: 21022

Re: The compilation is very slowly

I also had the same problem, I solved in part this way:

1. Regedit
2. Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
3. create key DisableAntiSpyware -> value 1
by francescofcf
Wed Sep 05, 2018 9:30 am
Forum: ESP-IDF
Topic: event_handler STADISCONNECTED sometimes not received
Replies: 2
Views: 4872

Re: event_handler STADISCONNECTED sometimes not received

another information: I have chek the problem also in " Simple WiFi Example " in " esp-idf \ examples \ wifi \ simple_wifi \ main " whitout modify. (it happens similarly also in this example) After If I add a task and print this information: ESP_ERROR_CHECK(esp_wifi_ap_get_sta_list(&wifi_sta_list));...
by francescofcf
Wed Sep 05, 2018 9:15 am
Forum: ESP-IDF
Topic: event_handler STADISCONNECTED sometimes not received
Replies: 2
Views: 4872

event_handler STADISCONNECTED sometimes not received

Hi, I have an problem about event_handler(void *ctx, system_event_t *event) In My project I initialize the ESP32 in AP with DHCP. This is the code.. void wifi_init_softap() { wifi_event_group = xEventGroupCreate(); tcpip_adapter_init(); ESP_ERROR_CHECK(esp_event_loop_init(event_handler, NULL)); wifi...