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.
3 Replies
wafa_ath
wafa_ath2w ago
Look for uart bridge so you are receiving data in uart1 and you want to send ot to uart2? Yes exactly in this case, I need to handle the data forwarding in firmware directly on my microcontroller .
youcef_ali
youcef_ali2w 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.
ZacckOsiemo
ZacckOsiemo2w ago
Yes just copy from dr1 to dr2 when you handle the interrupt or when data is available, this is also a super nice use case for DMA if you got to engineering hours yesterday
Want results from more Discord servers?
Add your server
More Posts
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 iHow can I achieve deletion of StringWriter objects?Hey everyone, I am using avr-g++ compiler on Windows for an AVR chip . I need to delete a `StringWrconnect and control a smart LED strip device running on NodeMCU (ESP8266) with Google Cloud IoTHow can I connect and control a smart LED strip device running on NodeMCU (ESP8266) with Google ClouAny suggestions for troubleshooting missed interrupts?Hey guys, a friend of mine is currently working on AT91SAM9M10-EKES. The Code registers IRQ for 2 GPWhat’s the best option if I need a GUI? Anything for IPad?@Middleware & OS So I’m hacking my path to embedded world and have a big project (big to my size anhow can i implement secure communication between IoT devices using Transport Layer Security (TLS)Good day guys how can i implement secure communication between IoT devices using Transport Layer SecHow can I reduce the energy consumption of WiFi and MQTT?Hello guys , I'm working on developing an IoT temperature and humidity sensor for my cellar. I'm usiimplementing secure authentication on edge impulseHey guys, @IoT Cloud so lately I have been working with Edge Impulse , but I'm having trouble implemHow to Install and Secure the Mosquitto MQTT Messaging Broker on Ubuntu 18.04https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messagEstablishing MQTT Connection with Private Key - is that secure?In this video, I discuss using a Private Key in the MQTT connection setup. It's crucial to keep the