Can you give me good snippet of code for AT commands resender?

Hello, Can you give me good snippet of code for AT commands resender? Like I am sending to my UART interface data via terminal and I want to send it to UART2 where peripheral is attached. So I will get its response to my original UART. Everything I tried was problematic when larger amount of data was received.
6 Replies
youcef_ali
youcef_ali6mo ago
Look for uart bridge
ZacckOsiemo
ZacckOsiemo6mo ago
so you are receiving data in uart1 and you want to send ot to uart2?
wafa_ath
wafa_ath6mo ago
Yes exactly
wafa_ath
wafa_ath6mo ago
in this case, I need to handle the data forwarding in firmware directly on my microcontroller .
youcef_ali
youcef_ali6mo ago
Look at this https://github.com/Xinyuan-LilyGO/T-SIM7600X/blob/master/examples/ATdebug/ATdebug.ino This Arduino framework code for esp32, the sim7600 module is connected to uart1 , we are sending messages to module trough the uart 0, good Luck.
GitHub
T-SIM7600X/examples/ATdebug/ATdebug.ino at master · Xinyuan-LilyGO/...
Contribute to Xinyuan-LilyGO/T-SIM7600X development by creating an account on GitHub.
DevHeads bot
DevHeads bot6mo ago
new post created: https://discord.com/channels/1130679493799977062/1252680669264609281/1252680669264609281 This channel has been locked and archived
Want results from more Discord servers?
Add your server