OLD | NEW |
---|---|
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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
314 bool connected); | 314 bool connected); |
315 [MinVersion=1] OnSearchComplete@9(BluetoothAddress remote_addr, | 315 [MinVersion=1] OnSearchComplete@9(BluetoothAddress remote_addr, |
316 BluetoothGattStatus status); | 316 BluetoothGattStatus status); |
317 [MinVersion=1] OnGetGattDB@10(BluetoothAddress remote_addr, | 317 [MinVersion=1] OnGetGattDB@10(BluetoothAddress remote_addr, |
318 array<BluetoothGattDBElement> db); | 318 array<BluetoothGattDBElement> db); |
319 [MinVersion=1] OnServicesRemoved@11(BluetoothAddress remote_addr, | 319 [MinVersion=1] OnServicesRemoved@11(BluetoothAddress remote_addr, |
320 uint16 start_handle, | 320 uint16 start_handle, |
321 uint16 end_handle); | 321 uint16 end_handle); |
322 [MinVersion=1] OnServicesAdded@12(BluetoothAddress remote_addr, | 322 [MinVersion=1] OnServicesAdded@12(BluetoothAddress remote_addr, |
323 array<BluetoothGattDBElement> db); | 323 array<BluetoothGattDBElement> db); |
324 [MinVersion=2] OnGattNotify@13(BluetoothAddress remote_addr, | |
325 BluetoothGattServiceID service_id, | |
326 BluetoothGattID char_id, | |
327 bool is_notify, | |
ortuno
2016/06/21 23:23:06
What purpose does is_notify serve? When is it true
puthik_chromium
2016/06/23 02:53:34
It's map to is_notify in here. It should be true f
ortuno
2016/06/23 14:29:38
I see. Does this have to match the android impleme
puthik_chromium
2016/06/23 18:36:30
I would prefer to match it to android. It will mak
| |
328 array<uint8> value); | |
324 }; | 329 }; |
OLD | NEW |