Search found 41 matches

by Bryght-Richard
Wed Nov 20, 2024 6:22 pm
Forum: ESP-IDF
Topic: web socket client issue.
Replies: 2
Views: 1159

Re: web socket client issue.

I've also seen small WS frames split over multiple TCP or TLS segments on ESP-IDF v5.1.2, and created https://github.com/espressif/esp-idf/issues/14914 to track it. I've also had some trouble with the ESP WS transport stability - we have an application-level PING/PONG heartbeat message, and sometime...
by Bryght-Richard
Wed Nov 06, 2024 7:29 pm
Forum: ESP-IDF
Topic: How to get the value of pin-holder
Replies: 1
Views: 485

Re: How to get the value of pin-holder

Looks like this can be addressed by reading out the values of RTC_CNTL_PAD_HOLD_REG and RTC_CNTL_DIG_PAD_HOLD_REG.
by Bryght-Richard
Wed Nov 06, 2024 7:02 pm
Forum: ESP-IDF
Topic: How to get the value of pin-holder
Replies: 1
Views: 485

How to get the value of pin-holder

When using gpio_hold_en() and gpio_hold_dis(), is there something like gpio_hold_get()? I'm using the GPIO holders to keep bus-states for some peripherals across a reboot, and would like to be able to read them what state they were left in by the previous power-cycle.
by Bryght-Richard
Mon Nov 04, 2024 7:51 pm
Forum: ESP-IDF
Topic: ESP32-S3 dead core?
Replies: 2
Views: 781

Re: ESP32-S3 dead core?

> Power supply (soldering, capacitors,...) issue perhaps, playing tricks on you when the second core goes active? I monitored it with a scope and AC trigger, and power looks good. This was my first thought too, but doesn't seem to be the issue. > Or maybe actually a defective piece. I was able to fi...
by Bryght-Richard
Fri Nov 01, 2024 5:53 pm
Forum: ESP-IDF
Topic: ESP32-S3 dead core?
Replies: 2
Views: 781

ESP32-S3 dead core?

I'm analyzing a factory prototype with ESP32-S3 that wasn't booting. It seemed to fail just after enabling the second core(Core1), but before my application code runs. I was able to read and write the flash with ESPtool. I confirmed the images were correct, and that the efuses matched a working boar...
by Bryght-Richard
Thu Oct 31, 2024 7:38 pm
Forum: ESP-IDF
Topic: How can I adjust the mbedTLS block size to fit within a TCP packet?
Replies: 1
Views: 518

Re: How can I adjust the mbedTLS block size to fit within a TCP packet?

mbedtls_ssl_set_mtu() does not appear to be routed up through ESP-IDF, however, if you only have one NIC, it seems MBEDTLS_SSL_OUT_CONTENT_LEN can be adjusted as the global maximum. Reducing IN and OUT CONTENT_LENGTH to the MSS breaks the initial handshake, however.
by Bryght-Richard
Thu Oct 31, 2024 7:21 pm
Forum: ESP-IDF
Topic: How can I adjust the mbedTLS block size to fit within a TCP packet?
Replies: 1
Views: 518

How can I adjust the mbedTLS block size to fit within a TCP packet?

I've run into a bit of a bottleneck when experiencing light packet loss over WS/TLS/TCP. I've noticed that the TLSv1.2 record length seems to be limited to 4120B, which is greater than my TCP MSS. When a TCP packet is lost, the entire TLS record is delayed. Is it possible to have mbedTLS negotiate a...
by Bryght-Richard
Wed Oct 30, 2024 3:14 pm
Forum: ESP-IDF
Topic: dumping TLS context for wireshark
Replies: 0
Views: 498

dumping TLS context for wireshark

Currently, whenever I need to follow a TLS connection, I patch esp_tls_mbedtls with an mbedtls export callback to dump the needed context to wireshark. Is it possible to do this without patching the ESP-IDF?
by Bryght-Richard
Tue Oct 08, 2024 4:49 pm
Forum: ESP-IDF
Topic: How to bias WiFi rate-control selection?
Replies: 0
Views: 485

How to bias WiFi rate-control selection?

I'm working on a product where more deterministic latency for sending occasional small packets is more important than throughput. I don't want to disable specific MCS values or enforce a fixed rate(like esp_wifi_internal_set_fix_rate()). On another radio IC, I was able to bias the rate-control algor...
by Bryght-Richard
Tue Oct 08, 2024 3:39 pm
Forum: Report Bugs
Topic: ESP32 forum 500 error
Replies: 2
Views: 5749

Re: ESP32 forum 500 error

For www.esp32.com and forum.esp32.com, you could use robots.txt to reduce crawling load. Please keep it for esp32.com though(or whichever DNS you prefer we find through search).