Pages: [1]   Go Down
Author Topic: What are all this 'funny' characters?  (Read 453 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 106
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: