Thanks - I've experimented with both approaches when trying to solve this problem so will refactor my code to make this the standard approach throughout.
The challenge is the way that the pages are built - Treating the HTML as a large string, and loading the latest data into the full html txt in ...
Search found 25 matches
- Tue Apr 01, 2025 9:57 pm
- Forum: ESP-IDF
- Topic: Web server pages timing out / memory issue?
- Replies: 2
- Views: 647
- Tue Apr 01, 2025 2:33 pm
- Forum: ESP-IDF
- Topic: Web server pages timing out / memory issue?
- Replies: 2
- Views: 647
Web server pages timing out / memory issue?
I'm using an ESP32 in an IoT project, logging data from a number of sensors.
I've included a built in WiFi access point and web server so I can connect a computer to the ESP32 to change settings and also to read the logged data. I've also got MQTT running as, eventually, I want the data sent ...
I've included a built in WiFi access point and web server so I can connect a computer to the ESP32 to change settings and also to read the logged data. I've also got MQTT running as, eventually, I want the data sent ...
- Tue Feb 11, 2025 1:48 pm
- Forum: ESP-IDF
- Topic: Spontaneous reboot.
- Replies: 0
- Views: 820
Spontaneous reboot.
My code has started spontaneously rebooting.
ESP32-S3 with code developed using the Espressif IDF in VSCode
Examples include:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037bbba
--- 0x4037bbba: esp_cpu_wait_for_intr at C:/Users ...
ESP32-S3 with code developed using the Espressif IDF in VSCode
Examples include:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037bbba
--- 0x4037bbba: esp_cpu_wait_for_intr at C:/Users ...
- Tue Jan 21, 2025 7:55 am
- Forum: Hardware
- Topic: Landing Page for IoT application / Avoid captive portal
- Replies: 4
- Views: 3957
Re: Landing Page for IoT application / Avoid captive portal
I suspected that might be the problem.
Here's the banner on my Android phone
Here's the banner on my Android phone
- Sun Jan 19, 2025 10:13 pm
- Forum: Hardware
- Topic: Landing Page for IoT application / Avoid captive portal
- Replies: 4
- Views: 3957
Re: Landing Page for IoT application / Avoid captive portal
ps. If I put a redirect in the uri handlers, the web page opens but I get the captive portal banner again
eg
// HTTP handler for connectivity check (e.g., Android)
esp_err_t connectivity_check_handler(httpd_req_t *req) {
httpd_resp_set_status(req, "302 Found");
httpd_resp_set_hdr(req, "Location ...
eg
// HTTP handler for connectivity check (e.g., Android)
esp_err_t connectivity_check_handler(httpd_req_t *req) {
httpd_resp_set_status(req, "302 Found");
httpd_resp_set_hdr(req, "Location ...
- Sun Jan 19, 2025 10:11 pm
- Forum: Hardware
- Topic: Landing Page for IoT application / Avoid captive portal
- Replies: 4
- Views: 3957
Landing Page for IoT application / Avoid captive portal
I'm trying to create a web page to configure an IoT device running on an ESP32.
The idea is that the end user will connect their phone to a soft AP running on the ESP32 and then be taken straight to the web page.
I don't want the captive portal banner to appear at the top of the screen and I want ...
The idea is that the end user will connect their phone to a soft AP running on the ESP32 and then be taken straight to the web page.
I don't want the captive portal banner to appear at the top of the screen and I want ...
- Fri Dec 27, 2024 10:15 pm
- Forum: Hardware
- Topic: Reading from USB port on ESP32-S3
- Replies: 3
- Views: 2400
Re: Reading from USB port on ESP32-S3
Thanks.
Used the code from the link + a bit more research to develop the following which works a treat
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include <stdio.h>
#include "esp_system.h"
#include "esp_log.h"
#include "string.h"
#include "driver/usb_serial_jtag.h"
#define BUF ...
Used the code from the link + a bit more research to develop the following which works a treat
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include <stdio.h>
#include "esp_system.h"
#include "esp_log.h"
#include "string.h"
#include "driver/usb_serial_jtag.h"
#define BUF ...
- Thu Dec 26, 2024 7:48 pm
- Forum: Hardware
- Topic: Reading from USB port on ESP32-S3
- Replies: 3
- Views: 2400
Reading from USB port on ESP32-S3
I'm feeling particularly dumb...
Working on a project with an ESP32-S3-WROOM with built in USB port. I'm using the USB port to program the ESP32 and monitor / debug the code.
When the device first boots I need to write some basic parameters to it - these are device specific, so not hard coded.
My ...
Working on a project with an ESP32-S3-WROOM with built in USB port. I'm using the USB port to program the ESP32 and monitor / debug the code.
When the device first boots I need to write some basic parameters to it - these are device specific, so not hard coded.
My ...
- Tue Nov 26, 2024 11:37 am
- Forum: ESP-IDF
- Topic: OTA F/W Update Certificate Expiry
- Replies: 0
- Views: 779
OTA F/W Update Certificate Expiry
I'm starting to add OTA update to my project, using the Espressive Native OTA code as a starting point.
https://github.com/espressif/esp-idf/blob/master/examples/system/ota/README.md
I've generated the server certificate and key, with a 365 day expiry as per the example.
openssl req -x509 ...
https://github.com/espressif/esp-idf/blob/master/examples/system/ota/README.md
I've generated the server certificate and key, with a 365 day expiry as per the example.
openssl req -x509 ...
- Tue Nov 26, 2024 11:11 am
- Forum: Hardware
- Topic: ESP32 GPIO Interrupts Missing
- Replies: 12
- Views: 5929
Re: ESP32 GPIO Interrupts Missing
I've given up trying to create a solution in the firmware - found a different supplier who make an (almost) identical motor with an encoder that works correctly