--- android/hal-ipc-api.txt | 6 ++++++ android/hal-msg.h | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt index 9aee3ab..f4d5c91 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -2038,4 +2038,10 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID) Value (variable) Opcode 0x9e - Request Execute Write notification + + Notification parameters: Connection ID (4 octets) + Trans ID (4 octets) + Address (6 octets) + Execute Write (4 octets) + Opcode 0x9f - Response Confirmation notification diff --git a/android/hal-msg.h b/android/hal-msg.h index ad57e23..12dc8dc 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -1491,3 +1491,11 @@ struct hal_ev_gatt_server_request_write { uint8_t is_prep; uint8_t value[0]; } __attribute__((packed)); + +#define HAL_EV_GATT_SERVER_REQUEST_EXEC_WRITE 0x9e +struct hal_ev_gatt_server_request_exec_write { + int32_t conn_id; + int32_t trans_id; + uint8_t bdaddr[6]; + int32_t exec_write; +} __attribute__((packed)); -- 1.8.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html