Using packed attribute for structs received over uart.