diff --git a/erpc_python/erpc/transport.py b/erpc_python/erpc/transport.py index 2f322fd8..00df5908 100644 --- a/erpc_python/erpc/transport.py +++ b/erpc_python/erpc/transport.py @@ -72,7 +72,8 @@ def send(self, message): crcBody = self._Crc16.computeCRC16(message) messageLength = len(message) - crcHeader = self._Crc16.computeCRC16(messageLength) + self._Crc16.computeCRC16(crcBody) + crcHeader = self._Crc16.computeCRC16(bytearray(struct.pack('