Skip to content

feat: implement GPS L1 subframe 4 and 5 decoding#22

Draft
zsoerenm wants to merge 1 commit intomasterfrom
ss/subframe-4-5-decoding
Draft

feat: implement GPS L1 subframe 4 and 5 decoding#22
zsoerenm wants to merge 1 commit intomasterfrom
ss/subframe-4-5-decoding

Conversation

@zsoerenm
Copy link
Member

@zsoerenm zsoerenm commented Jan 9, 2026

I asked Claude to implement the decoding of subframes 4 and 5 based on Interface Specification (IS-GPS-200N, 01 Aug 2022)
And this is what I got ;)
I open this as a draft, because I don't yet have a good way to test it.

Add support for decoding the remaining GPS LNAV subframes:

Subframe 4:

  • Page 18: Ionospheric parameters (α0-α3, β0-β3) and UTC parameters (A0, A1, ΔtLS, tot, WNt, WNLSF, DN, ΔtLSF)
  • Page 25: SV configurations/A-S flags for all 32 SVs and health status for SV 25-32
  • Pages 2-5, 7-10: Almanac data for SV 25-32

Subframe 5:

  • Pages 1-24: Almanac data for SV 1-24
  • Page 25: SV health for SV 1-24 and almanac reference time/week

Almanac data includes: eccentricity, toa, δi, Ω_dot, sv_health, sqrt_A, Ω_0, ω, M_0, af0, and af1.

Add support for decoding the remaining GPS LNAV subframes:

Subframe 4:
- Page 18: Ionospheric parameters (α0-α3, β0-β3) and UTC parameters
  (A0, A1, ΔtLS, tot, WNt, WNLSF, DN, ΔtLSF)
- Page 25: SV configurations/A-S flags for all 32 SVs and health
  status for SV 25-32
- Pages 2-5, 7-10: Almanac data for SV 25-32

Subframe 5:
- Pages 1-24: Almanac data for SV 1-24
- Page 25: SV health for SV 1-24 and almanac reference time/week

Almanac data includes: eccentricity, toa, δi, Ω_dot, sv_health,
sqrt_A, Ω_0, ω, M_0, af0, and af1.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@zsoerenm zsoerenm self-assigned this Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant