Search found 15 matches

by alhadi
Tue Aug 29, 2023 2:33 pm
Forum: ESP-IDF
Topic: UART sleep is not working
Replies: 1
Views: 972

Re: UART sleep is not working

Any reply please?
by alhadi
Mon Aug 28, 2023 11:34 am
Forum: ESP-IDF
Topic: UART sleep is not working
Replies: 1
Views: 972

UART sleep is not working

Hello, I'm testing UART wakeup to use later on another application. But it's not working with me on v4.4. It is working fine on Arduino for some reason but not on esp-idf. So, the HW is fine. I'm assuming I missed something in sdkconfig maybe? My hw is esp32s3 My code: #include <stdio.h> #include "f...
by alhadi
Tue Jun 06, 2023 11:40 am
Forum: ESP-IDF
Topic: Sleep modes on ESP32S3 and SIM7600 while maintaining MQTT connection
Replies: 0
Views: 1013

Sleep modes on ESP32S3 and SIM7600 while maintaining MQTT connection

Hello, I have an application where I need ESP32S3 to be in light sleep and the cell modem sim7600 to be sleep using DTR pin and "AT+CSCLK=1". I need the MQTT connection to be up so that when I receive a message on a SUBSCRIBE topic, both will wake up and I can parse the received message. I'm using e...
by alhadi
Sun Aug 28, 2022 8:22 am
Forum: ESP-IDF
Topic: Error: fatal error: mbedtls/config.h: No such file or directory
Replies: 7
Views: 10605

Re: Error: fatal error: mbedtls/config.h: No such file or directory

Please have a look at `build/compile_commands.json` file in your project directory. Alternatively you may run `idf.py -v build` for more verbose build. Thank you for your reply I found the problem The file base64.h was included in one of my C files I don't know how that happened or why it wasn't gi...
by alhadi
Tue Aug 23, 2022 11:07 am
Forum: ESP-IDF
Topic: Error: fatal error: mbedtls/config.h: No such file or directory
Replies: 7
Views: 10605

Re: Error: fatal error: mbedtls/config.h: No such file or directory

This build error should not occur, as we use `esp_config.h` header file for configuration. Please see https://github.com/espressif/esp-idf/blob/23d5a582cb27d7c909d52557ca0ddceade510db8/components/mbedtls/CMakeLists.txt#L189 Can you please check your build command once and confirm above mentioned `-...
by alhadi
Wed Aug 17, 2022 12:17 pm
Forum: ESP-IDF
Topic: Error: fatal error: mbedtls/config.h: No such file or directory
Replies: 7
Views: 10605

Error: fatal error: mbedtls/config.h: No such file or directory

Hello, I migrated my project to VS code I cloned my project from GitHub and when I compile, I get this error: c:\espressif\frameworks\esp-idf-v4.4.2\components\mbedtls\mbedtls\include\mbedtls\base64.h:26:10: fatal error: mbedtls/config.h: No such file or directory Knowing that the project was workin...
by alhadi
Mon Jun 27, 2022 8:16 am
Forum: ESP-IDF
Topic: OTA for slave MODBUS
Replies: 3
Views: 2438

Re: OTA for slave MODBUS

Hi, I'm using UART or TCP communication to update slave ESP32 MCU. All you have to do is use these steps: Begin update with: static esp_ota_handle_t update_handle = 0; static const esp_partition_t *update_partition = NULL; ... update_partition = esp_ota_get_next_update_partition(NULL); esp_ota_begi...
by alhadi
Mon Jun 20, 2022 12:47 pm
Forum: ESP-IDF
Topic: OTA for slave MODBUS
Replies: 3
Views: 2438

OTA for slave MODBUS

Hello

I have 2 boards connected to each other using Modbus
The master board is connected to the internet using Ethernet
I can ota the master board using the http_ota example
Is there a way to perform ota for the slave board through master board since slave board has no access to internet?
by alhadi
Thu May 19, 2022 7:18 am
Forum: ESP-IDF
Topic: OTA for slave board over RS485 ModBus
Replies: 2
Views: 2589

OTA for slave board over RS485 ModBus

Hello, I have 2 esp32 boards connected to each other through Modbus over RS485 The master board is connected to internet using Ethernet The OTA for master board is using http to fetch the binary using a URL Now, I want OTA for the slave board as well I want the master board also to fetch the binary ...
by alhadi
Mon May 09, 2022 6:53 am
Forum: IDEs for ESP-IDF
Topic: Indexer doesn't work on a project imported from Github
Replies: 2
Views: 2981

Re: Indexer doesn't work on a project imported from Github

Hello, Errors on the project will go off only after the build, so please build the project and see if that helps? If the imported project is having "build" folder with some files, could you delete the build folder and re-run the project. Could you also share the error log and parser log to check fu...