Search found 54 matches

by Zeni241
Mon Jul 13, 2020 1:17 pm
Forum: ESP32 IDF
Topic: ESP32 Websocket Server
Replies: 4
Views: 222

Re: ESP32 Websocket Server

For two way communication in IoT world, the preferred and most used protocol is MQTT (instead of http). A few desirable features of MQTT are: Small code footprint (to make it easy to implement in small devices) Low power consumption Low bandwidth consumption Low latency Use of a publish/subscribe (“...
by Zeni241
Fri May 01, 2020 1:31 pm
Forum: Hardware
Topic: How many write/erase cycle on flash??
Replies: 4
Views: 784

Re: How many write/erase cycle on flash??

Thanks WiFive for response. Good clue, “erase only when run out of space” to reduce at least erase cycle. Just wondering, do people often use this approach in production (save data on flash for a while for later uploading on server) :? :shock: ? Just gathering courage to use this approach. :D :D
by Zeni241
Fri May 01, 2020 7:34 am
Forum: Hardware
Topic: How many write/erase cycle on flash??
Replies: 4
Views: 784

How many write/erase cycle on flash??

I want to take reading of a sensor every 5 minutes and save it on flash. Then every 24 hours I will send it to server via WiFi. I read somewhere in this forum that there is a limit of about 10000 write/erase cycles on flash of ESP32 WROOM. (ESP32 WROOM probably uses GD25Q32C and according to its dat...
by Zeni241
Wed Mar 11, 2020 3:25 pm
Forum: General Discussion
Topic: Windows Powershell to build, configure, flash etc.
Replies: 1
Views: 4476

Windows Powershell to build, configure, flash etc.

Currently I am using ESP-IDF command prompt to build, configure, flash etc. How can I use windows Powershell to run commands like idf.py menuconfig etc.?

I am using idf version 4.0 with CMake.
by Zeni241
Mon Mar 09, 2020 11:54 am
Forum: ESP32 IDF
Topic: missing braces around initializer [-Werror=missing-braces]
Replies: 1
Views: 2582

Re: missing braces around initializer [-Werror=missing-braces]

Type casting sta_config.sta.ssid and sta_config.sta.password to (char* ) solved the problem: wifi_config_t sta_config = {}; strcpy((char *)sta_config.sta.ssid, vSSID); strcpy((char *)sta_config.sta.password, vPW); instead of wifi_config_t wifi_config = { .sta = { .ssid = aa, .password = bb }, };
by Zeni241
Sat Mar 07, 2020 9:27 am
Forum: ESP32 IDF
Topic: missing braces around initializer [-Werror=missing-braces]
Replies: 1
Views: 2582

missing braces around initializer [-Werror=missing-braces]

I am building wifi example esp-idf/examples/wifi/getting_started/station/. I only changed these lines: char aa[]="myssid"; char bb[]="mypassword"; wifi_config_t wifi_config = { .sta = { .ssid = aa, .password = bb }, }; Now I am getting this error: ../main/station_example_main.c: In function 'wifi_in...
by Zeni241
Fri Feb 14, 2020 12:44 pm
Forum: ESP32 IDF
Topic: Using esp-idf command prompt for building projects in folders other than esp-idf folder
Replies: 1
Views: 936

Using esp-idf command prompt for building projects in folders other than esp-idf folder

I used ESP-IDF Tools Installer version 2.3 to successfully install required tools and esp-idf 4.0. I can configure, build, flash projects if they are in some sub folder of esp-idf folder. But I work on projects which are in some folder other than esp-idf folder. How can I use esp-idf command prompt ...
by Zeni241
Thu Feb 13, 2020 3:44 am
Forum: ESP32 IDF
Topic: ESP-IDF V4.0 has been released Documentation
Replies: 3
Views: 988

Re: ESP-IDF V4.0 has been released Documentation

Please provide this link to eclipse plugin https://github.com/espressif/idf-eclips ... /README.md in stable version (4.0) document as well, as you have done in latest (4.1) document.

Go to advanced search