diff options
author | Attila Dusnoki <dati91@gmail.com> | 2016-11-14 17:51:41 +0100 |
---|---|---|
committer | Keith Yeung <kungfukeith11@gmail.com> | 2016-11-23 01:24:33 -0800 |
commit | fd7cdbf19fd4ad6ddb173d4b4061c3098ef29520 (patch) | |
tree | d1e962d51dfb16a5826cf9c9c353d31d3e3c2b8b /components/bluetooth_traits/lib.rs | |
parent | a89ba50180532bc652db7ff649f252ffdca33177 (diff) | |
download | servo-fd7cdbf19fd4ad6ddb173d4b4061c3098ef29520.tar.gz servo-fd7cdbf19fd4ad6ddb173d4b4061c3098ef29520.zip |
Add Start/Stop notifications
Diffstat (limited to 'components/bluetooth_traits/lib.rs')
-rw-r--r-- | components/bluetooth_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/bluetooth_traits/lib.rs b/components/bluetooth_traits/lib.rs index de07a9f4fd7..5c06e900141 100644 --- a/components/bluetooth_traits/lib.rs +++ b/components/bluetooth_traits/lib.rs @@ -92,6 +92,7 @@ pub enum BluetoothRequest { GetDescriptors(String, Option<String>, IpcSender<BluetoothResponseResult>), ReadValue(String, IpcSender<BluetoothResponseResult>), WriteValue(String, Vec<u8>, IpcSender<BluetoothResponseResult>), + EnableNotification(String, bool, IpcSender<BluetoothResponseResult>), Test(String, IpcSender<BluetoothResult<()>>), Exit, } @@ -110,6 +111,7 @@ pub enum BluetoothResponse { GetDescriptors(BluetoothDescriptorsMsg), ReadValue(Vec<u8>), WriteValue(Vec<u8>), + EnableNotification(()), } pub trait BluetoothResponseListener { |