Search found 31 matches

by iParcelBox
Tue Nov 12, 2024 11:40 am
Forum: ESP-IDF
Topic: WiFi APSTA Mode with WIFI_PROTOCOL_LR on STA only
Replies: 2
Views: 546

Re: WiFi APSTA Mode with WIFI_PROTOCOL_LR on STA only

I don’t think that will work: during the provisioning process whilst connected to the AP eg from an iPhone, I need the esp to scan for (and test the connection to) the other device in LR mode, so would need AP mode (no LR) and STA mode (with LR) at the same time.
by iParcelBox
Tue Nov 12, 2024 7:06 am
Forum: ESP-IDF
Topic: Problem parsing Regex pattern with escape characters
Replies: 3
Views: 628

Re: Problem parsing Regex pattern with escape characters

For others trying to resolve the same issue, I was unable to get regex to work with any escaped characters, so for my specific use case I ended up modifying it as follows:

Code: Select all

const char *regex_pattern = "([IDWE]) .([0-9]+). ([A-Za-z0-9_-]+): ?(.+)?";


It's not as elegant, but it works....
by iParcelBox
Tue Nov 12, 2024 7:05 am
Forum: ESP-IDF
Topic: WiFi APSTA Mode with WIFI_PROTOCOL_LR on STA only
Replies: 2
Views: 546

WiFi APSTA Mode with WIFI_PROTOCOL_LR on STA only

Hello, I'm trying to enable provisioning of an ESP32-S3 over WiFi AP mode from a phone, to enable the user to configure the device to connect to another ESP32 device in LR mode. However, it seems that as soon as add `WIFI_PROTOCOL_LR` to `ÈSP_IF_WIFI_STA`, the device is no longer visible as an AP to...
by iParcelBox
Mon Nov 11, 2024 5:02 pm
Forum: ESP-IDF
Topic: WIFI_MODE_APSTA interface support for AP (BGN) and STA (LR)?
Replies: 7
Views: 5824

Re: WIFI_MODE_APSTA interface support for AP (BGN) and STA (LR)?

I'm also trying to achieve exactly this using an ESP32S3 with IDF 5.3.1, but the same issue - as soon as I enable WIFI_PROTOCOL_11N on ESP_IF_WIFI_STA, ESP_IF_WIFI_AP is no longer visible to non-ESP devices.

Did anyone manage to get this working?
by iParcelBox
Sun Nov 10, 2024 7:32 am
Forum: ESP-IDF
Topic: Problem parsing Regex pattern with escape characters
Replies: 3
Views: 628

Re: Problem parsing Regex pattern with escape characters

Apologies mine was a typo, yes it was the below I was trying but failing with:

Code: Select all

const char *regex_pattern = "([IDWE]) (\\S+) (.+)";
I’ve corrected the op above
by iParcelBox
Sat Nov 09, 2024 8:14 pm
Forum: ESP-IDF
Topic: Problem parsing Regex pattern with escape characters
Replies: 3
Views: 628

Problem parsing Regex pattern with escape characters

I'm trying to use regex.h on an ESP32S3 in ESP-IDF 5.3.1 to extract elements from a log message so that I can reformat it to be IETF compliant. However, whenever I try to use a regex pattern including any escape characters, it fails. For example, I'm trying to parse a simple log message such as the ...
by iParcelBox
Sun Oct 20, 2024 8:36 pm
Forum: General Discussion
Topic: How do I upload a core dump to a server and analyze it?
Replies: 6
Views: 3181

Re: How do I upload a core dump to a server and analyze it?

As an update, I've realised that most times when I force an abort() it saves the crash dump correctly and I'm able to download it from flash. However, occasionally I get a crash and, despite coredump being set to write to flash, I see the below in the console: ` [Oct 20 21:33:45.868] I (5861) esp_co...
by iParcelBox
Sun Oct 20, 2024 8:06 pm
Forum: General Discussion
Topic: How do I upload a core dump to a server and analyze it?
Replies: 6
Views: 3181

Re: How do I upload a core dump to a server and analyze it?

I'm trying to exactly this, but really struggling to get it to work. If I cause a panic crash dump to UART, I see it starts with something like: ` ================= CORE DUMP START ================= rI0AAAIBCQAAAAAAAAAAAAAAAAACAAAA f0VMRgEBAQAAAAAAAAAAAAQAXgABAAAAAAAAADQAAAAAAAAAAAAAADQAIAAqACgA AAA...
by iParcelBox
Thu Jul 04, 2024 2:58 pm
Forum: ESP-IDF
Topic: ESP32-S3 Console Component with Automatic Light Sleep
Replies: 0
Views: 626

ESP32-S3 Console Component with Automatic Light Sleep

I'm trying to test the console component on a device with automatic light sleep enabled, without success. (IDF 5.2.2). If I disable light sleep, everything works fine, however as soon as I include the following in my code, the line noise prompt never appears: // Enable automatic light sleep esp_pm_c...
by iParcelBox
Fri Jul 07, 2023 9:58 am
Forum: Hardware
Topic: WROVER-B vs WROVER-IE - power consumption on boot
Replies: 0
Views: 1181

WROVER-B vs WROVER-IE - power consumption on boot

I have a custom PCB design for a production product, which I flash and programme using a Raspberry Pi prior to dispatch to customers. We have two identical boards, one with WROVER-B and the other with WROVER-IE. Both encrypt and then flash absolutely fine, but I'm finding that although the WROVER-B ...