Skip to content

Conversation

@ljungholm
Copy link
Contributor

Some devices use simplified logic for sending SDO response. They send an expedited 4 byte response for all sizes up to U32/I32. Unpacking code expects data size to exactly match the size in the object dictionary. Therefore use the smaller of the size for the variable in the OD and the actual response size.

I have seen this behaviour from two different types of devices, so it is not an isolated problem with one device type.

Some devices use simplified logic for sending SDO response.
They send an expedited 4 byte response for all sizes up to U32/I32.
Unpacking code expects data size to exactly match the size in the
object dictionary.
Therefore use the smaller of the size for the variable in the OD and
the actual response size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants