From 5c783fd2ae347fcaf5f116c4a5fa16e2bd117fec Mon Sep 17 00:00:00 2001 From: Matti Airas Date: Fri, 24 May 2024 22:49:30 +0300 Subject: [PATCH] Make the NMEA 2000 product serial code unique --- lib/candevice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/candevice.js b/lib/candevice.js index 5fe6519..75b1400 100644 --- a/lib/candevice.js +++ b/lib/candevice.js @@ -62,7 +62,7 @@ class CanDevice extends EventEmitter { "Model ID": "Signal K", "Software Version Code": "1.0", "Model Version": "canbusjs", - "Model Serial Code": "123456", + "Model Serial Code": options.uniqueNumber ? options.uniqueNumber.toString() : "000001", "Certification Level": 0, "Load Equivalency": 1 }