mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 07:12:08 +02:00
14
src/gnss.c
14
src/gnss.c
@@ -434,6 +434,13 @@ void gnss_step(struct EG25Manager *manager)
|
||||
g_message("GNSS assistance upload started...");
|
||||
/* fall-through */
|
||||
|
||||
case EG25_GNSS_STEP_FETCH_ASSISTANCE_DATA:
|
||||
g_message("GNSS assistance upload step (%d/%d): "
|
||||
"fetching assistance data",
|
||||
manager->gnss_assistance_step, EG25_GNSS_STEP_LAST);
|
||||
fetch_assistance_data(manager);
|
||||
break;
|
||||
|
||||
#ifdef HAVE_MMGLIB
|
||||
case EG25_GNSS_STEP_MM_GNSS_DISABLE:
|
||||
if (manager->modem_iface == MODEM_IFACE_MODEMMANAGER) {
|
||||
@@ -453,13 +460,6 @@ void gnss_step(struct EG25Manager *manager)
|
||||
state_at_gnss(manager);
|
||||
break;
|
||||
|
||||
case EG25_GNSS_STEP_FETCH_ASSISTANCE_DATA:
|
||||
g_message("GNSS assistance upload step (%d/%d): "
|
||||
"fetching assistance data",
|
||||
manager->gnss_assistance_step, EG25_GNSS_STEP_LAST);
|
||||
fetch_assistance_data(manager);
|
||||
break;
|
||||
|
||||
case EG25_GNSS_STEP_INIT_UPLOAD:
|
||||
g_message("GNSS assistance upload step (%d/%d): initiating upload",
|
||||
manager->gnss_assistance_step, EG25_GNSS_STEP_LAST);
|
||||
|
@@ -18,11 +18,11 @@
|
||||
|
||||
typedef enum {
|
||||
EG25_GNSS_STEP_FIRST = 0,
|
||||
EG25_GNSS_STEP_FETCH_ASSISTANCE_DATA,
|
||||
#ifdef HAVE_MMGLIB
|
||||
EG25_GNSS_STEP_MM_GNSS_DISABLE,
|
||||
#endif
|
||||
EG25_GNSS_STEP_AT_GNSS_DISABLE,
|
||||
EG25_GNSS_STEP_FETCH_ASSISTANCE_DATA,
|
||||
EG25_GNSS_STEP_INIT_UPLOAD,
|
||||
EG25_GNSS_STEP_UPLOAD,
|
||||
EG25_GNSS_STEP_FINISH_UPLOAD,
|
||||
|
Reference in New Issue
Block a user