equal
deleted
inserted
replaced
549 } |
549 } |
550 /* read the client->server cobid */ |
550 /* read the client->server cobid */ |
551 pwCobId = (UNS32*) d->objdict[offset].pSubindex[1].pObject; |
551 pwCobId = (UNS32*) d->objdict[offset].pSubindex[1].pObject; |
552 } |
552 } |
553 /* message copy for sending */ |
553 /* message copy for sending */ |
554 m.cob_id = (UNS8)UNS16_LE(*pwCobId); |
554 m.cob_id = (UNS16)UNS16_LE(*pwCobId); |
555 m.rtr = NOT_A_REQUEST; |
555 m.rtr = NOT_A_REQUEST; |
556 /* the length of SDO must be 8 */ |
556 /* the length of SDO must be 8 */ |
557 m.len = 8; |
557 m.len = 8; |
558 for (i = 0 ; i < 8 ; i++) { |
558 for (i = 0 ; i < 8 ; i++) { |
559 m.data[i] = sdo.body.data[i]; |
559 m.data[i] = sdo.body.data[i]; |