Garmin: add the "Unit ID" (device serial number) to the device details

This commit is contained in:
Thomas Kuehne
2025-09-16 20:44:20 +02:00
committed by José Rebelo
parent b12fd1027f
commit 62d458255b
@@ -101,6 +101,7 @@ public class DeviceInformationMessage extends GFDIMessage {
GBDeviceEventVersionInfo versionCmd = new GBDeviceEventVersionInfo(); GBDeviceEventVersionInfo versionCmd = new GBDeviceEventVersionInfo();
versionCmd.fwVersion = getSoftwareVersionStr(); versionCmd.fwVersion = getSoftwareVersionStr();
versionCmd.fwVersion2 = incomingUnitNumber;
versionCmd.hwVersion = deviceModel; versionCmd.hwVersion = deviceModel;
return Collections.singletonList(versionCmd); return Collections.singletonList(versionCmd);
} }