diff options
author | Zakor Gyula <zakorgy@inf.u-szeged.hu> | 2016-11-29 08:45:46 +0100 |
---|---|---|
committer | Zakor Gyula <zakorgy@inf.u-szeged.hu> | 2016-12-22 15:49:29 +0100 |
commit | 6e02cb2eb99cd633579ed99acef2240f90f173c5 (patch) | |
tree | efa84b01340ea51963c2627e49956b1d732d15d0 /components/bluetooth_traits/lib.rs | |
parent | 6efea399ed0e44fe6bd151f346ca2c3371e2f66c (diff) | |
download | servo-6e02cb2eb99cd633579ed99acef2240f90f173c5.tar.gz servo-6e02cb2eb99cd633579ed99acef2240f90f173c5.zip |
refactor Connect/Disconnect calls
Diffstat (limited to 'components/bluetooth_traits/lib.rs')
-rw-r--r-- | components/bluetooth_traits/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/bluetooth_traits/lib.rs b/components/bluetooth_traits/lib.rs index ede1c8ecdba..345425cc1d5 100644 --- a/components/bluetooth_traits/lib.rs +++ b/components/bluetooth_traits/lib.rs @@ -85,12 +85,14 @@ pub type BluetoothResponseResult = Result<BluetoothResponse, BluetoothError>; pub enum BluetoothRequest { RequestDevice(RequestDeviceoptions, IpcSender<BluetoothResponseResult>), GATTServerConnect(String, IpcSender<BluetoothResponseResult>), - GATTServerDisconnect(String, IpcSender<BluetoothResult<bool>>), + GATTServerDisconnect(String, IpcSender<BluetoothResult<()>>), GetGATTChildren(String, Option<String>, bool, GATTType, IpcSender<BluetoothResponseResult>), ReadValue(String, IpcSender<BluetoothResponseResult>), WriteValue(String, Vec<u8>, IpcSender<BluetoothResponseResult>), EnableNotification(String, bool, IpcSender<BluetoothResponseResult>), WatchAdvertisements(String, IpcSender<BluetoothResponseResult>), + SetRepresentedToNull(Vec<String>, Vec<String>, Vec<String>), + IsRepresentedDeviceNull(String, IpcSender<bool>), Test(String, IpcSender<BluetoothResult<()>>), Exit, } |