Search found 17 matches

by Amir_El
Wed Mar 23, 2022 10:05 am
Forum: ESP IoT Solution
Topic: ESP32 WPA2 Enterprise Connection via Identity and Certificate
Replies: 5
Views: 10655

Re: ESP32 WPA2 Enterprise Connection via Identity and Certificate

Enable the debug log on mbedtls, lwip and WiFi to see any errors during authentication. This worked for me and I could see that there was insufficient heap to validate the customer ServerCa.crt upon handshake. Customer used quite a large certificate of 20kb. Also make sure the identity is set the w...
by Amir_El
Thu Nov 11, 2021 4:55 pm
Forum: ESP32 Arduino
Topic: Measuring the RTC Timer during deep sleep
Replies: 0
Views: 2208

Measuring the RTC Timer during deep sleep

Hello, I'm driving the ESP32 into a deep sleep and enabling 2 sources to wake it up, one is the Timer & the other is one of the GPIO as a touchpad. using the esp_sleep_enable_timer_wakeup I can set the time interval that wakes the ESP up, but how I can measure the elapsed time when the ESP is in a d...
by Amir_El
Tue Aug 24, 2021 6:44 pm
Forum: ESP-IDF
Topic: A guide on how to add a component into a project
Replies: 5
Views: 5555

Re: A guide on how to add a component into a project

Thank you for sharing this. I modified the directories as it's shown but I'm still struggling to register the component. This is My Top Level CMakeLists: https://i.postimg.cc/KvFkjr0N/CMake-Register.png This is the inside main folder CMakeLists https://i.postimg.cc/MpnWpnJ5/main-Cmake.png This is th...
by Amir_El
Thu Jul 22, 2021 3:10 pm
Forum: ESP-IDF
Topic: A guide on how to add a component into a project
Replies: 5
Views: 5555

Re: A guide on how to add a component into a project

Hi, thank you for your replay..... I copy it into a folder that I created inside the "main" folder and add the line idf_component_register(SRCS "main.c" INCLUDE_DIRS "." "./Lib/LoRaWAN" ) To the CMake file inside the main folder. my project structure is like https://i.postimg.cc/2yy7TYCJ/WSL-Lo-Ra-W...
by Amir_El
Wed Jul 21, 2021 2:00 pm
Forum: ESP-IDF
Topic: A guide on how to add a component into a project
Replies: 5
Views: 5555

A guide on how to add a component into a project

Hello everyone, i would like to include this LoRaWAN Component in my project https://github.com/TobleMiner/lmic-esp-idf but I always get a compilation error. Could someone kindly, guide me to how to include the library (what modification I should do in the CMake file and where is the directory shoul...
by Amir_El
Tue Jun 22, 2021 2:32 pm
Forum: ESP-IDF
Topic: ESP32 & LoRaWAN
Replies: 0
Views: 1635

ESP32 & LoRaWAN

Hello Everyone, i'm using the esp32-ttn library that is based on the LMIC https://github.com/manuelbl/ttn-esp32/blob/master/examples/hello_world/main/main.cpp . i saw that it works for other people but for me, I get a memory error which I would be grateful if anyone could help me to understand what ...
by Amir_El
Thu Apr 01, 2021 1:45 pm
Forum: ESP-IDF
Topic: i2c Write successfully but read wrong data !!
Replies: 0
Views: 1817

i2c Write successfully but read wrong data !!

Hi everyone, The ESP32 is communicating with PCF8563 RTC. This is my manual RTC Time set routine CMD_RTX_Set = i2c_cmd_link_create(); i2c_master_start(CMD_RTX_Set); i2c_master_write_byte(CMD_RTX_Set, RTC_Write_Add, Want_Ack); i2c_master_write_byte(CMD_RTX_Set, VL_secondsReg, Want_Ack); // Auto incre...
by Amir_El
Mon Mar 15, 2021 7:11 pm
Forum: ESP-IDF
Topic: [SOLVED] OTA Different behavior on different boards !!
Replies: 2
Views: 2335

Re: OTA Different behavior on different boards !!

For those who may face the same issue. It is a battery issue, My battery was not charged good and it seems during the OTA the Wifi requires more peak current hence the battery lake to supply the required current, and hence the process fails.

Charging the Battery solved the Problem.
by Amir_El
Sun Mar 14, 2021 10:29 pm
Forum: ESP-IDF
Topic: [SOLVED] OTA Different behavior on different boards !!
Replies: 2
Views: 2335

[SOLVED] OTA Different behavior on different boards !!

Hi Everyone, Can anyone tell me what could be the cause that makes one board (always) successful to update the firmware through OTA
Image

while the other board but also uses WROOM32 chip (always) fail with the same code !!
Image
by Amir_El
Sun Mar 14, 2021 9:08 am
Forum: IDEs for ESP-IDF
Topic: New VSC Updates Stops Project build
Replies: 3
Views: 3831

Re: New VSC Updates Stops Project build

I noticed also that my C/C++ Compiler has been changed !!

How I can change the compiler back to the old clang-x64 ?

Image