Skip to content

Fix SDO response when removing can map entries#32

Merged
jsphuebner merged 1 commit into
jsphuebner:masterfrom
davefiddes:fix-can-map-sdo-response
Aug 7, 2025
Merged

Fix SDO response when removing can map entries#32
jsphuebner merged 1 commit into
jsphuebner:masterfrom
davefiddes:fix-can-map-sdo-response

Conversation

@davefiddes

Copy link
Copy Markdown
Contributor

Highlighted by an update to the canopen python library used by the openinverter_can_tool which more thoroughly handles poorly formed SDO responses.

Tests:

  • Create and remove can map entries with "oic can add" and "oic can remove".
  • Verify CAN frames now decode correctly in Wireshark as:
    CANopen Default-SDO (rx): Initiate download request
    CANopen Default-SDO (tx): Initiate download response

Highlighted by an update to the canopen python library used by the openinverter_can_tool which more thoroughly handles poorly formed SDO responses.

Tests:
 - Create and remove can map entries with "oic can add" and "oic can remove".
 - Verify CAN frames now decode correctly in Wireshark as:
CANopen	Default-SDO (rx): Initiate download request
CANopen	Default-SDO (tx): Initiate download response
@jsphuebner
jsphuebner merged commit de609fb into jsphuebner:master Aug 7, 2025
1 check passed
@jsphuebner

Copy link
Copy Markdown
Owner

Thanks!

@davefiddes
davefiddes deleted the fix-can-map-sdo-response branch August 19, 2025 10:42
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