43 GPS_STATE_UNKNOWN = -1,
44 GPS_STATE_DISABLED = 0,
45 GPS_STATE_ENABLED = 1,
49 GPS_CAPAILITY_UNKNOWN = -1,
50 GPS_CAPAILITY_NOSUPPORT = 0,
51 GPS_CAPAILITY_SUPPORT = 1,
bool enabled
Definition: mcm-base-info.h:0
int mcm_gps_control(char *interfaceName, int enabled)
A helper function to enable/disable GPS.
Definition: mcm-gps.c:16
int mcm_gps_get_capability(char *interfaceName)
A helper function to get GPS capability.
Definition: mcm-gps.c:107
int mcm_gps_get_state(char *interfaceName)
A helper function to get GPS state.
Definition: mcm-gps.c:59