reduce the size of speed in packet payload

38 Views Asked by At

How can I reduce the size of speed data from 4-bytes to 2-bytes in C. I have a packet payload of 41-bytes I reduced some data and now I have 39-bytes where I want my packet payload to be 36-byte.

The remaining data that I don't know if there is a possibility to reduce there sizes are:

Drone--> LAT 4-bytes, LON 4-bytes, ALT 4-bytes, Speed 4-bytes

GCS --> LAT 4-bytes, LON 4-bytes, ALT 4-bytes,

I have other data that I manged to reduce them to have 39-bytes and now those are the renaming and wondering if I can reduce more 3-bytes.

0

There are 0 best solutions below