If you use the Mictrack tracking device and also meet the Latitude/Longitude convert issue and this post will help you understand how it works.
GPS Data Format
#<IMEI>#<A>#<B>#<C>#<D>[CR][LF] #<Base ID><Message ID>,<UTC time>,<Status>,<Latitude>,<N/S Indicator>, <Longitude>,<E/W Indicator>,<Speed Over Ground>,<Course Over Ground>,<Date>,,,<Checksum>,[CR][LF]##
Data Format Examples
#863835023427631#MT600#0000#AUTO#1 #a52d15e5803$GPRMC,094632.00,A,2220.2468,N,11408.9073,E,0.07,309.62,030116,,,A*49 ##
Data Foramt Description
Parameter | Example | Description |
---|---|---|
IMEI | 863835023427631 | IMEI (15 digits) |
A | MT600 | GPRS user name |
B | 0000 | GPRS user password |
C | AUTO | Event Status |
D | 1 | Upload data quantity |
<CR><LF> | End of message termination | |
Base ID | 262c0f48(2G network) a52d15e5803(3G/4G Network) | LAC+CI (Hex) |
Message ID | $GPRMC | RMC Protocol header |
UTC time | 094632.00 | hhmmss.ss |
GPS Status | A | A=valid,V=invalid |
Latitude | 2220.2468 | ddmm.mmmm |
N/S Indicator | N | N=north or S=south |
Longitude | 11408.9073 | Dddmm.mmmm |
E/W Indicator | E | E=east or W=west |
Speed Over Ground | 0.07 | knots |
Course Over Ground | 309.62 | degrees |
Date | 030116 | DDMMYY |
Checksum | A*49 | |
<CR><LF> | End of message termination | |
Conversion to Decimal
The GPS raw date the latitude/longitude format is:
Latitude: ddmm.mmmm (example 2220.2468) Longitude dddmm.mmmm (example 11408.9073)
Conversion to decimal degrees: decimal degrees=degree+minutes/60
Latitude=dd+(mm.mmmm)/60 =22+20.2468/60=22.337447 Longitude=ddd+(mm.mmmm)/60=114+8.9073/60=114.148455