11 #include "globals.h" |
11 #include "globals.h" |
12 #include "coe_datatypes.h" |
12 #include "coe_datatypes.h" |
13 |
13 |
14 /****************************************************************************/ |
14 /****************************************************************************/ |
15 |
15 |
16 // FIXME |
|
17 const char *help_sdos = |
16 const char *help_sdos = |
18 "[OPTIONS]\n" |
17 "[OPTIONS]\n" |
19 "\n" |
18 "\n" |
|
19 "Displays the Sdo dictionary with Sdos and Sdo entries.\n" |
20 "\n" |
20 "\n" |
21 "Command-specific options:\n"; |
21 "Sdo dictionary information is displayed in two layers, with are\n" |
|
22 "indented accordingly:\n" |
|
23 "\n" |
|
24 "1) Sdos - Hexadecimal Sdo index and the name. Example:\n" |
|
25 "\n" |
|
26 " Sdo 0x1018, \"Identity object\"\n" |
|
27 "\n" |
|
28 "2) Sdo entries - Sdo index and Sdo entry subindex (both hexadecimal)\n" |
|
29 " followed by the data type, the length in bit, and the description.\n" |
|
30 " Example:\n" |
|
31 "\n" |
|
32 " 0x1018:01, uint32, 32 bit, \"Vendor id\"\n" |
|
33 "\n" |
|
34 "If the --quiet option is given, only the Sdos are printed.\n" |
|
35 "\n" |
|
36 "Command-specific options:\n" |
|
37 " --slave -s <index> Positive numerical ring position, or 'all' for\n" |
|
38 " all slaves (default).\n" |
|
39 " --quiet -q Print only Sdos (without Sdo entries).\n" |
|
40 "\n" |
|
41 "Numerical values can be specified either with decimal (no prefix),\n" |
|
42 "octal (prefix '0') or hexadecimal (prefix '0x') base.\n"; |
22 |
43 |
23 /****************************************************************************/ |
44 /****************************************************************************/ |
24 |
45 |
25 void listSlaveSdos(uint16_t, bool); |
46 void listSlaveSdos(uint16_t, bool); |
26 |
47 |