mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
requestDevice options (filters and optionalServices)
This commit is contained in:
parent
b01c52c18f
commit
66fbc4ac46
8 changed files with 361 additions and 81 deletions
|
@ -1,11 +1,12 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
use bluetooth_scanfilter::RequestDeviceoptions;
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub enum BluetoothMethodMsg {
|
||||
RequestDevice(IpcSender<BluetoothObjectMsg>),
|
||||
RequestDevice(RequestDeviceoptions, IpcSender<BluetoothObjectMsg>),
|
||||
GATTServerConnect(String, IpcSender<BluetoothObjectMsg>),
|
||||
GATTServerDisconnect(String, IpcSender<BluetoothObjectMsg>),
|
||||
GetPrimaryService(String, String, IpcSender<BluetoothObjectMsg>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue