#include "ip_connection.h"
Go to the source code of this file.
Defines | |
#define | GPS_CALLBACK_ALTITUDE 19 |
#define | GPS_CALLBACK_COORDINATES 17 |
#define | GPS_CALLBACK_DATE_TIME 21 |
#define | GPS_CALLBACK_MOTION 20 |
#define | GPS_CALLBACK_STATUS 18 |
#define | GPS_DEVICE_IDENTIFIER 222 |
#define | GPS_FIX_2D_FIX 2 |
#define | GPS_FIX_3D_FIX 3 |
#define | GPS_FIX_NO_FIX 1 |
#define | GPS_FUNCTION_GET_ALTITUDE 3 |
#define | GPS_FUNCTION_GET_ALTITUDE_CALLBACK_PERIOD 12 |
#define | GPS_FUNCTION_GET_COORDINATES 1 |
#define | GPS_FUNCTION_GET_COORDINATES_CALLBACK_PERIOD 8 |
#define | GPS_FUNCTION_GET_DATE_TIME 5 |
#define | GPS_FUNCTION_GET_DATE_TIME_CALLBACK_PERIOD 16 |
#define | GPS_FUNCTION_GET_IDENTITY 255 |
#define | GPS_FUNCTION_GET_MOTION 4 |
#define | GPS_FUNCTION_GET_MOTION_CALLBACK_PERIOD 14 |
#define | GPS_FUNCTION_GET_STATUS 2 |
#define | GPS_FUNCTION_GET_STATUS_CALLBACK_PERIOD 10 |
#define | GPS_FUNCTION_RESTART 6 |
#define | GPS_FUNCTION_SET_ALTITUDE_CALLBACK_PERIOD 11 |
#define | GPS_FUNCTION_SET_COORDINATES_CALLBACK_PERIOD 7 |
#define | GPS_FUNCTION_SET_DATE_TIME_CALLBACK_PERIOD 15 |
#define | GPS_FUNCTION_SET_MOTION_CALLBACK_PERIOD 13 |
#define | GPS_FUNCTION_SET_STATUS_CALLBACK_PERIOD 9 |
#define | GPS_RESTART_TYPE_COLD_START 2 |
#define | GPS_RESTART_TYPE_FACTORY_RESET 3 |
#define | GPS_RESTART_TYPE_HOT_START 0 |
#define | GPS_RESTART_TYPE_WARM_START 1 |
Typedefs | |
typedef Device | GPS |
Functions | |
void | gps_create (GPS *gps, const char *uid, IPConnection *ipcon) |
void | gps_destroy (GPS *gps) |
int | gps_get_altitude (GPS *gps, uint32_t *ret_altitude, uint32_t *ret_geoidal_separation) |
int | gps_get_altitude_callback_period (GPS *gps, uint32_t *ret_period) |
int | gps_get_api_version (GPS *gps, uint8_t ret_api_version[3]) |
int | gps_get_coordinates (GPS *gps, uint32_t *ret_latitude, char *ret_ns, uint32_t *ret_longitude, char *ret_ew, uint16_t *ret_pdop, uint16_t *ret_hdop, uint16_t *ret_vdop, uint16_t *ret_epe) |
int | gps_get_coordinates_callback_period (GPS *gps, uint32_t *ret_period) |
int | gps_get_date_time (GPS *gps, uint32_t *ret_date, uint32_t *ret_time) |
int | gps_get_date_time_callback_period (GPS *gps, uint32_t *ret_period) |
int | gps_get_identity (GPS *gps, char ret_uid[8], char ret_connected_uid[8], char *ret_position, uint8_t ret_hardware_version[3], uint8_t ret_firmware_version[3], uint16_t *ret_device_identifier) |
int | gps_get_motion (GPS *gps, uint32_t *ret_course, uint32_t *ret_speed) |
int | gps_get_motion_callback_period (GPS *gps, uint32_t *ret_period) |
int | gps_get_response_expected (GPS *gps, uint8_t function_id, bool *ret_response_expected) |
int | gps_get_status (GPS *gps, uint8_t *ret_fix, uint8_t *ret_satellites_view, uint8_t *ret_satellites_used) |
int | gps_get_status_callback_period (GPS *gps, uint32_t *ret_period) |
void | gps_register_callback (GPS *gps, uint8_t id, void *callback, void *user_data) |
int | gps_restart (GPS *gps, uint8_t restart_type) |
int | gps_set_altitude_callback_period (GPS *gps, uint32_t period) |
int | gps_set_coordinates_callback_period (GPS *gps, uint32_t period) |
int | gps_set_date_time_callback_period (GPS *gps, uint32_t period) |
int | gps_set_motion_callback_period (GPS *gps, uint32_t period) |
int | gps_set_response_expected (GPS *gps, uint8_t function_id, bool response_expected) |
int | gps_set_response_expected_all (GPS *gps, bool response_expected) |
int | gps_set_status_callback_period (GPS *gps, uint32_t period) |