mlinaje/gsm-shield-arduino

IP-address = 20 * SimpleRead (GSM_GPRSLibrary_Client.ino), safe? why? how?

Closed this issue · 2 comments

What is happening in here:

example/GSM_GPRSLibrary_Client/GSM_GPRSLibrary_Client.ino:44
(and example/GSM_GPRSLibrary_Server/GSM_GPRSLibrary_Server.ino:45)


 //Read IP address.
 int i=0;
 while(i<20){
   gsm.SimpleRead();
   i++;
 }
-is there ALWAYS coming exactly 20 characters? (or it is safe to read a
little bit more?
-is this mandatory step?
-is it used for something? (how to just read IP-address can be used?)

Original issue reported on code.google.com by aapo.rantalainen on 16 Jan 2012 at 4:06

The change for this is done now.

Original comment by martines...@gmail.com on 13 May 2012 at 9:56

  • Changed state: Fixed
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:27