GPS functions' prototypes and definition of related parameters. More...
#include "sim808.h"
Go to the source code of this file.
Functions | |
uint8_t | enable_gps () |
enables the GPS functionality of the SIM808 module More... | |
uint8_t | get_gps_location (char *position) |
checks if the module has a GPS fix, if yes, it querries the GPS module for the current position. The format of the output is longitude,latitude Example: 3937.656010,1406.059400 More... | |
uint8_t | sim_gps_get_speed (char *speed) |
returns the speed relative to ground. More... | |
uint8_t | sim_gps_disable () |
disables the GPS functionality of the SIM808 module and the active antenna power supply More... | |
GPS functions' prototypes and definition of related parameters.
uint8_t enable_gps | ( | ) |
enables the GPS functionality of the SIM808 module
uint8_t get_gps_location | ( | char * | position | ) |
checks if the module has a GPS fix, if yes, it querries the GPS module for the current position. The format of the output is longitude,latitude Example: 3937.656010,1406.059400
coordinates | is an array that will store the GPS position. |
uint8_t sim_gps_disable | ( | ) |
disables the GPS functionality of the SIM808 module and the active antenna power supply
uint8_t sim_gps_get_speed | ( | char * | speed | ) |
returns the speed relative to ground.
speed | is used to store speed. |