Add send-receive channels

This commit is contained in:
Ian Gulliver
2016-03-03 18:28:34 -08:00
parent 77b9decbcd
commit 939b3b1851
9 changed files with 196 additions and 59 deletions

View File

@@ -3,9 +3,12 @@
#include <stdbool.h>
#include <stdint.h>
struct stat;
#define PACKET_DATA_LEN_MAX 14
struct packet {
const uint8_t *source_id;
struct stat *input_stat;
enum packet_type {
PACKET_TYPE_NONE,
PACKET_TYPE_MODE_AC,