Go Down

Topic: What are all this 'funny' characters? (Read 537 times) previous topic - next topic

tseeteck

Hi guys,

Please pardon me. I'm totally new to AT commands. While going through some examples with GSM shield via the serial monitors, I see all this funny characters. I just copy some from one of the posts in this forum.

------------------
SMS Messages Receiver
AT%13%
0 23>AT%13%%13%%10%OK%13%%10%%13%%10%Call Ready%13%%10%
AT+CGREG?%13%
23 54>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
54 85>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
___________

My questions:
1. Is there any meaning at all with all this %xx%xx...
2. Is there a way to get rid of it if they are useless?

Thanks.

MathiasVDA

I think they are related to line breaks. Lik %13 =\r and %10=\n

But I'm not sure. Anyway, a better way to speak with the GSM shield in AT commands is explained here:
http://forum.arduino.cc/index.php?topic=206159.0

I believe you have set the parameter to (true). Then you get this kind of output

Go Up