Interface definition for the ethernet-over-serial module.
More...
Interface definition for the ethernet-over-serial module.
- Author
- Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e
Definition in file ethos.h.
#include <stdbool.h>
#include "periph/uart.h"
#include "net/netdev.h"
#include "tsrb.h"
#include "mutex.h"
#include "kernel_defines.h"
#include "stdio_uart.h"
Go to the source code of this file.
|
enum | line_state_t { WAIT_FRAMESTART
, IN_FRAME
, IN_ESCAPE
} |
| Enum describing line state. More...
|
|
|
void | ethos_setup (ethos_t *dev, const ethos_params_t *params, uint8_t index, void *inbuf, size_t inbuf_size) |
| Setup an ethos based device state.
|
|
void | ethos_send_frame (ethos_t *dev, const uint8_t *data, size_t len, unsigned frame_type) |
| Send frame over serial port using ethos' framing.
|
|