--- a/src/nmtMaster.c Thu Sep 24 10:16:09 2009 +0200
+++ b/src/nmtMaster.c Wed Sep 30 12:01:25 2009 +0200
@@ -76,7 +76,7 @@
UNS16 tmp = nodeId | (NODE_GUARD << 7);
m.cob_id = UNS16_LE(tmp);
m.rtr = REQUEST;
- m.len = 1;
+ m.len = 0;
MSG_WAR(0x3503, "Send_NODE_GUARD to node : ", nodeId);
--- a/src/sdo.c Thu Sep 24 10:16:09 2009 +0200
+++ b/src/sdo.c Wed Sep 30 12:01:25 2009 +0200
@@ -551,7 +551,7 @@
pwCobId = (UNS32*) d->objdict[offset].pSubindex[1].pObject;
}
/* message copy for sending */
- m.cob_id = (UNS8)UNS16_LE(*pwCobId);
+ m.cob_id = (UNS16)UNS16_LE(*pwCobId);
m.rtr = NOT_A_REQUEST;
/* the length of SDO must be 8 */
m.len = 8;