Search found 9 matches

by gailu96
Sun Aug 25, 2024 11:47 am
Forum: General Discussion
Topic: Remove Webserver library dependency on FS library
Replies: 3
Views: 1030

Re: Remove Webserver library dependency on FS library

@chegewara Thanks for your reply. I am OK to call IDF functions also. I am migrating code from ESP8266 NON OS SDK to ESP32. I could use IDF only (i.e. without Arduino) but I chose to go with Arduino because of rich eco system of readymade libraries (one such library is IRremoteESP8266 for my IR blas...
by gailu96
Sun Aug 25, 2024 10:26 am
Forum: General Discussion
Topic: Remove Webserver library dependency on FS library
Replies: 3
Views: 1030

Remove Webserver library dependency on FS library

Hi Experts, I am using ESP32 with Arduino. My requirement is only to accept TCP connection on a port and responding to TCP client when a TCP client connects to server (without any file system). When I searched for the server I found examples for Webserver library only and decided to use it. However ...
by gailu96
Sat Aug 17, 2024 8:43 am
Forum: General Discussion
Topic: Any API in ESP32 Arduino or IDF to check current mode (AP, STA)
Replies: 2
Views: 937

Any API in ESP32 Arduino or IDF to check current mode (AP, STA)

Hi Experts, I am migrating from ESP8266 NONOS SDK to ESP32 with Arduino. In our product we need to toggle between STA to AP mode on a press of a switch, i.e. if current mode is STA, change to AP and vice versa. In ESP8266 NONOS SDK there was an API wifi_get_opmode() to check what is the current mode...
by gailu96
Thu Aug 15, 2024 4:56 pm
Forum: General Discussion
Topic: Multiple Tasks on ESP32 with Arduino
Replies: 2
Views: 921

Re: Multiple Tasks on ESP32 with Arduino

Please ignore this post. I found the bug.

Bug is semicolon at the end of for loop. My bad.
by gailu96
Thu Aug 15, 2024 4:04 pm
Forum: General Discussion
Topic: Multiple Tasks on ESP32 with Arduino
Replies: 2
Views: 921

Multiple Tasks on ESP32 with Arduino

Hi Experts, I am moving from ESP8266 NONOS SDK to ESP32 with Arduino and learning it slowly. I am trying to create 2 tasks running in parallel. Tasks gets created execute first loop and then ESP crashes. I am attaching my simple code and Crash logs. Can someone please let me know what is wrong with ...
by gailu96
Sun Aug 11, 2024 9:46 am
Forum: General Discussion
Topic: esp_flash_read()/esp_flash_write() ignoring length parameter
Replies: 3
Views: 1407

Re: esp_flash_read()/esp_flash_write() ignoring length parameter

Thanks. After erasing Its working as expected. Thanks for your support
by gailu96
Sat Aug 10, 2024 6:41 pm
Forum: General Discussion
Topic: esp_flash_read()/esp_flash_write() ignoring length parameter
Replies: 3
Views: 1407

esp_flash_read()/esp_flash_write() ignoring length parameter

Hi Experts, I am trying to esp_flash_read() and esp_flash_write() apis of ESP IDF. Using ESP32 Dev board with 2MB RAM. I have reserved 1MB flash starting for my custom data usage. I am able to write and read in to flash using apis, but only 1 Byte. Rest bytes of my buffer are either not written to f...
by gailu96
Sat Aug 10, 2024 6:19 pm
Forum: ESP-IDF
Topic: esp_flash_read/esp_flash_write problem
Replies: 1
Views: 734

esp_flash_read/esp_flash_write problem

Hi Experts, I am using ESP32 version 3.0.4 in Arduino. I have dedicated 1MB for user data in my partition table and using esp_flash_read()/esp_flash_write() to read and write data. It seems that either in write or in read only one byte length is taken and length argument is ignored. I built the code...