25#include "fms/fms_network.h"
31#define GPS_UDP_HOST 192.168.1.2
34#define GPS_UDP_MSG_LEN (11*4)
50#define UDP_GPS_INT(_udp_gps_payload) (int32_t)(*((uint8_t*)_udp_gps_payload)|*((uint8_t*)_udp_gps_payload+1)<<8|((int32_t)*((uint8_t*)_udp_gps_payload+2))<<16|((int32_t)*((uint8_t*)_udp_gps_payload+3))<<24)
93 printf(
"gps_udp error: msg len invalid %d bytes\n", size);
Main include for ABI (AirBorneInterface).
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
Device independent GPS code (interface).
#define GPS_VALID_VEL_ECEF_BIT
#define GPS_VALID_POS_LLA_BIT
#define GPS_FIX_NONE
No GPS fix.
#define GPS_VALID_POS_ECEF_BIT
#define GPS_VALID_HMSL_BIT
#define GPS_FIX_3D
3D GPS fix
data structure for GPS information
struct FmsNetwork * gps_network
#define UDP_GPS_INT(_udp_gps_payload)
unsigned char gps_udp_read_buffer[256]
volatile uint32_t nb_sec
full seconds since startup
volatile uint32_t nb_sec_rem
remainder of seconds since startup in CPU_TICKS
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.