From fca365f5b9ad7c4beb4b7211257088365e8d7d49 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 14 Apr 2014 16:08:54 +0200 Subject: [PATCH] android/hal-msg: Add defines for GATT write types --- android/hal-msg.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/hal-msg.h b/android/hal-msg.h index 44a72b031..ca36b5949 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -649,6 +649,11 @@ struct hal_cmd_gatt_client_read_characteristic { int32_t auth_req; } __attribute__((packed)); +#define GATT_WRITE_TYPE_NO_RESPONSE 0x01 +#define GATT_WRITE_TYPE_DEFAULT 0x02 +#define GATT_WRITE_TYPE_PREPARE 0x03 +#define GATT_WRITE_TYPE_SIGNED 0x04 + #define HAL_OP_GATT_CLIENT_WRITE_CHARACTERISTIC 0x0d struct hal_cmd_gatt_client_write_characteristic { int32_t conn_id; -- 2.47.3