diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2002-12-15 13:18:53 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2002-12-15 13:18:53 +0000 |
commit | d6cbeb4c61f5dc0c0d04dd022139b44f81964b18 (patch) | |
tree | 23eacda469f1a02fc6bbe1426431432a4504c2f5 /include | |
parent | a0a3d96eed5f186278ea931953d4bcb6cd99cc7a (diff) |
Support for voice setting
Diffstat (limited to 'include')
-rw-r--r-- | include/hci.h | 13 | ||||
-rw-r--r-- | include/hci_lib.h | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h index 7868366c..a00b7218 100644 --- a/include/hci.h +++ b/include/hci.h @@ -338,6 +338,19 @@ typedef struct { } __attribute__ ((packed)) write_class_of_dev_cp; #define WRITE_CLASS_OF_DEV_CP_SIZE 3 +#define OCF_READ_VOICE_SETTING 0x0025 +typedef struct { + uint8_t status; + uint16_t voice_setting; +} __attribute__ ((packed)) read_voice_setting_rp; +#define READ_VOICE_SETTING_RP_SIZE 3 + +#define OCF_WRITE_VOICE_SETTING 0x0026 +typedef struct { + uint16_t voice_setting; +} __attribute__ ((packed)) write_voice_setting_cp; +#define WRITE_VOICE_SETTING_CP_SIZE 2 + #define OCF_HOST_BUFFER_SIZE 0x0033 typedef struct { uint16_t acl_mtu; diff --git a/include/hci_lib.h b/include/hci_lib.h index e7aa8bcd..81d29ecf 100644 --- a/include/hci_lib.h +++ b/include/hci_lib.h @@ -75,6 +75,8 @@ int hci_read_remote_version(int dd, uint16_t handle, struct hci_version *ver, in int hci_read_local_version(int dd, struct hci_version *ver, int to); int hci_read_class_of_dev(int dd, uint8_t *cls, int to); int hci_write_class_of_dev(int dd, uint32_t cls, int to); +int hci_read_voice_setting(int dd, uint16_t *vs, int to); +int hci_write_voice_setting(int dd, uint16_t vs, int to); int hci_read_current_iac_lap(int dd, uint8_t *num_iac, uint8_t *lap, int to); int hci_write_current_iac_lap(int dd, uint8_t num_iac, uint8_t *lap, int to); |