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.
|
|
|
#define | ETHOS_FRAME_DELIMITER (0x7E) |
|
#define | ETHOS_ESC_CHAR (0x7D) |
|
#define | ETHOS_FRAME_TYPE_DATA (0x0) |
|
#define | ETHOS_FRAME_TYPE_TEXT (0x1) |
|
#define | ETHOS_FRAME_TYPE_HELLO (0x2) |
|
#define | ETHOS_FRAME_TYPE_HELLO_REPLY (0x3) |
|