Regarding SARA G-350

0 votes

Can you please send me basic sample code about the SARA G-350 to send AT commands  ??

by pooja_shete asked Oct 10
24 views
Should work like any other Hayes modem from the last two decades, look for available libraries.
0 votes
Are you asking for a sample code to send ASCII characters?
by grumpy answered Oct 10
nope... I am asking the basic code to send AT commands to GSM module
Would be like sending characters to the port.  I have not seen such sample code.   But do search this forum for sample code.
0 votes
Serial1.write("AT\r\n");
Or
Serial1.println("AT");

To read responses it's a bit more complex inasmuch as you have to parse the response string to (a) determine if it's a URC or response, (b) assess each field of the URC or response as needed for your logic.
by grampy answered Oct 10
website banner