I am working on a tracking project at the end point.i stuck. I have some ASCII data to i want to convert that data and want to get vehicle status. The data what i got from GPS tracking device.
*HQ,1700082911,V1,084938,A,2304.5102,N,07231.5528,E,003.7,179.11,270917,FFFFFBFF#
Now i got everything what i need from this script. but as per device document instruction i am not able to find vehicle status.there is a ASCII code string in above data which is FFFFFBFF for this what document says i mentioned below.
vehicle_status(FFFFFBFF): Vehicle Status, 4 bytes, indicate the status of the vehicle running, Accessory status or Alarm status etc. ASCII symbol indicate the status, the following is the definition of every bit, Bit=0 means active.
And as per this instruction they have given me a table.Sorry i cant draw a table here so i have attached a screen shot .
hope so you have understand my question i have a string FFFFFBFF# this is ASCII i want to convert it.