Closed arkaheb258 closed 3 years ago
TIME write function (time.js:128) uses conversion typeToRaw (eds.js:242) which operate on epoch timestamp. For CANopen time producer offset should be 441763200 seconds. CAN-CiA.org Wikipedia
You're exactly right, I will fix that this week
Should be fixed in 2.7.2 https://www.npmjs.com/package/canopen/v/2.7.2
TIME write function (time.js:128) uses conversion typeToRaw (eds.js:242) which operate on epoch timestamp. For CANopen time producer offset should be 441763200 seconds. CAN-CiA.org Wikipedia