src/dcf.c
changeset 251 cab66ef3e68e
parent 215 f49e5a6b7804
child 320 f82e758840bd
equal deleted inserted replaced
250:39e22f84ce6e 251:cab66ef3e68e
   107     /* condition on consise DCF string for NodeID, if big enough */
   107     /* condition on consise DCF string for NodeID, if big enough */
   108     if((UNS8*)d->dcf_cursor + 7 < (UNS8*)dcfend && d->dcf_count_targets < nb_targets)
   108     if((UNS8*)d->dcf_cursor + 7 < (UNS8*)dcfend && d->dcf_count_targets < nb_targets)
   109       {
   109       {
   110         /* pointer to the DCF string for NodeID */
   110         /* pointer to the DCF string for NodeID */
   111         target_Index = UNS16_LE(*((UNS16*)(d->dcf_cursor))); d->dcf_cursor += 2;
   111         target_Index = UNS16_LE(*((UNS16*)(d->dcf_cursor))); d->dcf_cursor += 2;
   112         target_Subindex = *((UNS8*)(((UNS8*)d->dcf_cursor)++));
   112         target_Subindex = *((UNS8*)((UNS8*)d->dcf_cursor++));
   113         target_Size = UNS32_LE(*((UNS32*)(d->dcf_cursor))); d->dcf_cursor += 4;
   113         target_Size = UNS32_LE(*((UNS32*)(d->dcf_cursor))); d->dcf_cursor += 4;
   114 
   114 
   115         /* printf("Master : ConfigureSlaveNode %2.2x (Concise
   115         /* printf("Master : ConfigureSlaveNode %2.2x (Concise
   116           DCF)\n",nodeId);*/
   116           DCF)\n",nodeId);*/
   117         res = _writeNetworkDict(d, /* CO_Data* d*/
   117         res = _writeNetworkDict(d, /* CO_Data* d*/