Skip to content

Commit

Permalink
injecting optional Manufacturer code
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstas committed Nov 18, 2024
1 parent 380aceb commit 5aeddf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/candevice.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class CanDevice extends EventEmitter {
dst: 255,
prio:6,
"Unique Number": 1263,
"Manufacturer Code": 999,
"Manufacturer Code": isNaN(options.mfgCode) ? 999 : options.mfgCode,
"Device Function": 130, // PC gateway
"Device Class": 25, // Inter/Intranetwork Device
"Device Instance Lower": 0,
Expand Down

0 comments on commit 5aeddf4

Please sign in to comment.