One of our IQANs is doing math with GPS coordinates, and broadcasts the resulting latitude/longitude over J939-CAN. However, we can't pack it properly. Most likely due overflowing a Float or Signed Int32 value.
According to the J1939 guidelines (, Longitude/Latitude are ought to have a scale of 0,000 000 1 (thus 7 decimals), and an offset of 210. This results in huge numbers. They fit in a UINT32 type, but I suspect IQAN juggling them between either float or signed ints, losing a few bits. Smaller inout numbers like 5,1234567 would work, but higher numbers get trashed.
We could reduce the scale to 6 decimals, but in our case we need the very last centimeters for a precission system, so that's not really an option. Plus we'd like to stay close to the J1939 standard. Other suggestions?
Customer support service by UserEcho