diff -r 636d875c85dd -r c4908cc776a9 examples/TestMasterSlave/Slave.c --- 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); +}