We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1afe6f6 commit 926ae3bCopy full SHA for 926ae3b
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "canopen",
3
- "version": "2.8.0",
+ "version": "2.8.1",
4
"description": "CANopen implementation for Javascript",
5
"main": "index.js",
6
"scripts": {
source/protocol/sdo.js
@@ -953,7 +953,7 @@ class Sdo {
953
_onMessage(message) {
954
// Handle transfers as a client (remote object dictionary)
955
const serverTransfer = this.transfers[message.id];
956
- if(serverTransfer) {
+ if(serverTransfer !== undefined && serverTransfer.active) {
957
switch(message.data[0] >> 5) {
958
case ServerCommand.ABORT:
959
serverTransfer.abort(message.data.readUInt32LE(4));
0 commit comments