Shorten Messages sent via serial link

PaulS:

Is there a way to submit the data in a more compressed form?

Yes, but you loose the ability to sync messages. If a byte get lost, and that DOES happen, ASCII messages are easy to re-sync. Binary messages are MUCH harder to re-sync.

Do you have some sample code for resyncing. At the moment I do only fire the messages. If they are unvalid I drop them But it might still happen that the message is valid but the sensor reading got changed.
I also still need to implement kind of a handover procedure so that not both sides try to send messages at the same time.

PaulS:

1.523434

Are 6 decimal places reasonable?

I can certainly cut on this one. Done. I cut it down to 4 decimal places.