Definition at line 75 of file serialsource.c.
Public Attributes | |
int | fd |
bool | non_blocking |
void(* | message )(serial_source_msg problem) |
struct { | |
uint8_t buffer [BUFSIZE] | |
int bufpos | |
int bufused | |
uint8_t packet [MTU] | |
bool in_sync | |
bool escaped | |
int count | |
packet_list * queue [256] | |
} | recv |
struct { | |
uint8_t seqno | |
uint8_t * escaped | |
int escapeptr | |
uint16_t crc | |
} | send |
Definition at line 76 of file serialsource.c.
Referenced by buggyread(), close_serial_source(), serial_source_fd(), source_wait(), and source_write().
void(* serial_source::message)(serial_source_msg problem) |
Referenced by message().
uint8_t serial_source::buffer[BUFSIZE] |
Definition at line 83 of file serialsource.c.
Referenced by read_byte(), serial_source_empty(), and source_wait().
Definition at line 83 of file serialsource.c.
Referenced by read_byte(), serial_source_empty(), and source_wait().
uint8_t serial_source::packet[MTU] |
Definition at line 85 of file serialsource.c.
Referenced by escape_add(), free_escaper(), init_escaper(), read_and_process(), and write_framed_packet().
struct packet_list* serial_source::queue[256] |
Definition at line 87 of file serialsource.c.
Referenced by packet_available(), pop_protocol_packet(), and push_protocol_packet().
struct { ... } serial_source::recv |
Referenced by packet_available(), pop_protocol_packet(), push_protocol_packet(), read_and_process(), read_byte(), serial_source_empty(), and source_wait().
uint8_t serial_source::seqno |
uint8_t* serial_source::escaped |
Definition at line 91 of file serialsource.c.
Definition at line 92 of file serialsource.c.
Referenced by escape_add(), init_escaper(), and write_framed_packet().
uint16_t serial_source::crc |
Definition at line 93 of file serialsource.c.
Referenced by escape_byte(), init_escaper(), and write_framed_packet().
struct { ... } serial_source::send |
Referenced by escape_add(), escape_byte(), free_escaper(), init_escaper(), write_framed_packet(), and write_serial_packet().