1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 09:16:01 +03:00

GPS: Disable ublox setting for 'apply integrity information' for SBAS to prevent GLONASS sat dropouts

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2016-05-10 08:36:56 +10:00
parent 0037380fc0
commit 4640391e09
3 changed files with 9 additions and 10 deletions

View file

@ -34,12 +34,12 @@ typedef enum {
} gpsProvider_e;
typedef enum {
SBAS_NONE = 0,
SBAS_AUTO = 0,
SBAS_EGNOS,
SBAS_WAAS,
SBAS_MSAS,
SBAS_GAGAN,
SBAS_AUTO
SBAS_NONE
} sbasMode_e;
#define SBAS_MODE_MAX SBAS_GAGAN

View file

@ -140,13 +140,12 @@ typedef struct ubloxSbas_s {
// Note: these must be defined in the same order is sbasMode_e since no lookup table is used.
static const ubloxSbas_t ubloxSbas[] = {
// NOTE this could be optimized to save a few bytes of flash space since the same prefix is used for each command.
{{ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x02, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xDD}}, // SBAS_NONE
{{ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x07, 0x03, 0x00, 0x51, 0x08, 0x00, 0x00, 0x8A, 0x41}}, // SBAS_EGNOS
{{ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x07, 0x03, 0x00, 0x04, 0xE0, 0x04, 0x00, 0x19, 0x9D}}, // SBAS_WAAS
{{ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x07, 0x03, 0x00, 0x00, 0x02, 0x02, 0x00, 0x35, 0xEF}}, // SBAS_MSAS
{{ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x07, 0x03, 0x00, 0x80, 0x01, 0x00, 0x00, 0xB2, 0xE8}}, // SBAS_GAGAN
{{ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x31, 0xE5}}, // SBAS_AUTO
{{ /* SBAS_AUTO */ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2D, 0xC9 }},
{{ /* SBAS_EGNOS */ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x03, 0x03, 0x00, 0x51, 0x08, 0x00, 0x00, 0x86, 0x25 }},
{{ /* SBAS_WAAS */ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x03, 0x03, 0x00, 0x04, 0xE0, 0x04, 0x00, 0x15, 0x81 }},
{{ /* SBAS_MSAS */ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x03, 0x03, 0x00, 0x00, 0x02, 0x02, 0x00, 0x31, 0xD3 }},
{{ /* SBAS_GAGAN */ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x03, 0x03, 0x03, 0x00, 0x80, 0x01, 0x00, 0x00, 0xAE, 0xCC }},
{{ /* SBAS_NONE */ 0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x02, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2C, 0xC1 }},
};
// UBX support

View file

@ -338,7 +338,7 @@ static const char * const lookupTableGPSProvider[] = {
};
static const char * const lookupTableGPSSBASMode[] = {
"NONE", "EGNOS", "WAAS", "MSAS", "GAGAN", "AUTO"
"AUTO", "EGNOS", "WAAS", "MSAS", "GAGAN", "NONE"
};
static const char * const lookupTableGpsModel[] = {