Implemented SII read.

This commit is contained in:
Florian Pose
2008-06-09 13:45:22 +00:00
parent 96b3009e8e
commit 0ee1c38030
6 changed files with 114 additions and 23 deletions
+3
View File
@@ -41,6 +41,7 @@ void printUsage()
<< " sdos List Sdo dictionaries." << endl
<< " sdo_download (sd) Write an Sdo entry." << endl
<< " sdo_upload (su) Read an Sdo entry." << endl
<< " sii_read (sr) Output a slave's SII contents." << endl
<< " state Request slave states." << endl
<< " xml Generate slave information xmls." << endl
<< "Global options:" << endl
@@ -183,6 +184,8 @@ int main(int argc, char **argv)
master.sdoDownload(slavePosition, dataTypeStr, commandArgs);
} else if (command == "sdo_upload" || command == "su") {
master.sdoUpload(slavePosition, dataTypeStr, commandArgs);
} else if (command == "sii_read" || command == "sr") {
master.siiRead(slavePosition);
} else if (command == "state") {
master.requestStates(slavePosition, commandArgs);
} else if (command == "xml") {