Search found 15 matches

by doragasu
Thu Mar 18, 2021 7:38 am
Forum: ESP-IDF
Topic: Help needed with heap corruption
Replies: 1
Views: 2487

Re: Help needed with heap corruption

These problems can happen when you overwrite a local variable usually through a pointer (e.g. you write more bytes in an array than its length).
by doragasu
Wed Mar 17, 2021 4:17 pm
Forum: ESP-IDF
Topic: ESP32 SPI slave low level half-duplex driver
Replies: 0
Views: 1643

ESP32 SPI slave low level half-duplex driver

On previous projects, I was using the ESP8266 in slave 4-wire half-duplex mode. Now I have moved to ESP32 and have discovered that the supplied slave driver cannot work in half-duplex mode (it seems there is a half duplex driver in the works, but it is not available for ESP32 yet, and it seems it is...
by doragasu
Tue Jan 05, 2021 4:48 pm
Forum: ESP-IDF
Topic: Maximize transmission rate with function esp_wifi_80211_tx()
Replies: 0
Views: 1338

Maximize transmission rate with function esp_wifi_80211_tx()

I need to send raw packets with function esp_wifi_80211_tx() as fast as possible. Currently if I try sending in a loop as fast as possible, sending fails, the function esp_wifi_80211_tx() always returns error and does not recover. Documentation for this function says the following: * @attention 4. O...
by doragasu
Thu Sep 10, 2020 2:08 pm
Forum: ESP-IDF
Topic: How can I force the bitrate always to 1 Mbps?
Replies: 0
Views: 1568

How can I force the bitrate always to 1 Mbps?

For my application, I need the bitrate to be fixed to 1Mbps. I have been searching the documentation and code, and cannot find the option. So I tried a hack: I set WiFi mode to 802.11b and edited esp_wifi_try_rate_from_high () function in esp_wifi.c for it to always return true to see if this helps....
by doragasu
Sat Apr 27, 2019 5:32 pm
Forum: ESP-IDF
Topic: esp_http_client: connection-keepalive when using stream reader API
Replies: 0
Views: 2417

esp_http_client: connection-keepalive when using stream reader API

I am using esp_http_client with the stream reader API to read server response data. It works perfect, but I want to reuse the same connection to perform several queries. I tried the following sequence and it did not work: // Init esp_http_client_init() esp_http_client_open() // First request esp_htt...