mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-26 21:54:33 +08:00
android/hal-gatt-api: Add Client Execute Write
This commit is contained in:
parent
967acfbac9
commit
e55570b960
@ -1587,6 +1587,13 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
|
||||
In case of an error, the error response will be returned.
|
||||
|
||||
Opcode 0x10 - Execute Write command/response
|
||||
|
||||
Command parameters: Connection ID (4 octets)
|
||||
Execute (4 octets)
|
||||
Response parameters: <none>
|
||||
|
||||
In case of an error, the error response will be returned.
|
||||
|
||||
Opcode 0x11 - Register For Notification command/response
|
||||
Opcode 0x12 - Deregister For Notification command/response
|
||||
Opcode 0x13 - Read Remote RSSI command/response
|
||||
|
@ -640,6 +640,12 @@ struct hal_cmd_gatt_client_write_descriptor {
|
||||
uint8_t value[0];
|
||||
} __attribute__((packed));
|
||||
|
||||
#define HAL_OP_GATT_CLIENT_EXECUTE_WRITE 0x10
|
||||
struct hal_cmd_gatt_client_execute_write {
|
||||
int32_t conn_id;
|
||||
int32_t execute;
|
||||
} __attribute__((packed));
|
||||
|
||||
/* Notifications and confirmations */
|
||||
|
||||
#define HAL_POWER_OFF 0x00
|
||||
|
Loading…
Reference in New Issue
Block a user