Search found 94 matches
- Fri Jul 08, 2022 5:00 pm
- Forum: General Discussion
- Topic: how do I know out the noise level on the channel?
- Replies: 1
- Views: 1758
Re: how do I know out the noise level on the channel?
What will you use it for? Here are some WIFI thoughts...both ideas want some long term averaging... 1) I get signal levels from about -65 (very good) to -99 (very bad) from all the neighbor's beacons. If you have a always-on device at a fixed location and the ESP at a fixed location, you might use t...
- Fri Jul 01, 2022 4:09 pm
- Forum: ESP32 Arduino
- Topic: ESP32 freezes/reboots every few hours
- Replies: 8
- Views: 6464
Re: ESP32 freezes/reboots every few hours
add print statements, before and after calls, then check the log when it crashes. Check for arrays allocated on the stack, and look to see if they might be written beyond either end. The corrupted message probably means the return addresses on the stack have been clobbered. You might be able to use ...
- Tue Jun 28, 2022 2:34 pm
- Forum: Sample Code
- Topic: Support for file compression
- Replies: 9
- Views: 63174
Re: Support for file compression
1) figure out if you are looking at a zip file or a tar.gz file. They are NOT the same.
2) if it is a tar.gz file, google turned this up: https://github.com/tobozo/ESP32-targz . I have not looked at it, but it might be a step in the right direction.
2) if it is a tar.gz file, google turned this up: https://github.com/tobozo/ESP32-targz . I have not looked at it, but it might be a step in the right direction.
- Sat Jun 25, 2022 7:12 pm
- Forum: Sample Code
- Topic: Support for file compression
- Replies: 9
- Views: 63174
Re: Support for file compression
https://en.wikipedia.org/wiki/Info-ZIP (pointer to zip-file code, there are others) https://en.wikipedia.org/wiki/Gzip (pointer to gzip code, there might be others) https://en.wikipedia.org/wiki/Tar_(computing) (what is a TAR file) https://en.wikipedia.org/wiki/List_of_archive_formats (list of form...
- Wed Jun 22, 2022 1:30 pm
- Forum: General Discussion
- Topic: ESP32 128-bit UUID
- Replies: 5
- Views: 10216
Re: ESP32 128-bit UUID
make sure you are using memcpy, not memcmp.
using "memcmp(remote_filter_service
- Sun Jun 19, 2022 7:21 pm
- Forum: General Discussion
- Topic: Access Linux shares from ESP32
- Replies: 5
- Views: 3382
Re: Access Linux shares from ESP32
I think you might be going down a better path, but a long time ago I used an Apache+PHP web page on a low-end VPS to accept POSTs for logging time lapse JPGs from a raspberry pi. Use https and Basic Auth to keep it reasonably secure. The advantage might be a smaller footprint on the esp32, if you ne...
- Sun Jun 12, 2022 11:58 pm
- Forum: ESP-IDF
- Topic: SNTP returns same value each time
- Replies: 4
- Views: 2383
Re: SNTP returns same value each time
...and the tv parameter was not useful to me. I didn't try to figure it out because the system time is already updated. void time_sync_notification_cb(struct timeval *tv) { time_t now; struct tm timeinfo; time(&now); localtime_r(&now, &timeinfo); char strftime_buf[64]; strftime(strftime_buf, sizeof(...
- Sun Jun 12, 2022 11:40 pm
- Forum: ESP-IDF
- Topic: SNTP returns same value each time
- Replies: 4
- Views: 2383
Re: SNTP returns same value each time
Every 15 seconds is too often. Try something like the default (1 hour) or sntp_set_sync_interval(2*3600*1000); // 2 hours (see also: https://www.pool.ntp.org/tos.html ) My experience was it takes several seconds to sync. Maybe more than 15. I remember an sntp sample as well; it was a good starting p...
- Sat Jun 11, 2022 3:18 pm
- Forum: ESP32 Arduino
- Topic: I'm programming with arduino but i need more stack space
- Replies: 9
- Views: 6558
Re: I'm programming with arduino but i need more stack space
Do you know why when i use the xTaskCreateUniversal(newloop,“newloop”, x*1024, NULL, 1, NULL, ARDUINO_RUNNING_CORE); with x>64 the output is <64k? the parameter is a 16 bit int. I'm not sure you'll find 350K of contiguous memory for a stack. #ifndef configSTACK_DEPTH_TYPE /* Defaults to uint16_t fo...
- Thu Jun 09, 2022 10:20 pm
- Forum: ESP-IDF
- Topic: ESP32: Security of wifi APSTA mode
- Replies: 1
- Views: 1188
Re: ESP32: Security of wifi APSTA mode
I just tried connecting two different computers to the ESP32 AP at the same time. The two computers were assigned 192.168.5.2 and 192.168.5.3. The AP is 192.168.5.1. I can ping from 5.2 to 5.3 and from 5.3 to 5.2. That is what I'd expect from an AP, but I had not tried it before on the ESP32. Edit: ...