Search found 5 matches

by trullock
Mon Jan 22, 2024 5:34 pm
Forum: ESP-IDF
Topic: How to get server IP for incoming HTTP request?
Replies: 1
Views: 737

How to get server IP for incoming HTTP request?

I have a webserver which is bound to 0.0.0.0 so it can respond with the ESP in both Station and Access Point mode simultaneously. When an incoming request comes in I can see how to get the clientIP using code like this: int _socket = accept(serverSocketID, (struct sockaddr * )&_sockAddr, &_addrLen);...
by trullock
Thu Oct 05, 2023 2:04 pm
Forum: ESP32 Arduino
Topic: ESP32 Arduino Lib Builder fails
Replies: 1
Views: 2001

Re: ESP32 Arduino Lib Builder fails

strangely, retrying this in a new container and it just worked :/
by trullock
Sat Sep 30, 2023 7:14 am
Forum: ESP32 Arduino
Topic: ESP32 Arduino Lib Builder fails
Replies: 1
Views: 2001

ESP32 Arduino Lib Builder fails

I'm trying to build the `release/v4.4` branch of the esp32 arduino lib builder but its failing with the below error: In file included from /esp32-arduino-lib-builder/components/arduino/libraries/RainMaker/src/RMakerQR.cpp:1: /esp32-arduino-lib-builder/components/arduino/libraries/RainMaker/src/RMake...
by trullock
Wed Sep 20, 2023 10:43 am
Forum: ESP32 Arduino
Topic: LittleFS behaves differently on Arduino for ESP8266 and ESP32
Replies: 3
Views: 2576

Re: LittleFS behaves differently on Arduino for ESP8266 and ESP32

Thanks I'll follow that lead.

If anyone else can shed any light I'd be very grateful. I'll report back if I ever solve this.
by trullock
Tue Sep 19, 2023 7:33 pm
Forum: ESP32 Arduino
Topic: LittleFS behaves differently on Arduino for ESP8266 and ESP32
Replies: 3
Views: 2576

LittleFS behaves differently on Arduino for ESP8266 and ESP32

I'm porting some code from ESP8266 to ESP32 and I've found a behavioural difference between the two which I need to solve. I'm writing log data to a LittleFS file on the ESP8266, calling flush after each write. On the ESP8266 if there is a power failure before `file.close()` is called, the data is s...