Search found 25 matches

by BivvyCoder
Tue Apr 01, 2025 9:57 pm
Forum: ESP-IDF
Topic: Web server pages timing out / memory issue?
Replies: 2
Views: 647

Re: Web server pages timing out / memory issue?

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 ...
by BivvyCoder
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 ...
by BivvyCoder
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 ...
by BivvyCoder
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
Screenshot_2025-01-21-07-49-46-72_cbe8c7c25be320d0c6f8847e2dea9fd0.jpg
Screenshot_2025-01-21-07-49-46-72_cbe8c7c25be320d0c6f8847e2dea9fd0.jpg (57.23 KiB) Viewed 3658 times
by BivvyCoder
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 ...
by BivvyCoder
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 ...
by BivvyCoder
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 ...
by BivvyCoder
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 ...
by BivvyCoder
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 ...
by BivvyCoder
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

Go to advanced search