Open nuts4coffee opened 1 year ago
@nuts4coffee the paragraph you are stating refer to how should a numeric number be encoded, for arrays, the concept of little endian/big endian does not really exist, endianess only applies when you try to pack a number into a multi-byte field.
Describe the bug A clear and concise description of what the bug is.
According to the spec, The list values for array type signal is MSB order:
However, the default transmission order for multi-byte signal values is LSB:
The current implementation is based on MSB: https://github.com/c4deszes/ldfparser/blob/master/tests/test_frame.py#L52
Expected behavior A clear and concise description of what you expected to happen.
Stacktrace/Code If applicable, add stacktrace or code segments to help explain your problem.
Environment:
Additional context Add any other context about the problem here.