Skip to content

Need to document that SEG mode argument is available for SDO upload tool. #6

@follower

Description

@follower

The "SEG" argument here:

if (argc == 6 && strcmp(argv[5], "SEG") == 0)

Is not documented as available here:

fprintf(stderr, "usage: %s can-interface NODE INDEX SUBINDEX\n", argv[0]);

The existence of the equivalent argument is (somewhat) documented here for the download tool:

fprintf(stderr, "usage: %s can-interface NODE INDEX SUBINDEX DATA [MODE]\n", argv[0]);

Effect

Without the SEG argument documented it's not clear that e.g. visible strings longer than an expedited transfer can handle are still able to be viewed, e.g.:

$ rs-canopen-sdo-upload can0 30 0x1008 0
0000000b
$ rs-canopen-sdo-upload can0 30 0x1008 0 SEG
43414e6f70656e4e6f6465 // 'C', 'A', 'N', 'o', 'p', 'e', 'n', 'N', 'o', 'd', 'e'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions