APM:Libraries
Public Types | Public Attributes | List of all members
SBP2_detect_state Struct Reference

#include <GPS_detect_state.h>

Public Types

enum  {
  WAITING = 0, GET_TYPE = 1, GET_SENDER = 2, GET_LEN = 3,
  GET_MSG = 4, GET_CRC = 5
}
 

Public Attributes

enum SBP2_detect_state:: { ... }  state
 
uint16_t msg_type
 
uint8_t n_read
 
uint8_t msg_len
 
uint16_t crc_so_far
 
uint16_t crc
 
uint8_t heartbeat_buff [4]
 

Detailed Description

Definition at line 80 of file GPS_detect_state.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
WAITING 
GET_TYPE 
GET_SENDER 
GET_LEN 
GET_MSG 
GET_CRC 

Definition at line 81 of file GPS_detect_state.h.

Member Data Documentation

◆ crc

uint16_t SBP2_detect_state::crc

Definition at line 93 of file GPS_detect_state.h.

Referenced by AP_GPS_SBP2::_detect().

◆ crc_so_far

uint16_t SBP2_detect_state::crc_so_far

Definition at line 92 of file GPS_detect_state.h.

Referenced by AP_GPS_SBP2::_detect().

◆ heartbeat_buff

uint8_t SBP2_detect_state::heartbeat_buff[4]

Definition at line 94 of file GPS_detect_state.h.

Referenced by AP_GPS_SBP2::_detect().

◆ msg_len

uint8_t SBP2_detect_state::msg_len

Definition at line 91 of file GPS_detect_state.h.

Referenced by AP_GPS_SBP2::_detect().

◆ msg_type

uint16_t SBP2_detect_state::msg_type

Definition at line 89 of file GPS_detect_state.h.

Referenced by AP_GPS_SBP2::_detect().

◆ n_read

uint8_t SBP2_detect_state::n_read

Definition at line 90 of file GPS_detect_state.h.

Referenced by AP_GPS_SBP2::_detect().

◆ state

enum { ... } SBP2_detect_state::state

Referenced by AP_GPS_SBP2::_detect().


The documentation for this struct was generated from the following file: