gpstest icon indicating copy to clipboard operation
gpstest copied to clipboard

Russian SBAS (SDCM) L1 label is missing

Open barbeau opened this issue 3 years ago • 3 comments

Describe the bug A user provided this screenshot, which shows that the Russian SDCM SBAS satellites aren't showing the L1 label correctly:

image

I should also review to make sure that all other SBAS are fully implemented. Looking at CarrierFreqUtils.getSbasCf(), it looks like we have mappings for the following SBAS:

  1. EGNOS (EU)
  2. MSAS (Japan)
  3. GAGAN (India)
  4. WAAS (US)

To Reproduce Steps to reproduce the behavior:

  1. Be in view of Russian SBAS satellite

Expected behavior Carrier frequency of 1575.42 should be shown as L1.

Observed behavior Raw CF is shown instead

App, Device and Android version:

App version: v3.9.16 (18093-google) Model: SM-S908U1 (Samsung Galaxy S22 Ultra unlocked) Android version: 12 / 31 GNSS HW year: 2020 GNSS HW name: qcom,SM_WAIPIO,MPSS.DE.1.0.c4-00029-WAIPIO_GEN_PACK-1.3475.171,

Screenshots:

Can be created by pressing the Volume Down and Power Button at the same time on Android 4.0 and higher.

barbeau avatar Apr 11 '22 19:04 barbeau

Here are the SBAS we currently support (i.e., show a flag for instead of leaving it blank as unknown):

fun Int.toSbasType(): SbasType {
        if (this == 120 || this == 123 || this == 126 || this == 136) {
            return SbasType.EGNOS
        } else if (this == 125 || this == 140 || this == 141) {
            return SbasType.SDCM
        } else if (this == 130 || this == 143 || this == 144) {
            // Also referred to as BDSBAS
            return SbasType.SNAS
        } else if (this == 131 || this == 133 || this == 135 || this == 138) {
            return SbasType.WAAS
        } else if (this == 127 || this == 128 || this == 139) {
            return SbasType.GAGAN
        } else if (this == 129 || this == 137) {
            return SbasType.MSAS
        }
        return SbasType.UNKNOWN
    }

We should support all the same svids for CFs.

barbeau avatar Apr 12 '22 17:04 barbeau

For more info on SVIDs of SBAS see: https://www.igs.org/mgex/constellations#sbas

barbeau avatar Jun 22 '22 18:06 barbeau

Same on my galaxy s22 ultra 0 model:

Screenshot_20220927-151623_GPSTest

ValZapod avatar Oct 01 '22 13:10 ValZapod

This is called Луч 5B apparently. It uses 1575.420

See https://ru.wikipedia.org/wiki/%D0%9B%D1%83%D1%87-5%D0%91

ValZapod avatar Oct 24 '22 20:10 ValZapod

See Screenshot_20221026-052709_Adobe Acrobat

ValZapod avatar Oct 26 '22 02:10 ValZapod

Oh. I cought both, 140 is LUCH 5V. Screenshot_20221103-172700_GPSTest

ValZapod avatar Nov 03 '22 15:11 ValZapod

I also got the confirmation that this is indeed the frequency they operate on.

ValZapod avatar Nov 03 '22 15:11 ValZapod