Skip to content

Conversation

@hepr-skylotec
Copy link
Contributor

The CiA 306 CANopen electronic data sheet (EDS) standard is quite clear that in the DeviceCommisioning block, baudrate is spelled 'Baudrate' and not 'BaudRate'. This commit is to be reverted, as it prevents loading of standards compliant DCF files.

Chapter 5.3.3.3 is clear in the casing of Baudrate for DeviceCommisioning and BaudRate for DeviceInfo. This seems to be an inconcistency in the standard, and we should probably accept both as a long term solution.

This reverts commit 074cbbc.

This fixes #347 its duplicate #450

The CiA 306 CANopen electronic data sheet (EDS) standard is quite clear
that in the DeviceCommisioning block, baudrate is spelled 'Baudrate' and
not 'BaudRate'. This commit is to be reverted, as it prevents loading
of standards compliant DCF files.

Chapter 5.3.3.3 is clear in the casing of Baudrate for
DeviceCommisioning and BaudRate for DeviceInfo. This seems to be an
inconcistency in the standard, and we should probably accept both as a
long term solution.

This reverts commit 074cbbc.
@acolomb acolomb merged commit b7b1242 into canopen-python:master Jun 4, 2024
acolomb added a commit to acolomb/canopen that referenced this pull request Jun 4, 2024
As pointed out in canopen-python#452, there is an inconsistency in the CiA 306 spec
regarding the exact spelling.  Under DeviceComissioning (sic!), it is
spelled with a lowercase "r", while under DeviceInfo it is BaudRate_*
with an uppercase "R".

That change however broke the tests, because the library currently
handles keys in a case-sensitive way (which is wrong in itself).
@acolomb acolomb added this to the v2.3.0 milestone Jun 11, 2024
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.

DCF Parsing: Lookup of baudrate incorrectly uses camel case (i.e, "BaudRate" instead of "Baudrate") which breaks loading of DCF

2 participants