diff --git a/grmn/devices.py b/grmn/devices.py index 73e65b6..1d82866 100644 --- a/grmn/devices.py +++ b/grmn/devices.py @@ -1,8 +1,10 @@ # -*- coding: utf-8 -*- # Some acronyms/abbreviations: +# * CTP - Capacitive Touch Panel # * FFP - Final Factory Production # * FR - Forerunner +# * iR - inReach # * RTL - Radar Tail Light (Garmin Varia) # * RVR - Rear View Radar (Garmin Varia) # * SW - Software @@ -511,6 +513,11 @@ DEVICES = { 10: "Flight Stream 110/210 v2.30", 11: "Flight Stream 110/210 v2.40", 20: "Flight Stream 110/210 v2.50", + 40: "Flight Stream 110/210 v2.70", + 50: "Flight Stream 110/210 v2.80", + 51: "Flight Stream 110/210 v2.81", + 60: "Flight Stream 110/210 v2.90", + 61: "Flight Stream 110/210 v2.91", }, 1786: {0: "GPS 15x|15xH/xL|16x|18x OEM/5Hz 1786"}, 1788: {0: "GTR20/200"}, @@ -588,6 +595,14 @@ DEVICES = { 30: "Flight Stream 510 v2.30", 32: "Flight Stream 510 v2.32", 33: "Flight Stream 510 v2.33", + 40: "Flight Stream 510 v2.40", + 41: "Flight Stream 510 v2.41", + 42: "Flight Stream 510 v2.42", + 51: "Flight Stream 510 v2.51", + 61: "Flight Stream 510 v2.61", + 62: "Flight Stream 510 v2.62", + 70: "Flight Stream 510 v2.70", + 71: "Flight Stream 510 v2.71", }, 2024: {0: "Quatix China"}, 2030: {0: "HAC 2CT"}, @@ -1096,6 +1111,9 @@ DEVICES = { 3144: {0: "Forerunner 235 Lite APAC"}, 3145: {0: "Forerunner 245 APAC"}, 3153: {0: "fenix 5 Plus, ANT_BLE_BT"}, + 3155: { + 50: "RB-IN1501 Stereo Update", + }, 3157: {0: "Edge 830, ???"}, 3163: {0: "vivoactive 3 Music APAC, WiFi"}, 3164: {0: "vivoactive 3 Music APAC, Sensor Hub"}, @@ -1359,6 +1377,7 @@ DEVICES = { }, 3579: { 10: "RV-85x/RV-105x", + 50: "RV-5x Stereo Update", }, 3589: {0: "Forerunner 745"}, 3590: {0: "Forerunner 745, Sensor Hub"}, diff --git a/grmn/updateserver.py b/grmn/updateserver.py index 0827263..3fb9df8 100644 --- a/grmn/updateserver.py +++ b/grmn/updateserver.py @@ -15,6 +15,7 @@ PROTO_API_GETALLUNITSOFTWAREUPDATES_URL = "http://omt.garmin.com/Rce/ProtobufApi WEBUPDATER_SOFTWAREUPDATE_URL = "https://www.garmin.com/support/WUSoftwareUpdate.jsp" GRMN_CLIENT_VERSION = "6.19.4.0" + class UpdateInfo: def __init__(self): self.source = None @@ -106,6 +107,7 @@ class UpdateInfo: def __repr__(self): return "[{}] {} {} {}".format(self.source, self.sku, self.device_name, self.fw_version) + class UpdateServer: def __init__(self): @@ -235,7 +237,7 @@ class UpdateServer: def get_unit_updates(self, device_xml): query = GetAllUnitSoftwareUpdates_pb2.GetAllUnitSoftwareUpdates() query.client_data.client = "express" - query.client_data.language ="en_GB" + query.client_data.language = "en_GB" query.client_data.client_platform = "Windows" query.client_data.client_platform_version = "1000 " query.device_xml = device_xml