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

Side by Side Diff: components/arc/common/bluetooth.mojom

Issue 2166143002: arc: bluetooth: Implement socket opening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arc: bluetooth: Implement socket opening Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « components/arc/bluetooth/arc_bluetooth_bridge.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module arc.mojom; 5 module arc.mojom;
6 6
7 [Extensible] 7 [Extensible]
8 enum BluetoothAdapterState { 8 enum BluetoothAdapterState {
9 OFF = 0, 9 OFF = 0,
10 ON 10 ON
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 BluetoothGattID char_id) 280 BluetoothGattID char_id)
281 => (BluetoothGattStatus status); 281 => (BluetoothGattStatus status);
282 [MinVersion=1] DeregisterForGattNotification@27( 282 [MinVersion=1] DeregisterForGattNotification@27(
283 BluetoothAddress remote_addr, 283 BluetoothAddress remote_addr,
284 BluetoothGattServiceID service_id, 284 BluetoothGattServiceID service_id,
285 BluetoothGattID char_id) 285 BluetoothGattID char_id)
286 => (BluetoothGattStatus status); 286 => (BluetoothGattStatus status);
287 [MinVersion=1] ReadRemoteRssi@28(BluetoothAddress remote_addr) 287 [MinVersion=1] ReadRemoteRssi@28(BluetoothAddress remote_addr)
288 => (int32 rssi); 288 => (int32 rssi);
289 289
290 [MinVersion=2] OpenBluetoothSocket@29()
291 => (handle sock);
290 }; 292 };
291 293
292 interface BluetoothInstance { 294 interface BluetoothInstance {
293 Init@0(BluetoothHost host_ptr); 295 Init@0(BluetoothHost host_ptr);
294 296
295 OnAdapterProperties@1(BluetoothStatus status, 297 OnAdapterProperties@1(BluetoothStatus status,
296 array<BluetoothProperty> properties); 298 array<BluetoothProperty> properties);
297 OnRemoteDeviceProperties@2(BluetoothStatus status, 299 OnRemoteDeviceProperties@2(BluetoothStatus status,
298 BluetoothAddress address, 300 BluetoothAddress address,
299 array<BluetoothProperty> properties); 301 array<BluetoothProperty> properties);
(...skipping 20 matching lines...) Expand all
320 uint16 start_handle, 322 uint16 start_handle,
321 uint16 end_handle); 323 uint16 end_handle);
322 [MinVersion=1] OnServicesAdded@12(BluetoothAddress remote_addr, 324 [MinVersion=1] OnServicesAdded@12(BluetoothAddress remote_addr,
323 array<BluetoothGattDBElement> db); 325 array<BluetoothGattDBElement> db);
324 [MinVersion=2] OnGattNotify@13(BluetoothAddress remote_addr, 326 [MinVersion=2] OnGattNotify@13(BluetoothAddress remote_addr,
325 BluetoothGattServiceID service_id, 327 BluetoothGattServiceID service_id,
326 BluetoothGattID char_id, 328 BluetoothGattID char_id,
327 bool is_notify, 329 bool is_notify,
328 array<uint8> value); 330 array<uint8> value);
329 }; 331 };
OLDNEW
« no previous file with comments | « components/arc/bluetooth/arc_bluetooth_bridge.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698