From: Marcel Holtmann Date: Mon, 7 Oct 2013 11:51:04 +0000 (-0700) Subject: Bluetooth: Add definitions for location data commands X-Git-Tag: android-x86-4.4-r3~7490 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e8d44d2830ba6b7735439d5555c52b900c91d2fb;p=android-x86%2Fexternal-bluetooth-bluez.git Bluetooth: Add definitions for location data commands --- diff --git a/monitor/bt.h b/monitor/bt.h index 25a1c8d6a..20f20780e 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -873,6 +873,23 @@ struct bt_hci_cmd_set_event_mask_page2 { uint8_t mask[8]; } __attribute__ ((packed)); +#define BT_HCI_CMD_READ_LOCATION_DATA 0x0c64 +struct bt_hci_rsp_read_location_data { + uint8_t status; + uint8_t domain_aware; + uint8_t domain[2]; + uint8_t domain_options; + uint8_t options; +} __attribute__ ((packed)); + +#define BT_HCI_CMD_WRITE_LOCATION_DATA 0x0c65 +struct bt_hci_cmd_write_location_data { + uint8_t domain_aware; + uint8_t domain[2]; + uint8_t domain_options; + uint8_t options; +} __attribute__ ((packed)); + #define BT_HCI_CMD_READ_FLOW_CONTROL_MODE 0x0c66 struct bt_hci_rsp_read_flow_control_mode { uint8_t status;