diff options
author | Jakub Tyszkowski <jakub.tyszkowski@tieto.com> | 2014-02-26 09:41:11 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@gmail.com> | 2014-02-27 21:57:28 +0100 |
commit | f5207a1fa65c7dd498a7a6743d261469568c041f (patch) | |
tree | c5c41e0ee9276d49eeb4abb6c49ceb0bd89a0987 /android/hal-msg.h | |
parent | 2c4ff18695e1f324ebb9419a68082e60f6fe2cfe (diff) | |
download | bluez-f5207a1fa65c7dd498a7a6743d261469568c041f.tar.gz |
android/hal-gatt-api: Add Client Read Characteristic
Diffstat (limited to 'android/hal-msg.h')
-rw-r--r-- | android/hal-msg.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/android/hal-msg.h b/android/hal-msg.h index e0cee6f05..dff4b0a0e 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -600,6 +600,14 @@ struct hal_cmd_gatt_client_get_descriptor { struct hal_gatt_gatt_id gatt_id[0]; } __attribute__((packed)); +#define HAL_OP_GATT_CLIENT_READ_CHARACTERISTIC 0x0c +struct hal_cmd_gatt_client_read_characteristic { + int32_t conn_id; + struct hal_gatt_srvc_id srvc_id; + struct hal_gatt_gatt_id gatt_id; + int32_t auth_req; +} __attribute__((packed)); + /* Notifications and confirmations */ #define HAL_POWER_OFF 0x00 |