examples/TestMasterSlave/Slave.c
changeset 161 c4908cc776a9
parent 149 fe50ada8020b
child 172 0248c2b148bb
--- a/examples/TestMasterSlave/Slave.c	Sun Apr 15 00:46:40 2007 +0200
+++ b/examples/TestMasterSlave/Slave.c	Sun Apr 15 00:49:34 2007 +0200
@@ -70,3 +70,17 @@
 {
 	eprintf("TestSlave_post_TPDO\n");
 }
+
+void TestSlave_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex)
+{
+	/*TODO : 
+	 * - call getODEntry for index and subindex, 
+	 * - save content to file, database, flash, nvram, ...
+	 * 
+	 * To ease flash organisation, index of variable to store
+	 * can be established by scanning d->objdict[d->ObjdictSize]
+	 * for variables to store.
+	 * 
+	 * */
+	eprintf("TestSlave_storeODSubIndex : %4.4x %2.2x\n", wIndex,  bSubindex);
+}