aboutsummaryrefslogtreecommitdiff
path: root/fw/protocol.h
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2019-04-16 23:38:46 +0900
committerjaseg <git@jaseg.net>2019-04-16 23:38:46 +0900
commitf6b959086671fb1bf8b2003d5c5384c7311a7735 (patch)
tree1e06cf5a3c19900323d1f44dabd8a7ee14e2ec32 /fw/protocol.h
parente79f3d4047aaf9beb8a59f1d30d93c78efae0cc5 (diff)
download8seg-f6b959086671fb1bf8b2003d5c5384c7311a7735.tar.gz
8seg-f6b959086671fb1bf8b2003d5c5384c7311a7735.tar.bz2
8seg-f6b959086671fb1bf8b2003d5c5384c7311a7735.zip
center/fw: rename
Diffstat (limited to 'fw/protocol.h')
-rw-r--r--fw/protocol.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/fw/protocol.h b/fw/protocol.h
deleted file mode 100644
index 9178c42..0000000
--- a/fw/protocol.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef __PROTOCOL_H__
-#define __PROTOCOL_H__
-
-#include <stdint.h>
-
-#define PKT_TYPE_BULK_FLAG 0x80
-
-struct proto_rx_st {
- int packet_type;
- int is_bulk;
- int rxpos;
- int address;
- uint8_t argbuf[8];
- int offset;
- struct command_if_def *cmd_if;
-};
-
-struct command_if_def {
- int packet_type_max;
- int payload_len[0];
-};
-
-/* Callback */
-void handle_command(int command, uint8_t *args);
-
-void receive_symbol(struct proto_rx_st *st, int symbol);
-void reset_receiver(struct proto_rx_st *st, struct command_if_def *cmd_if);
-
-#endif