Implement GetAvailability for Bluetooth

This commit is contained in:
Attila Dusnoki 2017-02-03 15:31:24 +01:00
parent 8ca1383c41
commit ca7aa6bff8
9 changed files with 98 additions and 9 deletions

View file

@ -91,6 +91,7 @@ pub enum BluetoothRequest {
WatchAdvertisements(String, IpcSender<BluetoothResponseResult>),
SetRepresentedToNull(Vec<String>, Vec<String>, Vec<String>),
IsRepresentedDeviceNull(String, IpcSender<bool>),
GetAvailability(IpcSender<BluetoothResponseResult>),
Test(String, IpcSender<BluetoothResult<()>>),
Exit,
}
@ -107,4 +108,5 @@ pub enum BluetoothResponse {
WriteValue(Vec<u8>),
EnableNotification(()),
WatchAdvertisements(()),
GetAvailability(bool),
}