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

Public Types

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

Public Attributes

enum AP_GPS_SBP2::sbp_parser_state_t:: { ... }  state
 
uint16_t msg_type
 
uint16_t sender_id
 
uint16_t crc
 
uint8_t msg_len
 
uint8_t n_read
 
uint8_t msg_buff [256]
 

Detailed Description

Definition at line 49 of file AP_GPS_SBP2.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
WAITING 
GET_TYPE 
GET_SENDER 
GET_LEN 
GET_MSG 
GET_CRC 

Definition at line 50 of file AP_GPS_SBP2.h.

Member Data Documentation

◆ crc

uint16_t AP_GPS_SBP2::sbp_parser_state_t::crc

Definition at line 60 of file AP_GPS_SBP2.h.

Referenced by AP_GPS_SBP2::_sbp_process().

◆ msg_buff

uint8_t AP_GPS_SBP2::sbp_parser_state_t::msg_buff[256]

Definition at line 63 of file AP_GPS_SBP2.h.

Referenced by AP_GPS_SBP2::_sbp_process(), and AP_GPS_SBP2::_sbp_process_message().

◆ msg_len

uint8_t AP_GPS_SBP2::sbp_parser_state_t::msg_len

Definition at line 61 of file AP_GPS_SBP2.h.

Referenced by AP_GPS_SBP2::_sbp_process(), and AP_GPS_SBP2::_sbp_process_message().

◆ msg_type

uint16_t AP_GPS_SBP2::sbp_parser_state_t::msg_type

Definition at line 58 of file AP_GPS_SBP2.h.

Referenced by AP_GPS_SBP2::_sbp_process(), and AP_GPS_SBP2::_sbp_process_message().

◆ n_read

uint8_t AP_GPS_SBP2::sbp_parser_state_t::n_read

Definition at line 62 of file AP_GPS_SBP2.h.

Referenced by AP_GPS_SBP2::_sbp_process().

◆ sender_id

uint16_t AP_GPS_SBP2::sbp_parser_state_t::sender_id

Definition at line 59 of file AP_GPS_SBP2.h.

Referenced by AP_GPS_SBP2::_sbp_process(), and AP_GPS_SBP2::_sbp_process_message().

◆ state

enum { ... } AP_GPS_SBP2::sbp_parser_state_t::state

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