Send GPS location to server using GSM module

We are using SIM808 GSM module and now sending longitude and latitude of the device to main server’s database (000webhost).

SIM808 GSM Module

SIM808 module is a GSM and GPS two-in-one function module. It is based on the latest GSM/GPS module SIM808 from SIMCOM, supports GSM/GPRS Quad-Band network and combines GPS technology for satellite navigation

pasted-image-0-e1530125650110.png

We write function called getGPSCOR(), It wants meter ID and password then it will get latitude and longitude and sent those information to the main server using sendGPS() function.

void getGPSCOR(String id, String pwd) ;

void sendGPS(char * lat, char * lon, char * id , char * pwd) ;

More Details