Extracting ID from data packet GPS
- by user604134
Hi ,
I am trying to configure a GPS device to my systems. The GPS device send the data packet to my IP in the following format :
$$?W??¬ÿÿÿÿ™U042903.000,A,2839.6408,N,07717.0905,E,0.00,,230111,,,A*7C|1.2|203|0000÷
I am able to extract the latitude, longitude and other information but I am not able to extract the Tracker ID out of the string.
According to the manual the ID is in hex format.And the format of the packet is
$$\r\n
I dont know what to do with it, I have tried converting this to hex..but it didnt work.
Any help will be greatly appreciate.
Thanks