RFC2217 option value stored in connection object. Acknowledged baudrate value escaped. Code reorganized.

pull/140/merge^2
Christophe Duparquet 9 years ago
parent 291b55cb4d
commit 076391bb62
  1. 951
      serial/serbridge.c
  2. 3
      serial/serbridge.h

File diff suppressed because it is too large Load Diff

@ -24,7 +24,8 @@ typedef struct serbridgeConnData {
enum connModes conn_mode; // connection mode enum connModes conn_mode; // connection mode
uint8_t tn_state; // Telnet state machine state uint8_t tn_state; // Telnet state machine state
char tn_opt ; // Telnet option char tn_opt ; // Telnet option
int tn_vlen ; // Telnet option value length uint32_t tn_value ; // Telnet option value
char tn_vlen ; // Telnet option value length
uint16 txbufferlen; // length of data in txbuffer uint16 txbufferlen; // length of data in txbuffer
char *txbuffer; // buffer for the data to send char *txbuffer; // buffer for the data to send
char *sentbuffer; // buffer sent, awaiting callback to get freed char *sentbuffer; // buffer sent, awaiting callback to get freed

Loading…
Cancel
Save