mirror of
https://github.com/servo/servo
synced 2026-05-03 12:52:25 +02:00
Implementation of the getPrimaryService(s), the getCharacteristic(s) and the getDescriptor(s) functions.
This commit is contained in:
@@ -10,7 +10,8 @@ interface BluetoothRemoteGATTServer {
|
||||
readonly attribute boolean connected;
|
||||
BluetoothRemoteGATTServer connect();
|
||||
void disconnect();
|
||||
BluetoothRemoteGATTService? getPrimaryService();
|
||||
BluetoothRemoteGATTService? getPrimaryService((DOMString or unsigned long) service);
|
||||
sequence<BluetoothRemoteGATTService>? getPrimaryServices(optional (DOMString or unsigned long) service);
|
||||
//Promise<BluetoothRemoteGATTService> getPrimaryService(BluetoothServiceUUID service);
|
||||
//Promise<sequence<BluetoothRemoteGATTService>>getPrimaryServices(optional BluetoothServiceUUID service);
|
||||
//Promise<BluetoothRemoteGATTServer> connect();
|
||||
|
||||
Reference in New Issue
Block a user