diff options
Diffstat (limited to 'src/vfs/inc/ant_rx_chardev.h')
-rw-r--r-- | src/vfs/inc/ant_rx_chardev.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vfs/inc/ant_rx_chardev.h b/src/vfs/inc/ant_rx_chardev.h index 1024dac..b0fd8de 100644 --- a/src/vfs/inc/ant_rx_chardev.h +++ b/src/vfs/inc/ant_rx_chardev.h @@ -41,6 +41,14 @@ #define ANT_MSG_ID_OFFSET ((ANT_U8)1) #define ANT_MSG_DATA_OFFSET ((ANT_U8)2) +#ifdef ANT_DEVICE_NAME // Single transport path
+//Define protocol byte to be added
+//as multiple data will be sent/received over
+//same transport(BT, ANT ..etc)
+#define ANT_CMD_TYPE_PACKET 0x0C
+#define ANT_DATA_TYPE_PACKET 0x0E
+#endif
+
/* This struct defines the info passed to an rx thread */ typedef struct { /* Device path */ |