Search found 14 matches
- Wed Nov 20, 2024 5:34 pm
- Forum: ESP-IDF
- Topic: Handling transport_base: Poll timeout or error
- Replies: 0
- Views: 208
Handling transport_base: Poll timeout or error
Hello, I am using an esp32s3 and making an HTTP CLIENT call using the streaming method (esp_http_client_init,...open, write, etc...). Sometimes when I call "esp_http_client_write" I see the error below: transport_base: Poll timeout or error, errno=Success, fd=54, timeout_ms=25000 Questions: 1. What ...
- Wed May 29, 2024 10:56 am
- Forum: General Discussion
- Topic: ESP32S3: esp-tls couldn't get hostname, getaddrinfo returns 202
- Replies: 4
- Views: 3158
Re: ESP32S3: esp-tls couldn't get hostname, getaddrinfo returns 202
Yes, I did solve it. The end answer for my board was the power was unstable and that was only seen at the network connection. The other things that helped mitigate it before we fixed the power stability were: Changing TX power (re:https://github.com/espressif/arduino-esp32/issues/6767) Changing to a...
- Sat May 11, 2024 6:01 pm
- Forum: General Discussion
- Topic: ESP32S3: esp-tls couldn't get hostname, getaddrinfo returns 202
- Replies: 4
- Views: 3158
Re: ESP32S3: esp-tls couldn't get hostname, getaddrinfo returns 202
Thank you, that does make sense. I want to understand why though. It's a Google website so the DNS is fine. Also, it works from my ESP32S3 about half the time. (From the same location, same wifi AP, etc...).
Thanks,
Dan
Thanks,
Dan
- Fri May 10, 2024 5:45 pm
- Forum: General Discussion
- Topic: ESP32S3: esp-tls couldn't get hostname, getaddrinfo returns 202
- Replies: 4
- Views: 3158
ESP32S3: esp-tls couldn't get hostname, getaddrinfo returns 202
Hi, I have a custom board with an ESP32S3 WROOM module on it. Running wifi code I intermittently get this error: esp-tls: couldn't get hostname for :<<website>>: getaddrinfo() returns 202, addrinfo=0x0 esp-tls: Failed to open new connection transport_base: Failed to open a new connection HTTP_CLIENT...
- Fri Dec 15, 2023 9:34 pm
- Forum: ESP-IDF
- Topic: uart_read_bytes hangs after event
- Replies: 2
- Views: 24158
Re: uart_read_bytes hangs after event
Thanks! I don't see any other code that would be grabbing the bytes. I added code to get the size of the available bytes inside the event before I attempt to uart_read_bytes. uart_get_buffered_data_len(UART_PORT_NUM, &bytesReady); And bytesReady is 1 byte less than the event.size. I'm not sure why t...
- Fri Dec 15, 2023 2:10 pm
- Forum: ESP-IDF
- Topic: uart_read_bytes hangs after event
- Replies: 2
- Views: 24158
uart_read_bytes hangs after event
I'm using the ESP IDF UART driver. I receive an event with event.size=9 bytes (for example). Then I try to uart_read_bytes for 9 bytes and the code still takes 1000ms sometimes. Is this expected? I would assume that once the event is there and has the number of bytes, those bytes would be ready in t...
- Wed Apr 27, 2022 6:19 pm
- Forum: ESP-IDF
- Topic: xtensa compiler: case label does not reduce to an integer constant
- Replies: 2
- Views: 2831
Re: xtensa compiler: case label does not reduce to an integer constant
Thanks for the thorough and quick response! I'll look for some workaround for what I'm doing.
- Dan
- Dan
- Wed Apr 27, 2022 2:09 pm
- Forum: ESP-IDF
- Topic: xtensa compiler: case label does not reduce to an integer constant
- Replies: 2
- Views: 2831
xtensa compiler: case label does not reduce to an integer constant
Hello, When compiling the simple program below with a macro as a case label, I receive the error: case label does not reduce to an integer constant The error only happens with the xtensa-esp32s3-elf-gcc compiler. This does not happen with plain gcc. #include <stdio.h> // #include <stdlib.h> #include...
- Fri Oct 22, 2021 9:15 pm
- Forum: ESP-IDF
- Topic: SPIFFS VFS writing from multiple tasks
- Replies: 0
- Views: 1663
SPIFFS VFS writing from multiple tasks
Hello, On an ESP32 I have a SPIFFS mounted as a VFS. I have two FreeRTOS tasks: task A, and task B. Task A is writing to File A (fwrite) Task B is writing to File B (fwrite) If they both are trying to write simultaneously does the SPI or VFS driver handle it or do I need to implement some type of mu...
- Tue Jun 08, 2021 2:50 pm
- Forum: ESP-IDF
- Topic: Pairing mode on ESP32
- Replies: 7
- Views: 8793
Re: Pairing mode on ESP32
Thanks! I'll check it out.