aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-06-13 18:00:42 -0400
committerBrian Cully <bjc@kublai.com>2019-06-22 16:18:03 -0400
commitfad3038b035db90c59f297891835d37fd97b79c5 (patch)
treee99ab8e4de5130dc9aca5ad35f3c6b8e0e82d263 /common
downloadusb2btle-fad3038b035db90c59f297891835d37fd97b79c5.tar.gz
usb2btle-fad3038b035db90c59f297891835d37fd97b79c5.zip
Initial commit.
Diffstat (limited to 'common')
-rw-r--r--common/i2c_message.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/i2c_message.h b/common/i2c_message.h
new file mode 100644
index 0000000..c5b4e81
--- /dev/null
+++ b/common/i2c_message.h
@@ -0,0 +1,10 @@
+#ifndef I2C_MESSAGE_H
+#define I2C_MESSAGE_H
+
+#include <stdint.h>
+
+enum i2c_message_t {DBG = 0x00, KBD = 0x01, INVALID = 0xff};
+
+const uint8_t BTLE_WIREADDR = 4;
+
+#endif