SLIP network device over UART. More...
SLIP network device over UART.
Topics | |
| CoAP via SLIP | |
| Exchange CoAP requests and responses via SLIP. | |
| SLIP Network driver compile configuration | |
Files | |
| file | slipdev.h |
| SLIP device definitions. | |
| file | slipdev_internal.h |
| file | slipdev_params.h |
| Default configuration for the SLIP device driver. | |
Data Structures | |
| struct | slipdev_params_t |
| Configuration parameters for a slipdev. More... | |
| struct | slipdev_t |
| Device descriptor for slipdev. More... | |
Enumerations | |
| enum | slipdev_state_t { SLIPDEV_STATE_NONE = 0 , SLIPDEV_STATE_UNKNOWN , SLIPDEV_STATE_NET , SLIPDEV_STATE_NET_ESC , SLIPDEV_STATE_STDIN , SLIPDEV_STATE_STDIN_ESC , SLIPDEV_STATE_CONFIG , SLIPDEV_STATE_CONFIG_ESC , SLIPDEV_STATE_STANDBY , SLIPDEV_STATE_SLEEP } |
| States for the slipdev and its parser. More... | |
Functions | |
| void | slipdev_setup (slipdev_t *dev, const slipdev_params_t *params, uint8_t index) |
| Setup a slipdev device state. | |
| enum slipdev_state_t |
States for the slipdev and its parser.
| void slipdev_setup | ( | slipdev_t * | dev, |
| const slipdev_params_t * | params, | ||
| uint8_t | index ) |
Setup a slipdev device state.
| [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. |