66 for (int16_t i = 0; i < numc; i++) {
172 switch (state.
step) {
209 if (state.
ck_a != data) {
215 if (state.
ck_b == data) {
void send_blob_start(uint8_t instance, const char *_blob, uint16_t size)
GPS_Status status
driver fix status
static const char _initialisation_blob[]
int32_t lat
param 3 - Latitude * 10**7
int32_t swap_int32(int32_t v) const
AP_GPS & gps
access to frontend (for parameters)
float wrap_360(const T angle, float unit_mod)
int32_t alt
param 2 - Altitude in centimeters (meters * 100) see LOCATION_ALT_MAX_M
Receiving valid messages and 2D lock.
AP_GPS::GPS_State & state
public state for this instance
DEFINE_BYTE_ARRAY_METHODS diyd_mtk_msg msg
AP_GPS_MTK(AP_GPS &_gps, AP_GPS::GPS_State &_state, AP_HAL::UARTDriver *_port)
virtual uint32_t available()=0
Location location
last fix location
int32_t lng
param 4 - Longitude * 10**7
static bool _detect(struct MTK_detect_state &state, uint8_t data)
void fill_3d_velocity(void)
Receiving valid GPS messages but no lock.
static void send_init_blob(uint8_t instance, AP_GPS &gps)
union AP_GPS_MTK::PACKED _buffer
void make_gps_time(uint32_t bcd_date, uint32_t bcd_milliseconds)
AP_HAL::UARTDriver * port
UART we are attached to.
float ground_speed
ground speed in m/sec
Receiving valid messages and 3D lock.
uint8_t num_sats
Number of visible satellites.
float ground_course
ground course in degrees