Hi chris, The last commit about canopen(refactor(code-generation): Finished migrating the code to using the s… ・ apache/plc4x@447ef68 (github.com)<https://github.com/apache/plc4x/commit/447ef680f274d779b0777eb7c2538b7dc5159300>) makes canopen breakdown.
The code at(https://github.com/apache/plc4x/commit/447ef680f274d779b0777eb7c2538b7dc5159300#diff-a3c3615ad620b98434954f5fda93502e1590eb265ed657fab0f42e5ee436b50dR223): WriteBufferByteBased writeBuffer = new WriteBufferByteBased(DataItem.getLengthInBytes(writeValue, field.getCanOpenDataType(), writeValue.getLength())); DataItem.staticSerialize(writeBuffer, writeValue, field.getCanOpenDataType(), writeValue.getLength(), ByteOrder.LITTLE_ENDIAN); should be: WriteBufferByteBased writeBuffer = new WriteBufferByteBased(DataItem.getLengthInBytes(writeValue, field.getCanOpenDataType(), writeValue.getLength()), ByteOrder.LITTLE_ENDIAN); The generated code DataItem.staticSerialize does not use the byteOrder parameter. Yang Lin
