Skip to content

Conversation

@pat-rohn
Copy link

In comparison to PDO's CiA301 standard expects 8 byte of the SDO message.
Some devices would abort communication, if not full length of message was sent.

Thanks again for doing this repo

@brutella
Copy link
Owner

Could you please refer to any documentation which states that this behaviour is required? Thanks.

(I couldn't find any related documentation after a quick Internet search.)

@pat-rohn
Copy link
Author

pat-rohn commented Apr 1, 2021

https://www.canopensolutions.com/english/about_canopen/SDO-services.shtml

All SDO services are mapped to CAN data frames with an 8-byte length.

Official CiA301 standards are not free to download, but I'd have a snipped I could PM you.
I guess mostly it works fine without the full 8 bytes, but in some cases libraries check for it.

@brutella
Copy link
Owner

brutella commented Oct 8, 2021

Please check out the changes I've made in the new branch refactoring. Since I don't have any CANopen devices at hand, I'm unable to fully test it – but the changes should actually fix your issue.

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