From cc0f484e545f18c215893a6fec8c3f6effad83f8 Mon Sep 17 00:00:00 2001 From: semuadmin <28569967+semuadmin@users.noreply.github.com> Date: Thu, 22 Feb 2024 16:07:35 +0000 Subject: [PATCH 1/4] fix UBX-MGA-GPS-EPH Fixes UBX-MGA-GPS-EPH size mismatch #141 --- src/pyubx2/ubxtypes_set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyubx2/ubxtypes_set.py b/src/pyubx2/ubxtypes_set.py index b952f43..e54b9e6 100644 --- a/src/pyubx2/ubxtypes_set.py +++ b/src/pyubx2/ubxtypes_set.py @@ -680,7 +680,7 @@ "omega": [I4, 2**-31], "omegaDot": [I4, 2**-43], "idot": [I2, 2**-43], - "reserved2": U4, + "reserved2": U2, }, "MGA-GPS-HEALTH": { "type": U1, From 3b572389c4351017c6ee90f1b3cf846d3b902999 Mon Sep 17 00:00:00 2001 From: semuadmin <28569967+semuadmin@users.noreply.github.com> Date: Thu, 22 Feb 2024 16:12:44 +0000 Subject: [PATCH 2/4] update test case --- tests/test_assistnow.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/test_assistnow.py b/tests/test_assistnow.py index 17f8864..713a988 100644 --- a/tests/test_assistnow.py +++ b/tests/test_assistnow.py @@ -5,6 +5,7 @@ @author: semuadmin """ + # pylint: disable=line-too-long, invalid-name, missing-docstring, no-member import unittest @@ -49,15 +50,15 @@ def testAssistNowALM(self): def testAssistNowEPH(self): EXPECTED_RESULTS = [ - "", - "", - "", - "", - "", + "", + "", + "", + "", + "", ] for i, pld in enumerate(self.mga_gps_eph_payloads): res = UBXMessage("MGA", "MGA-GPS-EPH", SET, payload=pld) - # print(res) + # print(f'"{res}",') self.assertEqual(str(res), EXPECTED_RESULTS[i]) From 710ce2f199d5257bf7483bf49c4026a9fcc120d0 Mon Sep 17 00:00:00 2001 From: semuadmin <28569967+semuadmin@users.noreply.github.com> Date: Thu, 22 Feb 2024 20:29:18 +0000 Subject: [PATCH 3/4] update to rc 1.2.39 --- .vscode/settings.json | 2 +- RELEASE_NOTES.md | 5 ++++- pyproject.toml | 2 +- src/pyubx2/_version.py | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index dd60674..713203b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,5 @@ "editor.formatOnSave": true, "modulename": "${workspaceFolderBasename}", "distname": "${workspaceFolderBasename}", - "moduleversion": "1.2.38", + "moduleversion": "1.2.39", } \ No newline at end of file diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e6e298a..8c3284e 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,9 @@ # pyubx2 Release Notes -### RELEASE CANDIDATE 1.2.38 +### RELEASE CANDIDATE 1.2.39 + + +### RELEASE 1.2.38 CHANGES: diff --git a/pyproject.toml b/pyproject.toml index 3970fa3..2b9200d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "pyubx2" authors = [{ name = "semuadmin", email = "semuadmin@semuconsulting.com" }] maintainers = [{ name = "semuadmin", email = "semuadmin@semuconsulting.com" }] description = "UBX protocol parser and generator" -version = "1.2.38" +version = "1.2.39" license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.8" diff --git a/src/pyubx2/_version.py b/src/pyubx2/_version.py index cdf05ff..296aaeb 100644 --- a/src/pyubx2/_version.py +++ b/src/pyubx2/_version.py @@ -8,4 +8,4 @@ :license: BSD 3-Clause """ -__version__ = "1.2.38" +__version__ = "1.2.39" From 4fe0760515b82ec403d988d04d729dffbcf67c4a Mon Sep 17 00:00:00 2001 From: semuadmin <28569967+semuadmin@users.noreply.github.com> Date: Thu, 22 Feb 2024 20:31:05 +0000 Subject: [PATCH 4/4] update release notes --- RELEASE_NOTES.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8c3284e..9854961 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -2,6 +2,9 @@ ### RELEASE CANDIDATE 1.2.39 +FIXES: + +1. Fix incorrect UBX MGA-GPS-EPH payload definition Fixes [#141](https://github.com/semuconsulting/pyubx2/issues/141) ### RELEASE 1.2.38