libmcm 1.4.0
A client library for Moxa Connection Management
mcm-gps.h
Go to the documentation of this file.
1
7#ifndef _MCM_GPS_H_
8#define _MCM_GPS_H_
9
20int mcm_gps_control(char *interfaceName, int enabled);
21
30int mcm_gps_get_state(char *interfaceName);
31
32enum {
33 GPS_STATE_UNKNOWN = -1,
34 GPS_STATE_DISABLED = 0,
35 GPS_STATE_ENABLED = 1,
36};
37#endif
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_state(char *interfaceName)
A helper function to get GPS state.
Definition: mcm-gps.c:59