From 3bf50f9099fd0bcae4539ce89a530b65cc1e0eae Mon Sep 17 00:00:00 2001 From: Matti Airas Date: Thu, 1 Apr 2021 16:12:49 +0300 Subject: [PATCH] Add maximum product information string lengths to comments --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index cd2164c..ce3562c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -72,11 +72,11 @@ ReactESP app([]() { // Set Product information nmea2000->SetProductInformation( - "20210331", // Manufacturer's Model serial code + "20210331", // Manufacturer's Model serial code (max 32 chars) 103, // Manufacturer's product code - "SH-ESP32 NMEA 2000 USB GW", // Manufacturer's Model ID - "0.1.0.0 (2021-03-31)", // Manufacturer's Software version code - "0.0.3.1 (2021-03-07)" // Manufacturer's Model version + "SH-ESP32 NMEA 2000 USB GW", // Manufacturer's Model ID (max 33 chars) + "0.1.0.0 (2021-03-31)", // Manufacturer's Software version code (max 40 chars) + "0.0.3.1 (2021-03-07)" // Manufacturer's Model version (max 24 chars) ); // Set device information nmea2000->SetDeviceInformation(