Mercurial > public > ostc4
comparison Small_CPU/Src/uartProtocol_GNSS.c @ 955:9b29995d6619 Evo_2_23 tip
GNSS backup position:
In the previous implementation a position had to be provided by the module in order to be stored in the log. This may cause a wrong position entry (default) in the log, for example if signal is lost while preparing for the dive in the water. To avoid this the last received position will be used for ~2 hours => Diver may take the dive side position before starting with the dive preparation. The last known position will be display in the GNSS position search window as well.
author | Ideenmodellierer |
---|---|
date | Wed, 01 Jan 2025 20:37:17 +0100 |
parents | 80ae8ea7f0a0 |
children |
comparison
equal
deleted
inserted
replaced
954:4e4fbd73e329 | 955:9b29995d6619 |
---|---|
287 case UART_GNSS_LOADCONF_0: | 287 case UART_GNSS_LOADCONF_0: |
288 case UART_GNSS_LOADCONF_1: gnssState++; | 288 case UART_GNSS_LOADCONF_1: gnssState++; |
289 break; | 289 break; |
290 case UART_GNSS_LOADCONF_2: gnssState = UART_GNSS_SETMODE_MOBILE; | 290 case UART_GNSS_LOADCONF_2: gnssState = UART_GNSS_SETMODE_MOBILE; |
291 break; | 291 break; |
292 case UART_GNSS_SETMODE_MOBILE: gnssState = UART_GNSS_PWRUP; | 292 case UART_GNSS_SETMODE_MOBILE: rxState = GNSSRX_DETECT_ACK_0; |
293 UART_Gnss_SendCmd(GNSSCMD_MODE_NORMAL); | |
294 gnssState = UART_GNSS_PWRUP; | |
293 break; | 295 break; |
294 default: | 296 default: |
295 break; | 297 break; |
296 } | 298 } |
297 GnssConnected = 1; | 299 GnssConnected = 1; |