Vehicle tracking system

Can anyone help me to store the GPS coordinates into seven bytes(as Hexadecimal). I want to send the data as payload to server. The payload should contain the latitude and longitude and should be of maximum seven bytes. Thanks

Post the code you have, using code tags ("</>" button).
Note that all data on the computer is binary. Hexadecimal is a human-readable representation of binary data.

gargn3: Can anyone help me to store the GPS coordinates into seven bytes(as Hexadecimal). I want to send the data as payload to server. The payload should contain the latitude and longitude and should be of maximum seven bytes. Thanks

Nobody could give a sensible answer to that, without knowing the exact data format that is required by the server.