Skip to content

Import/export of BaudRate_xx in EDS not working #301

Closed

Description

@Sudlav

According to CiA 306 the valid baudrate keywords in the DeviceInfo section are:
BaudRate_10, BaudRate_20, BaudRate_50, etc

However, these are not recognized by the import_eds() method, instead import_eds() recognizes:
Baudrate_10, Baudrate_20, Baudrate_50, etc
(note the casing of "R"/"r")
Also the export_eds() record will export the names as:
Baudrate_10, Baudrate_20, Baudrate_50, etc

This means that if I import an EDS file and then just export it to a new filename this information gets lost.

Activity

  1. self-assigned this
    on Mar 14, 2022
  2. af-silva commented on Mar 14, 2022

    @af-silva
    Collaborator

    Hi @Sudlav,

    After a quick search it seems that yes the DeviceInfo should have BaudRate_XX, i.e., in camel case.
    You can make a PR with the changes needed to support this, or wait and maybe during the weekend I can have a look.

    Thanks

  3. af-silva commented on Mar 18, 2022

    @af-silva
    Collaborator

    fix by #303 and #304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions