ESP32/UART : Buffer is null

aakash
Posts: 1
Joined: Wed Apr 07, 2021 5:35 am

Re: ESP32/UART : Buffer is null

Postby aakash » Wed Apr 07, 2021 5:40 am

i was using ESP32 wroom and stm32g431RB i was just using HAL uart liberary to sent At commands to ESp32 but im unable to read ok response from the esp32 ....are der any suggestions.

ESP_Sprite
Posts: 4574
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32/UART : Buffer is null

Postby ESP_Sprite » Wed Apr 07, 2021 9:25 am

You're hijhacking a thread with your problem. Suggest you collect more information and start your own thread.

BiHan90
Posts: 6
Joined: Thu Apr 01, 2021 9:29 am

Re: ESP32/UART : Buffer is null

Postby BiHan90 » Wed Apr 07, 2021 6:49 pm

@ESP_Sprite.. So i did add '\0' at the end of the string but nothing changed, the serial monitor is always rubbish. what's weird to me is that i can see a response on the oscilloscope when i do an echo, so that means my esp32 is receiving correctly via rx buffer and write the data back via tx buffer.

ESP_Sprite
Posts: 4574
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32/UART : Buffer is null

Postby ESP_Sprite » Mon Apr 12, 2021 2:53 am

Hm, dunno. Just for shits and giggles, can you post your current code again? Perhaps there's still something wrong with it.

Who is online

Users browsing this forum: No registered users and 47 guests