35 << "--type option. If the slave does not support the SDO" << endl |
35 << "--type option. If the slave does not support the SDO" << endl |
36 << "information service or the SDO is not in the dictionary," << endl |
36 << "information service or the SDO is not in the dictionary," << endl |
37 << "the --type option is mandatory." << endl |
37 << "the --type option is mandatory." << endl |
38 << endl |
38 << endl |
39 << "These are the valid SDO entry data types:" << endl |
39 << "These are the valid SDO entry data types:" << endl |
40 << " int8, int16, int32, uint8, uint16, uint32, string." << endl |
40 << " int8, int16, int32, uint8, uint16, uint32, string," << endl |
|
41 << " octet_string." << endl |
41 << endl |
42 << endl |
42 << "Arguments:" << endl |
43 << "Arguments:" << endl |
43 << " INDEX is the SDO index and must be an unsigned" << endl |
44 << " INDEX is the SDO index and must be an unsigned" << endl |
44 << " 16 bit number." << endl |
45 << " 16 bit number." << endl |
45 << " SUBINDEX is the SDO entry subindex and must be an" << endl |
46 << " SUBINDEX is the SDO entry subindex and must be an" << endl |
180 break; |
181 break; |
181 case 0x0009: // string |
182 case 0x0009: // string |
182 cout << string((const char *) data.target, data.data_size) |
183 cout << string((const char *) data.target, data.data_size) |
183 << endl; |
184 << endl; |
184 break; |
185 break; |
|
186 case 0x000a: // octet_string |
|
187 cout << string((const char *) data.target, data.data_size) |
|
188 << endl; |
|
189 break; |
185 default: |
190 default: |
186 printRawData(data.target, data.data_size); // FIXME |
191 printRawData(data.target, data.data_size); // FIXME |
187 break; |
192 break; |
188 } |
193 } |
189 |
194 |