Hi, am interfacing gps tracker TK106 with our online platform. The data we get from gps device is in this format
Instractions form this site explains the variours data sets in the string above, for example the first 11 digits
is the device's programmable ID ,used in placed of the IMEI number.The problem is, i need to find a way to dynamically seperate these digits automatically as they are sent by the gps device, so we can plot location of fleets in real time.
is a hex # (odometer reading), this have to be converted from Hex to decimal. Example:
Hex to decimal: 000024DE == 9438
Divide by 100 : 9438 == 94.38
Odometer reads: 94.38 KM
it seems abit easy to seperate and convert using pathon, but my core language is PHP. From my research, using PHP substring seems to be the way forward, but i just can't bring my head around it. Thx for helping out...
Edited by accra