Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: device/bluetooth/public/interfaces/device.mojom

Issue 2640073004: bluetooth: Add descriptor list to DeviceDetailsPage on internals page. (Closed)
Patch Set: Fix merge issue of bluetooth_internals.css Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/device.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/public/interfaces/device.mojom
diff --git a/device/bluetooth/public/interfaces/device.mojom b/device/bluetooth/public/interfaces/device.mojom
index 5448f342e424ba9cd95daceadb01f197c09b00db..2e3773ac787d780f9e9f8eebf5b6d830b7565bfb 100644
--- a/device/bluetooth/public/interfaces/device.mojom
+++ b/device/bluetooth/public/interfaces/device.mojom
@@ -58,6 +58,11 @@ struct CharacteristicInfo {
uint32 properties;
};
+struct DescriptorInfo {
+ string id;
+ UUID uuid;
+};
+
interface Device {
// Disconnects and deletes the Device.
Disconnect();
@@ -75,4 +80,12 @@ interface Device {
// means that no characteristics were found.
GetCharacteristics(string service_id) =>
(array<CharacteristicInfo>? characteristics);
+
+ // Gets the GATT Descriptors of the GATT Characteristic with matching
+ // |characteristic_id| in the GATT Service with matching |service_id|.
+ // If |descriptors| is null, an error occured while attempting to retrieve
+ // the array of descriptors. If |descriptors| is empty, this simply
+ // means that no descriptors were found.
+ GetDescriptors(string service_id, string characteristic_id) =>
+ (array<DescriptorInfo>? descriptors);
};
« no previous file with comments | « device/bluetooth/device.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698