From 456c8fd652c0d96500adef3dd7abb067a000bc50 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 17 Apr 2005 21:45:50 +0000 Subject: Add definitions for local extended features and commands --- include/hci.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'include') diff --git a/include/hci.h b/include/hci.h index 3f811ffa..fce19b9c 100644 --- a/include/hci.h +++ b/include/hci.h @@ -407,6 +407,13 @@ typedef struct { } __attribute__ ((packed)) read_remote_features_cp; #define READ_REMOTE_FEATURES_CP_SIZE 2 +#define OCF_READ_REMOTE_EXT_FEATURES 0x001C +typedef struct { + uint16_t handle; + uint8_t page_num; +} __attribute__ ((packed)) read_remote_ext_features_cp; +#define READ_REMOTE_EXT_FEATURES_CP_SIZE 3 + #define OCF_READ_REMOTE_VERSION 0x001D typedef struct { uint16_t handle; @@ -763,6 +770,13 @@ typedef struct { } __attribute__ ((packed)) read_local_version_rp; #define READ_LOCAL_VERSION_RP_SIZE 9 +#define OCF_READ_LOCAL_COMMANDS 0x0002 +typedef struct { + uint8_t status; + uint8_t commands[64]; +} __attribute__ ((packed)) read_local_commands_rp; +#define READ_LOCAL_COMMANDS_RP_SIZE 65 + #define OCF_READ_LOCAL_FEATURES 0x0003 typedef struct { uint8_t status; @@ -770,6 +784,15 @@ typedef struct { } __attribute__ ((packed)) read_local_features_rp; #define READ_LOCAL_FEATURES_RP_SIZE 9 +#define OCF_READ_LOCAL_EXT_FEATURES 0x0004 +typedef struct { + uint8_t status; + uint8_t page_num; + uint8_t max_page_num; + uint8_t features[8]; +} __attribute__ ((packed)) read_local_ext_features_rp; +#define READ_LOCAL_EXT_FEATURES_RP_SIZE 11 + #define OCF_READ_BUFFER_SIZE 0x0005 typedef struct { uint8_t status; -- cgit