mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add Start/Stop notifications
This commit is contained in:
parent
a89ba50180
commit
fd7cdbf19f
18 changed files with 364 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue