I’ve currently written a sequence of AT commands to connect my SODAQ R410M to the network and send a message. Yet it’s getting quite tedious to put all those AT commands in the serial monitor by hand. Is there any way of writing code to automatically send AT commands to the SARA module? I’ve seen some example code use the serial streams, yet I haven’t been succesfull in doing so myself.
Here’s an example of the sequence I want to send:
AT+USOST=0,“Server_IP”,PORT,ByteCount,“40 bytes of hex data”
I’m currently working in the Arduino IDE, so my prefered way of sending the commands is using a .c file.
Any of you who have experience with this?