aboutsummaryrefslogtreecommitdiffstats
path: root/components/bluetooth_traits/lib.rs
diff options
context:
space:
mode:
authorZakor Gyula <zakorgy@inf.u-szeged.hu>2016-11-29 08:45:46 +0100
committerZakor Gyula <zakorgy@inf.u-szeged.hu>2016-12-22 15:49:29 +0100
commit6e02cb2eb99cd633579ed99acef2240f90f173c5 (patch)
treeefa84b01340ea51963c2627e49956b1d732d15d0 /components/bluetooth_traits/lib.rs
parent6efea399ed0e44fe6bd151f346ca2c3371e2f66c (diff)
downloadservo-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.rs4
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,
}