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