tools/main.cpp
changeset 974 5868944a6456
parent 972 ad59641a68c8
child 978 2962baf7e6d1
--- a/tools/main.cpp	Mon Jun 09 10:31:05 2008 +0000
+++ b/tools/main.cpp	Mon Jun 09 12:11:19 2008 +0000
@@ -39,7 +39,8 @@
         << "  master             Show master information." << endl
         << "  pdos               List Pdo mapping." << endl
         << "  sdos               List Sdo dictionaries." << endl
-        << "  sdo_upload (su)    Read Sdo entries." << endl
+        << "  sdo_download (sd)  Write an Sdo entry." << endl
+        << "  sdo_upload (su)    Read an Sdo entry." << endl
         << "  state              Request slave states." << endl
         << "  xml                Generate slave information xmls." << endl
 		<< "Global options:" << endl
@@ -178,6 +179,8 @@
             master.listPdos(slavePosition, quiet);
         } else if (command == "sdos") {
             master.listSdos(slavePosition, quiet);
+        } else if (command == "sdo_download" || command == "sd") {
+            master.sdoDownload(slavePosition, dataTypeStr, commandArgs);
         } else if (command == "sdo_upload" || command == "su") {
             master.sdoUpload(slavePosition, dataTypeStr, commandArgs);
         } else if (command == "state") {