devtools-protocol 0.0.1441961 → 0.0.1443047
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28089,12 +28089,8 @@
|
|
28089
28089
|
},
|
28090
28090
|
{
|
28091
28091
|
"name": "removeService",
|
28092
|
-
"description": "Removes the service respresented by |serviceId| from the
|
28092
|
+
"description": "Removes the service respresented by |serviceId| from the simulated central.",
|
28093
28093
|
"parameters": [
|
28094
|
-
{
|
28095
|
-
"name": "address",
|
28096
|
-
"type": "string"
|
28097
|
-
},
|
28098
28094
|
{
|
28099
28095
|
"name": "serviceId",
|
28100
28096
|
"type": "string"
|
@@ -28103,12 +28099,8 @@
|
|
28103
28099
|
},
|
28104
28100
|
{
|
28105
28101
|
"name": "addCharacteristic",
|
28106
|
-
"description": "Adds a characteristic with |characteristicUuid| and |properties| to the\nservice represented by |serviceId
|
28102
|
+
"description": "Adds a characteristic with |characteristicUuid| and |properties| to the\nservice represented by |serviceId|.",
|
28107
28103
|
"parameters": [
|
28108
|
-
{
|
28109
|
-
"name": "address",
|
28110
|
-
"type": "string"
|
28111
|
-
},
|
28112
28104
|
{
|
28113
28105
|
"name": "serviceId",
|
28114
28106
|
"type": "string"
|
@@ -28132,16 +28124,8 @@
|
|
28132
28124
|
},
|
28133
28125
|
{
|
28134
28126
|
"name": "removeCharacteristic",
|
28135
|
-
"description": "Removes the characteristic respresented by |characteristicId| from the\
|
28127
|
+
"description": "Removes the characteristic respresented by |characteristicId| from the\nsimulated central.",
|
28136
28128
|
"parameters": [
|
28137
|
-
{
|
28138
|
-
"name": "address",
|
28139
|
-
"type": "string"
|
28140
|
-
},
|
28141
|
-
{
|
28142
|
-
"name": "serviceId",
|
28143
|
-
"type": "string"
|
28144
|
-
},
|
28145
28129
|
{
|
28146
28130
|
"name": "characteristicId",
|
28147
28131
|
"type": "string"
|
@@ -28150,16 +28134,8 @@
|
|
28150
28134
|
},
|
28151
28135
|
{
|
28152
28136
|
"name": "addDescriptor",
|
28153
|
-
"description": "Adds a descriptor with |descriptorUuid| to the characteristic respresented\nby |characteristicId
|
28137
|
+
"description": "Adds a descriptor with |descriptorUuid| to the characteristic respresented\nby |characteristicId|.",
|
28154
28138
|
"parameters": [
|
28155
|
-
{
|
28156
|
-
"name": "address",
|
28157
|
-
"type": "string"
|
28158
|
-
},
|
28159
|
-
{
|
28160
|
-
"name": "serviceId",
|
28161
|
-
"type": "string"
|
28162
|
-
},
|
28163
28139
|
{
|
28164
28140
|
"name": "characteristicId",
|
28165
28141
|
"type": "string"
|
@@ -28179,20 +28155,8 @@
|
|
28179
28155
|
},
|
28180
28156
|
{
|
28181
28157
|
"name": "removeDescriptor",
|
28182
|
-
"description": "Removes the descriptor with |descriptorId| from the
|
28158
|
+
"description": "Removes the descriptor with |descriptorId| from the simulated central.",
|
28183
28159
|
"parameters": [
|
28184
|
-
{
|
28185
|
-
"name": "address",
|
28186
|
-
"type": "string"
|
28187
|
-
},
|
28188
|
-
{
|
28189
|
-
"name": "serviceId",
|
28190
|
-
"type": "string"
|
28191
|
-
},
|
28192
|
-
{
|
28193
|
-
"name": "characteristicId",
|
28194
|
-
"type": "string"
|
28195
|
-
},
|
28196
28160
|
{
|
28197
28161
|
"name": "descriptorId",
|
28198
28162
|
"type": "string"
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -13339,18 +13339,15 @@ experimental domain BluetoothEmulation
|
|
13339
13339
|
# An identifier that uniquely represents this service.
|
13340
13340
|
string serviceId
|
13341
13341
|
|
13342
|
-
# Removes the service respresented by |serviceId| from the
|
13343
|
-
# |address|.
|
13342
|
+
# Removes the service respresented by |serviceId| from the simulated central.
|
13344
13343
|
command removeService
|
13345
13344
|
parameters
|
13346
|
-
string address
|
13347
13345
|
string serviceId
|
13348
13346
|
|
13349
13347
|
# Adds a characteristic with |characteristicUuid| and |properties| to the
|
13350
|
-
# service represented by |serviceId
|
13348
|
+
# service represented by |serviceId|.
|
13351
13349
|
command addCharacteristic
|
13352
13350
|
parameters
|
13353
|
-
string address
|
13354
13351
|
string serviceId
|
13355
13352
|
string characteristicUuid
|
13356
13353
|
CharacteristicProperties properties
|
@@ -13359,34 +13356,24 @@ experimental domain BluetoothEmulation
|
|
13359
13356
|
string characteristicId
|
13360
13357
|
|
13361
13358
|
# Removes the characteristic respresented by |characteristicId| from the
|
13362
|
-
#
|
13359
|
+
# simulated central.
|
13363
13360
|
command removeCharacteristic
|
13364
13361
|
parameters
|
13365
|
-
string address
|
13366
|
-
string serviceId
|
13367
13362
|
string characteristicId
|
13368
13363
|
|
13369
13364
|
# Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
13370
|
-
# by |characteristicId
|
13371
|
-
# peripheral with |address|.
|
13365
|
+
# by |characteristicId|.
|
13372
13366
|
command addDescriptor
|
13373
13367
|
parameters
|
13374
|
-
string address
|
13375
|
-
string serviceId
|
13376
13368
|
string characteristicId
|
13377
13369
|
string descriptorUuid
|
13378
13370
|
returns
|
13379
13371
|
# An identifier that uniquely represents this descriptor.
|
13380
13372
|
string descriptorId
|
13381
13373
|
|
13382
|
-
# Removes the descriptor with |descriptorId| from the
|
13383
|
-
# respresented by |characteristicId| in the service represented by |serviceId|
|
13384
|
-
# of the peripheral with |address|.
|
13374
|
+
# Removes the descriptor with |descriptorId| from the simulated central.
|
13385
13375
|
command removeDescriptor
|
13386
13376
|
parameters
|
13387
|
-
string address
|
13388
|
-
string serviceId
|
13389
|
-
string characteristicId
|
13390
13377
|
string descriptorId
|
13391
13378
|
|
13392
13379
|
# Event for when a GATT operation of |type| to the peripheral with |address|
|
@@ -5324,8 +5324,7 @@ export namespace ProtocolMapping {
|
|
5324
5324
|
returnType: Protocol.BluetoothEmulation.AddServiceResponse;
|
5325
5325
|
};
|
5326
5326
|
/**
|
5327
|
-
* Removes the service respresented by |serviceId| from the
|
5328
|
-
* |address|.
|
5327
|
+
* Removes the service respresented by |serviceId| from the simulated central.
|
5329
5328
|
*/
|
5330
5329
|
'BluetoothEmulation.removeService': {
|
5331
5330
|
paramsType: [Protocol.BluetoothEmulation.RemoveServiceRequest];
|
@@ -5333,7 +5332,7 @@ export namespace ProtocolMapping {
|
|
5333
5332
|
};
|
5334
5333
|
/**
|
5335
5334
|
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
5336
|
-
* service represented by |serviceId
|
5335
|
+
* service represented by |serviceId|.
|
5337
5336
|
*/
|
5338
5337
|
'BluetoothEmulation.addCharacteristic': {
|
5339
5338
|
paramsType: [Protocol.BluetoothEmulation.AddCharacteristicRequest];
|
@@ -5341,7 +5340,7 @@ export namespace ProtocolMapping {
|
|
5341
5340
|
};
|
5342
5341
|
/**
|
5343
5342
|
* Removes the characteristic respresented by |characteristicId| from the
|
5344
|
-
*
|
5343
|
+
* simulated central.
|
5345
5344
|
*/
|
5346
5345
|
'BluetoothEmulation.removeCharacteristic': {
|
5347
5346
|
paramsType: [Protocol.BluetoothEmulation.RemoveCharacteristicRequest];
|
@@ -5349,17 +5348,14 @@ export namespace ProtocolMapping {
|
|
5349
5348
|
};
|
5350
5349
|
/**
|
5351
5350
|
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
5352
|
-
* by |characteristicId
|
5353
|
-
* peripheral with |address|.
|
5351
|
+
* by |characteristicId|.
|
5354
5352
|
*/
|
5355
5353
|
'BluetoothEmulation.addDescriptor': {
|
5356
5354
|
paramsType: [Protocol.BluetoothEmulation.AddDescriptorRequest];
|
5357
5355
|
returnType: Protocol.BluetoothEmulation.AddDescriptorResponse;
|
5358
5356
|
};
|
5359
5357
|
/**
|
5360
|
-
* Removes the descriptor with |descriptorId| from the
|
5361
|
-
* respresented by |characteristicId| in the service represented by |serviceId|
|
5362
|
-
* of the peripheral with |address|.
|
5358
|
+
* Removes the descriptor with |descriptorId| from the simulated central.
|
5363
5359
|
*/
|
5364
5360
|
'BluetoothEmulation.removeDescriptor': {
|
5365
5361
|
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
|
@@ -4545,34 +4545,30 @@ export namespace ProtocolProxyApi {
|
|
4545
4545
|
addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<Protocol.BluetoothEmulation.AddServiceResponse>;
|
4546
4546
|
|
4547
4547
|
/**
|
4548
|
-
* Removes the service respresented by |serviceId| from the
|
4549
|
-
* |address|.
|
4548
|
+
* Removes the service respresented by |serviceId| from the simulated central.
|
4550
4549
|
*/
|
4551
4550
|
removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<void>;
|
4552
4551
|
|
4553
4552
|
/**
|
4554
4553
|
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
4555
|
-
* service represented by |serviceId
|
4554
|
+
* service represented by |serviceId|.
|
4556
4555
|
*/
|
4557
4556
|
addCharacteristic(params: Protocol.BluetoothEmulation.AddCharacteristicRequest): Promise<Protocol.BluetoothEmulation.AddCharacteristicResponse>;
|
4558
4557
|
|
4559
4558
|
/**
|
4560
4559
|
* Removes the characteristic respresented by |characteristicId| from the
|
4561
|
-
*
|
4560
|
+
* simulated central.
|
4562
4561
|
*/
|
4563
4562
|
removeCharacteristic(params: Protocol.BluetoothEmulation.RemoveCharacteristicRequest): Promise<void>;
|
4564
4563
|
|
4565
4564
|
/**
|
4566
4565
|
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
4567
|
-
* by |characteristicId
|
4568
|
-
* peripheral with |address|.
|
4566
|
+
* by |characteristicId|.
|
4569
4567
|
*/
|
4570
4568
|
addDescriptor(params: Protocol.BluetoothEmulation.AddDescriptorRequest): Promise<Protocol.BluetoothEmulation.AddDescriptorResponse>;
|
4571
4569
|
|
4572
4570
|
/**
|
4573
|
-
* Removes the descriptor with |descriptorId| from the
|
4574
|
-
* respresented by |characteristicId| in the service represented by |serviceId|
|
4575
|
-
* of the peripheral with |address|.
|
4571
|
+
* Removes the descriptor with |descriptorId| from the simulated central.
|
4576
4572
|
*/
|
4577
4573
|
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<void>;
|
4578
4574
|
|
@@ -4949,34 +4949,30 @@ export namespace ProtocolTestsProxyApi {
|
|
4949
4949
|
addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddServiceResponse, sessionId: string}>;
|
4950
4950
|
|
4951
4951
|
/**
|
4952
|
-
* Removes the service respresented by |serviceId| from the
|
4953
|
-
* |address|.
|
4952
|
+
* Removes the service respresented by |serviceId| from the simulated central.
|
4954
4953
|
*/
|
4955
4954
|
removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4956
4955
|
|
4957
4956
|
/**
|
4958
4957
|
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
4959
|
-
* service represented by |serviceId
|
4958
|
+
* service represented by |serviceId|.
|
4960
4959
|
*/
|
4961
4960
|
addCharacteristic(params: Protocol.BluetoothEmulation.AddCharacteristicRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddCharacteristicResponse, sessionId: string}>;
|
4962
4961
|
|
4963
4962
|
/**
|
4964
4963
|
* Removes the characteristic respresented by |characteristicId| from the
|
4965
|
-
*
|
4964
|
+
* simulated central.
|
4966
4965
|
*/
|
4967
4966
|
removeCharacteristic(params: Protocol.BluetoothEmulation.RemoveCharacteristicRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4968
4967
|
|
4969
4968
|
/**
|
4970
4969
|
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
4971
|
-
* by |characteristicId
|
4972
|
-
* peripheral with |address|.
|
4970
|
+
* by |characteristicId|.
|
4973
4971
|
*/
|
4974
4972
|
addDescriptor(params: Protocol.BluetoothEmulation.AddDescriptorRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddDescriptorResponse, sessionId: string}>;
|
4975
4973
|
|
4976
4974
|
/**
|
4977
|
-
* Removes the descriptor with |descriptorId| from the
|
4978
|
-
* respresented by |characteristicId| in the service represented by |serviceId|
|
4979
|
-
* of the peripheral with |address|.
|
4975
|
+
* Removes the descriptor with |descriptorId| from the simulated central.
|
4980
4976
|
*/
|
4981
4977
|
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4982
4978
|
|
package/types/protocol.d.ts
CHANGED
@@ -19605,12 +19605,10 @@ export namespace Protocol {
|
|
19605
19605
|
}
|
19606
19606
|
|
19607
19607
|
export interface RemoveServiceRequest {
|
19608
|
-
address: string;
|
19609
19608
|
serviceId: string;
|
19610
19609
|
}
|
19611
19610
|
|
19612
19611
|
export interface AddCharacteristicRequest {
|
19613
|
-
address: string;
|
19614
19612
|
serviceId: string;
|
19615
19613
|
characteristicUuid: string;
|
19616
19614
|
properties: CharacteristicProperties;
|
@@ -19624,14 +19622,10 @@ export namespace Protocol {
|
|
19624
19622
|
}
|
19625
19623
|
|
19626
19624
|
export interface RemoveCharacteristicRequest {
|
19627
|
-
address: string;
|
19628
|
-
serviceId: string;
|
19629
19625
|
characteristicId: string;
|
19630
19626
|
}
|
19631
19627
|
|
19632
19628
|
export interface AddDescriptorRequest {
|
19633
|
-
address: string;
|
19634
|
-
serviceId: string;
|
19635
19629
|
characteristicId: string;
|
19636
19630
|
descriptorUuid: string;
|
19637
19631
|
}
|
@@ -19644,9 +19638,6 @@ export namespace Protocol {
|
|
19644
19638
|
}
|
19645
19639
|
|
19646
19640
|
export interface RemoveDescriptorRequest {
|
19647
|
-
address: string;
|
19648
|
-
serviceId: string;
|
19649
|
-
characteristicId: string;
|
19650
19641
|
descriptorId: string;
|
19651
19642
|
}
|
19652
19643
|
|