Data plan calculation

You can use an int16_t or an uint16_t: that's going to be platform-agnostic. Or, if you want to send 32-bit values, you can marshal 2 values into a 32-bit integer and send that in one go. Depending upon your actual range of values, you may even be able to fit 3 values into a single 32-bit integer and have room to spare for a parity bit, etc.

1 Like