summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-17 23:34:34 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-17 23:34:34 +0100
commit0ab93149e0de6539404725b4f313556efdeabdb1 (patch)
tree89574c7d0130daa9632162074664613afe59a46b /lib
parent83b21cc152186f12f8bc76b7aec3107e220d5219 (diff)
lib: Add definition for Read Data Block Size HCI command
Diffstat (limited to 'lib')
-rw-r--r--lib/hci.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/hci.h b/lib/hci.h
index 196b1aa56..b29a812d9 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -1326,6 +1326,14 @@ typedef struct {
} __attribute__ ((packed)) read_bd_addr_rp;
#define READ_BD_ADDR_RP_SIZE 7
+#define OCF_READ_DATA_BLOCK_SIZE 0x000A
+typedef struct {
+ uint8_t status;
+ uint16_t max_acl_len;
+ uint16_t data_block_len;
+ uint16_t num_blocks;
+} __attribute__ ((packed)) read_data_block_size_rp;
+
/* Status params */
#define OGF_STATUS_PARAM 0x05