aboutsummaryrefslogtreecommitdiffstats
path: root/src/vfs/qualcomm/smd/ant_driver_defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vfs/qualcomm/smd/ant_driver_defines.h')
-rw-r--r--src/vfs/qualcomm/smd/ant_driver_defines.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/vfs/qualcomm/smd/ant_driver_defines.h b/src/vfs/qualcomm/smd/ant_driver_defines.h
index 273286d..948c524 100644
--- a/src/vfs/qualcomm/smd/ant_driver_defines.h
+++ b/src/vfs/qualcomm/smd/ant_driver_defines.h
@@ -34,7 +34,7 @@
// |----------------------|-----------------|
// |Optional| Data | Opt. | ... | Optional |
// | Opcode | Size | Sync | | Checksum |
-
+
// Data may include any number of ANT packets, with no sync byte or checksum.
// A read from the driver may return any number of ANT HCI packets.
@@ -52,19 +52,21 @@
// If chip uses one path:
// #define ANT_DEVICE_NAME "/dev/Z"
-
// Set to the number of bytes of header is for Opcode:
#define ANT_HCI_OPCODE_SIZE 0
-
+
+// Set to the number of bytes of header for channel ID
+#define ANT_HCI_CHANNEL_SIZE 0
+
// Set to the number of bytes of header is for Data Size:
#define ANT_HCI_SIZE_SIZE 1
-
+
// Set to the number of bytes of header is for Sync:
#define ANT_HCI_SYNC_SIZE 0
-
+
// Set to the number of bytes of footer is for Checksum:
#define ANT_HCI_CHECKSUM_SIZE 0
-
+
// ---------------------- OPTIONAL
// If hard reset is supported, define ANT_IOCTL_RESET
@@ -78,7 +80,7 @@
// define the message content:
// That signals Flow Go:
#define ANT_FLOW_GO ((ANT_U8)0x00)
-
+
// That signals Flow Stop:
#define ANT_FLOW_STOP ((ANT_U8)0x80)