Search found 4 matches

by blim_acs
Wed Oct 30, 2024 10:08 pm
Forum: ESP-IDF
Topic: ESP32 UART reading special characters including NULL
Replies: 3
Views: 300

Re: ESP32 UART reading special characters including NULL

That was what I expected to happen but when I print the RX buffer immediately after reading, I get multiple messages compared to the single message being sent to the esp32. int len; char tmp_buf[128] = ""; uart_get_buffered_data_len(CONSOLE_UART_NUM, (size_t*)&len); uart_read_bytes(CONSOLE_UART_NUM,...
by blim_acs
Tue Oct 29, 2024 8:18 pm
Forum: ESP-IDF
Topic: ESP32 UART reading special characters including NULL
Replies: 3
Views: 300

ESP32 UART reading special characters including NULL

Hello, I am trying to parse serial messages being sent to the ESP32 but the function "uart_read_bytes" seems to look for a NULL terminator similarly to printf. My message has special characters including the NULL terminator so I was wondering if there was any function I can use to extract the raw da...
by blim_acs
Thu Mar 21, 2024 9:40 pm
Forum: ESP-IDF
Topic: ESP32 FreeRTOS avoiding deadlock, etc.
Replies: 2
Views: 650

ESP32 FreeRTOS avoiding deadlock, etc.

Hi, First time using a RTOS and I was wondering what your suggestion on what synchronization techniques you would use in my situation. My application is based on the RA6E2 - bt_spp_initiator example. A device is connected to the ESP32 through serial and the ESP connects to a printer over BT classic....
by blim_acs
Fri Jan 05, 2024 8:50 pm
Forum: General Discussion
Topic: ESP32 wake up from uart without losing characters
Replies: 0
Views: 9110

ESP32 wake up from uart without losing characters

I am trying to wake up the ESP32 from UART messages but it looks like its unable to process the message that woke up the ESP32. Is there any way to wake up the ESP with uart without losing the transmission that woke up the ESP from sleep?