summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-06-17 11:48:17 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-06-17 11:48:17 +0000
commitef13270022a9ac069ef907f36feee499c682356b (patch)
treebc14433cf7525f03de86538fab9e1bcce50418cb /include
parentf38a7523b3e2ec2109cd5c5f65803da5a354da03 (diff)
Add definitions for connection accept timeout and scan enable
Diffstat (limited to 'include')
-rw-r--r--include/hci.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/include/hci.h b/include/hci.h
index b6275196..29518dbb 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -675,8 +675,18 @@ typedef struct {
} __attribute__ ((packed)) read_local_name_rp;
#define READ_LOCAL_NAME_RP_SIZE 249
-#define OCF_WRITE_CA_TIMEOUT 0x0016
-#define OCF_WRITE_PG_TIMEOUT 0x0018
+#define OCF_READ_CONN_ACCEPT_TIMEOUT 0x0015
+typedef struct {
+ uint8_t status;
+ uint16_t timeout;
+} __attribute__ ((packed)) read_conn_accept_timeout_rp;
+#define READ_CONN_ACCEPT_TIMEOUT_RP_SIZE 3
+
+#define OCF_WRITE_CONN_ACCEPT_TIMEOUT 0x0016
+typedef struct {
+ uint16_t timeout;
+} __attribute__ ((packed)) write_conn_accept_timeout_cp;
+#define WRITE_CONN_ACCEPT_TIMEOUT_CP_SIZE 2
#define OCF_READ_PAGE_TIMEOUT 0x0017
typedef struct {
@@ -691,6 +701,13 @@ typedef struct {
} __attribute__ ((packed)) write_page_timeout_cp;
#define WRITE_PAGE_TIMEOUT_CP_SIZE 2
+#define OCF_READ_SCAN_ENABLE 0x0019
+typedef struct {
+ uint8_t status;
+ uint8_t enable;
+} __attribute__ ((packed)) read_scan_enable_rp;
+#define READ_SCAN_ENABLE_RP_SIZE 2
+
#define OCF_WRITE_SCAN_ENABLE 0x001A
#define SCAN_DISABLED 0x00
#define SCAN_INQUIRY 0x01