Search found 3 matches
- Fri Sep 09, 2022 6:12 am
- Forum: ESP-IDF
- Topic: Bluetooth SPP in VFS mode and select()
- Replies: 1
- Views: 1279
Bluetooth SPP in VFS mode and select()
Hi! Is it possible to use Bluetooth SPP in VFS mode with select() ? I'm trying to implement non-blocking reading, but my application crashes at select() operation. write() and read() to the SPP file descriptor works fine. Code example: static void spp_read_handle(void *param) { int size = 0; int rea...
- Wed Sep 22, 2021 2:42 pm
- Forum: ESP-IDF
- Topic: esp_spiffs_format() causes btController task stuck
- Replies: 0
- Views: 1125
esp_spiffs_format() causes btController task stuck
Hello! I'm using ESP-IDF 4.2 with ESP32-D0WD. I'm formatting one of my spiffs partitions from a low-priority task with esp_spiffs_format(). During this long operation btController which running on another core, gets stuck. The backtrace looks like this: E (36207) task_wdt: Task watchdog got triggere...
- Wed May 26, 2021 12:23 pm
- Forum: ESP-IDF
- Topic: Console component re-initialization problem
- Replies: 0
- Views: 1533
Console component re-initialization problem
Hello! In our devices we need to initialize and deinitialize the console. But RTOS thread stucks when calling setvbuf() the second time. I think that it because setvbuf() tries to lock stdin but it is already locked. How must I deinit console properly? The code is presented below. Most of it taken f...