libsbp  v2.4.7
sbp_state_t Struct Reference

State structure for processing SBP messages. More...

#include <sbp.h>

Collaboration diagram for sbp_state_t:

Public Types

enum  {
  WAITING = 0, GET_TYPE, GET_SENDER, GET_LEN,
  GET_MSG, GET_CRC
}
 

Data Fields

enum sbp_state_t:: { ... }  state
 
u16 msg_type
 
u16 sender_id
 
u16 crc
 
u8 msg_len
 
u8 n_read
 
u8 msg_buff [256]
 
void * io_context
 
sbp_msg_callbacks_node_tsbp_msg_callbacks_head
 

Detailed Description

State structure for processing SBP messages.

Definition at line 62 of file sbp.h.

Field Documentation

u16 crc

Definition at line 73 of file sbp.h.

void* io_context

Definition at line 77 of file sbp.h.

u8 msg_buff[256]

Definition at line 76 of file sbp.h.

u8 msg_len

Definition at line 74 of file sbp.h.

u16 msg_type

Definition at line 71 of file sbp.h.

u8 n_read

Definition at line 75 of file sbp.h.

sbp_msg_callbacks_node_t* sbp_msg_callbacks_head

Definition at line 78 of file sbp.h.

u16 sender_id

Definition at line 72 of file sbp.h.

enum { ... } state

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