Open preveen-stack opened 1 year ago
Yes I too came accross this issue. Can anyone help me to solve this issue?
Hi There are no the "esp_tls_conn_delete()" functions in the v5.0 IDF SDK. Please refer to the “Function Deprecations And Recommended Alternatives” programming guide.
second issue still didn't resolve
/home/ubuntu22/esp/esp-azure/port/src/tlsio_esp_tls.c:220:59: error: invalid application of 'sizeof' to incomplete type 'esp_tls_t' {aka 'struct esp_tls'} 220 | result->esp_tls_handle = calloc(1, sizeof(esp_tls_t)); |
---|
To anyone having this issue, the second error can be resolved by replacing the line:
result->esp_tls_handle = calloc(1, sizeof(esp_tls_t));
with:
result->esp_tls_handle = esp_tls_init();
I was tying to compile the sample application iothub_client_sample_mqtt with esp-idf 5.0.0 and is getting the below errors. Has anybody come across them?