Search found 12 matches
- Thu Jul 06, 2023 8:00 am
- Forum: General Discussion
- Topic: How to run scripts for esp32 in esp-idf
- Replies: 2
- Views: 2842
How to run scripts for esp32 in esp-idf
Hello, I am seeking assistance with running scripts on the ESP32 using the ESP-IDF framework. My goal is to develop an application that can host a web server to provide various settings to users. This application will include JavaScript (JS), Cascading Style Sheets (CSS), and Hypertext Markup Langua...
- Thu Mar 30, 2023 9:51 am
- Forum: General Discussion
- Topic: HTTPS takes more than 40kb of memory
- Replies: 0
- Views: 1174
HTTPS takes more than 40kb of memory
Hi, I am running tow tasks. One to send data to cloud platform using https request and 2nd to perform the OTA update. I run some memory analysis and got the results shown in the attached picture. The issues I am facing are: 1. The https requests are taking more than 40kb of memory when either upload...
- Tue Nov 29, 2022 12:17 pm
- Forum: General Discussion
- Topic: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
- Replies: 4
- Views: 6157
Re: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
Now, I am getting this error. Anyone please help. E (546560) esp-x509-crt-bundle: PK verify failed with error FFFFBD70 E (546560) esp-x509-crt-bundle: Failed to verify certificate E (546560) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x3000 E (546570) esp-tls: Failed to open new connection E (...
- Mon Nov 28, 2022 12:53 pm
- Forum: General Discussion
- Topic: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
- Replies: 4
- Views: 6157
Re: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
After doing some more experiments, It seems the issue with the heap memory. The call to perform data upload takes around 38Kb of heap memory, so when the available memory is less than 38kb, it fails to validate the SSL certificates. The 2nd issue found is timeout. I have multiple tasks running and i...
- Mon Nov 28, 2022 10:20 am
- Forum: General Discussion
- Topic: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
- Replies: 4
- Views: 6157
esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
Hi, I am trying to build https communication alongwith an I2C based RTC. I have integrated custom .pem files for SSL certificate verification. When the sensor is plugged out on I2C driver, the SSL communication works fine and data is transmitted successfuly to the server. I am getting below errors w...
- Thu Sep 15, 2022 4:10 pm
- Forum: ESP-IDF
- Topic: undefined reference to google protobuf libraries.
- Replies: 0
- Views: 3065
undefined reference to google protobuf libraries.
Hi, My platform info: MacBook M1 Pro, esp-idf VS code plugin protobuf 3.21.5 google libraries: /usr/local/include/google/protobuf/** I am trying to integrate the google protocol buffers. I followed the steps mentioned in the esd-idf source directory on path esp-idf-master/components/protocomm I am t...
- Fri Sep 02, 2022 7:36 am
- Forum: General Discussion
- Topic: invalid conversion from 'int' to 'adc_bits_width_t' [-fpermissive]
- Replies: 2
- Views: 2304
invalid conversion from 'int' to 'adc_bits_width_t' [-fpermissive]
Hi,
I am getting the error on line 98 in adc.h in code line
I am using esp-idf version 4.4 in VS code.
Please guide me how to fix this?
I am getting the error
Code: Select all
invalid conversion from 'int' to 'adc_bits_width_t' [-fpermissive] [98,47]
Code: Select all
#define ADC_WIDTH_BIT_DEFAULT (ADC_WIDTH_MAX-1)
Please guide me how to fix this?
- Fri Sep 02, 2022 7:14 am
- Forum: General Discussion
- Topic: How to get free continuous stack size using esp-idf
- Replies: 3
- Views: 4327
Re: How to get free continuous stack size using esp-idf
Code: Select all
uxTaskGetStackHighWaterMark
- Thu Sep 01, 2022 9:03 am
- Forum: General Discussion
- Topic: How to get free continuous stack size using esp-idf
- Replies: 3
- Views: 4327
How to get free continuous stack size using esp-idf
Hi, I am looking for esp-idf function that can provide the availabke stack size just like it provides heap size using heap_caps_get_free_size() I could find the way of determining the stack size of a freeRTOS task using xPortGetFreeHeapSize() , however I want to know the total stack size available a...
- Fri Jul 01, 2022 10:33 am
- Forum: ESP-IDF
- Topic: Compiling gRPC C++ for esp-idf
- Replies: 0
- Views: 2222
Compiling gRPC C++ for esp-idf
Hi, I want to build gRPC for esp-idf to use it with protobuf. When I try to include the grpc.pb.h and grpc.pb.cc files, I get platform errors which seems gRPC does not support espressif. I also tried to direclty include the gRPC package using find_packkage(gRPC CONFIG REQUIRED) This generates an err...