Search found 57 matches

by filipESP
Thu Sep 19, 2019 7:08 am
Forum: ESP32 IDF
Topic: Stack usage.
Replies: 0
Views: 312

Stack usage.

Hi,
I found info about component_compile_options(-fstack-usage) and #CFLAGS += -fstack-usage but after adding this instructions to makefile, it generate .su file for each module but not for total usage of stack.

How to get the total info?
by filipESP
Tue Sep 10, 2019 2:34 pm
Forum: ESP32 IDF
Topic: mbedtls_ssl_handshake returned -0x7200
Replies: 7
Views: 1476

Re: mbedtls_ssl_handshake returned -0x7200

I resolved my problem.
Change version openssl from 1.1.1 to 1.0.2 helped me.
by filipESP
Tue Sep 10, 2019 6:36 am
Forum: ESP32 IDF
Topic: mbedtls_ssl_handshake returned -0x7200
Replies: 7
Views: 1476

Re: mbedtls_ssl_handshake returned -0x7200

This expression is true: segment->data_len >= SIXTEEN_MB.
Is inside the verify_segment_header() function (esp_image_format.c file), which return return ESP_ERR_IMAGE_INVALID.
by filipESP
Mon Sep 09, 2019 2:52 pm
Forum: ESP32 IDF
Topic: mbedtls_ssl_handshake returned -0x7200
Replies: 7
Views: 1476

Re: mbedtls_ssl_handshake returned -0x7200

It is getting better but next error is: I (6786) esp_https_ota: Starting OTA... I (6786) esp_https_ota: Writing to partition subtype 16 at offset 0x110000 I (6936) esp_https_ota: esp_ota_begin succeeded I (6936) esp_https_ota: Please Wait. This may take time I (6966) esp_https_ota: Connection closed...
by filipESP
Mon Sep 09, 2019 11:50 am
Forum: ESP32 IDF
Topic: mbedtls_ssl_handshake returned -0x7200
Replies: 7
Views: 1476

Re: mbedtls_ssl_handshake returned -0x7200

OK, I resolve my issue but apears next:

E (6981) esp_ota_ops: OTA image has invalid magic byte (expected 0xE9, saw 0x45
E (7001) esp_https_ota: Error: esp_ota_write failed! err=0x0
E (7001) simple_ota_example: Firmware upgrade failed

I can't find any info about this error.
by filipESP
Mon Sep 09, 2019 6:32 am
Forum: ESP32 IDF
Topic: mbedtls_ssl_handshake returned -0x7200
Replies: 7
Views: 1476

mbedtls_ssl_handshake returned -0x7200

Hi, I have a problem as below. I (5141) simple_ota_example: Starting OTA example I (5141) simple_ota_example: Connected to WiFi network! Attempting to connect to server... E (5171) esp-tls: mbedtls_ssl_handshake returned -0x7200 I (5171) esp-tls: Certificate verified. E (5171) esp-tls: Failed to ope...
by filipESP
Mon Aug 12, 2019 8:08 am
Forum: ESP32 IDF
Topic: Implementation of esp_wifi_start().
Replies: 2
Views: 893

Re: Implementation of esp_wifi_start().

rudi ;-) wrote:
Fri Aug 09, 2019 1:39 pm
filipESP wrote:
Fri Aug 09, 2019 10:30 am

if you ask for bgn ...it is a protocoll mode ...
Thanks.
by filipESP
Fri Aug 09, 2019 10:30 am
Forum: ESP32 IDF
Topic: Implementation of esp_wifi_start().
Replies: 2
Views: 893

Implementation of esp_wifi_start().

Hi.
Where I can find the implementation of eg. esp_wifi_start() or other wifi function in ESP-IDF?
I need to know what is the 40U in log: "wifi: ... AID=1, bgn, 40U"
by filipESP
Thu Jun 27, 2019 10:10 am
Forum: ESP32 IDF
Topic: Firmware update with LwM2M.
Replies: 1
Views: 684

Firmware update with LwM2M.

Hello.
What I need to connect to LwM2M server with using coap api?
Is it possible to implemet LwM2M client?
by filipESP
Tue May 14, 2019 7:37 am
Forum: ESP32 IDF
Topic: Failed to allocate socket. errno=23
Replies: 0
Views: 455

Failed to allocate socket. errno=23

I use mqtt paho library and sometimes appears the problem with socket. ESP can't exit from loop and non stop tries to connect with the sever but the error is still the same. I connect to mqtt queue on the start od program and never call disconnect function couse I need to send data constantly. Could...