GPS tracker code documentation
 All Classes Files Functions Variables Macros Pages
gps.h
Go to the documentation of this file.
1 
7 #ifndef GPS_H
8 #define GPS_H
9 
10 #include "sim808.h"
11 
12 
13 
18 uint8_t enable_gps();
19 
20 
21 
28 uint8_t get_gps_location(char* position);
29 
30 
31 
37 uint8_t sim_gps_get_speed(char * speed);
38 
39 
40 
45 uint8_t sim_gps_disable();
46 
47 
48 #endif
uint8_t enable_gps()
enables the GPS functionality of the SIM808 module
Definition: gps.c:13
uint8_t sim_gps_get_speed(char *speed)
returns the speed relative to ground.
Prototypes of functions that communicate with the SIM808 module and control it and definition of rela...
uint8_t sim_gps_disable()
disables the GPS functionality of the SIM808 module and the active antenna power supply ...
uint8_t get_gps_location(char *coordinates)
checks if the module has a GPS fix, if yes, it querries the GPS module for the current position...
Definition: gps.c:26