Files

README.md

Test GPRS connection

From <![CDATA[]]>https://elementztechblog.wordpress.com/2017/09/16/getting-location-from-gsm/<![CDATA[]]>

AT+CGATT =1 // to attach GPRS.

AT+SAPBR =3,1,”CONTYPE”,”GPRS” //activate bearer profile.

AT+SAPBR =3,1,”APN”,”RCMNET”

AT+SAPBR=1,1

AT+SAPBR=2,1

AT+CIPGSMLOC=1,1 //to get gsm location, time and date.

AT+CIPGSMLOC=2,1 //to get gsm time and date

AT+SAPBR =0,1 //to deactivate bearer profile.

Retrieve IP address

  • AT+SAPBR=2,1

Location and time

<![CDATA[]]>You may check this video<![CDATA[]]>

It should be possibl eto retrieve infomraiton aobut the location and the time directly from the GPRS data using the command AT+CIPGSMLOC.

  • AT+CIPGSMLO=1,1 to retrieve the time
  • AT+CIPGSMLO=2,1 to retrieve the location
Report a bug