examples/TestMasterSlave/Slave.c
changeset 161 c4908cc776a9
parent 149 fe50ada8020b
child 172 0248c2b148bb
equal deleted inserted replaced
160:636d875c85dd 161:c4908cc776a9
    68 
    68 
    69 void TestSlave_post_TPDO()
    69 void TestSlave_post_TPDO()
    70 {
    70 {
    71 	eprintf("TestSlave_post_TPDO\n");
    71 	eprintf("TestSlave_post_TPDO\n");
    72 }
    72 }
       
    73 
       
    74 void TestSlave_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex)
       
    75 {
       
    76 	/*TODO : 
       
    77 	 * - call getODEntry for index and subindex, 
       
    78 	 * - save content to file, database, flash, nvram, ...
       
    79 	 * 
       
    80 	 * To ease flash organisation, index of variable to store
       
    81 	 * can be established by scanning d->objdict[d->ObjdictSize]
       
    82 	 * for variables to store.
       
    83 	 * 
       
    84 	 * */
       
    85 	eprintf("TestSlave_storeODSubIndex : %4.4x %2.2x\n", wIndex,  bSubindex);
       
    86 }