libosmocore
0.9.6.277-11f2
Osmocom core library
|
one instance of a sercomm multiplex/demultiplex More...
#include <sercomm.h>
Data Fields | |
int | initialized |
Has this instance been initialized? | |
int | uart_id |
UART Identifier. | |
struct { | |
struct llist_head dlci_queues [_SC_DLCI_MAX] | |
per-DLC queue of pending transmit msgbs | |
struct msgb * msg | |
msgb currently being transmitted | |
int state | |
transmit state | |
uint8_t * next_char | |
next to-be-transmitted char in msg | |
} | tx |
transmit side | |
struct { | |
dlci_cb_t dlci_handler [_SC_DLCI_MAX] | |
per-DLC handler call-back functions | |
unsigned int msg_size | |
msgb allocation size for rx msgs | |
struct msgb * msg | |
currently received msgb | |
int state | |
receive state | |
uint8_t dlci | |
DLCI of currently received msgb. | |
uint8_t ctrl | |
CTRL of currently received msgb. | |
} | rx |
receive side | |
one instance of a sercomm multiplex/demultiplex
struct msgb* osmo_sercomm_inst::msg |
msgb currently being transmitted
currently received msgb
Referenced by osmo_sercomm_change_speed(), osmo_sercomm_drv_pull(), osmo_sercomm_drv_rx_char(), and osmo_sercomm_init().
int osmo_sercomm_inst::state |