SLIP network device over UART.  
More...
SLIP network device over UART. 
- See also
 - RFC 1055 
 
◆ anonymous enum
| Enumerator | 
|---|
| SLIPDEV_STATE_NONE  | Device is in no mode (currently did not receiving any data frame)  
 | 
| SLIPDEV_STATE_NET  | Device writes handles data as network device.  
 | 
| SLIPDEV_STATE_NET_ESC  | Device writes handles data as network device, next byte is escaped.  
 | 
| SLIPDEV_STATE_STDIN  | Device writes received data to stdin.  
 | 
| SLIPDEV_STATE_STDIN_ESC  | Device writes received data to stdin, next byte is escaped.  
 | 
| SLIPDEV_STATE_CONFIG  | Device writes received data as CoAP message.  
 | 
| SLIPDEV_STATE_CONFIG_ESC  | Device writes received data as CoAP message, next byte is escaped.  
 | 
| SLIPDEV_STATE_STANDBY  | Device is in standby, will wake up when sending data.  
 | 
| SLIPDEV_STATE_SLEEP  | Device is in sleep mode.  
 | 
Definition at line 101 of file slipdev.h.
 
 
◆ slipdev_setup()
Setup a slipdev device state. 
- Parameters
 - 
  
    | [in] | dev | device descriptor  | 
    | [in] | params | parameters for device initialization  | 
    | [in] | index | index of params in a global parameter struct array. If initialized manually, pass a unique identifier instead.  |