Search found 5 matches

by Lateralus
Thu Apr 25, 2019 2:13 pm
Forum: General Discussion
Topic: ESP32 roam behaviour
Replies: 10
Views: 12925

Re: ESP32 roam behaviour

This might get tricky if I want to continously send data over WiFi and also have to think about roaming. If I have to do an esp_wifi_scan_start() every 1-5s, just to see if there is maybe an AP with the same SSID but with a better RSSI in reach, I'd assume that I can't send any data while the scan i...
by Lateralus
Wed Apr 24, 2019 3:50 pm
Forum: General Discussion
Topic: ESP32 roam behaviour
Replies: 10
Views: 12925

Re: ESP32 roam behaviour

I'm just wondering if there are any news regarding WiFi roaming?
Is this still down to programmatically scanning SSIDs and deciding upon the RSSI value if I want to switch to another AP?
by Lateralus
Sun Mar 31, 2019 10:16 am
Forum: ESP-IDF
Topic: Read from I2S without blocking call
Replies: 4
Views: 6223

Re: Read from I2S without blocking call

Thank you very much, I was not aware I can choose the core my task is running at.
This solves all my questions :D
by Lateralus
Mon Mar 25, 2019 1:44 pm
Forum: ESP-IDF
Topic: Read from I2S without blocking call
Replies: 4
Views: 6223

Re: Read from I2S without blocking call

Assuming i2s_read() is on thread A and the output via http is on thread B.
Both threads do not run at the same time, but only consecutively.
So you still und up with thread B not running because it needs to wait for the blocking call of i2s_read() in thread A to complete.
by Lateralus
Fri Mar 22, 2019 9:04 am
Forum: ESP-IDF
Topic: Read from I2S without blocking call
Replies: 4
Views: 6223

Read from I2S without blocking call

There are various examples how to read from an I2S microphone. eg: https://github.com/maspetsberger/esp32-i2s-mems However, they all are using i2s_read() https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/i2s.html#_CPPv48i2s_read10i2s_port_tPv6size_tP6size_t10TickType_t ...