devtools-protocol 0.0.1453708 → 0.0.1454823
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.
@@ -23372,6 +23372,17 @@
|
|
23372
23372
|
"excessiveReports"
|
23373
23373
|
]
|
23374
23374
|
},
|
23375
|
+
{
|
23376
|
+
"id": "AttributionReportingReportResult",
|
23377
|
+
"experimental": true,
|
23378
|
+
"type": "string",
|
23379
|
+
"enum": [
|
23380
|
+
"sent",
|
23381
|
+
"prohibited",
|
23382
|
+
"failedToAssemble",
|
23383
|
+
"expired"
|
23384
|
+
]
|
23385
|
+
},
|
23375
23386
|
{
|
23376
23387
|
"id": "RelatedWebsiteSet",
|
23377
23388
|
"description": "A single Related Website Set object.",
|
@@ -24263,6 +24274,40 @@
|
|
24263
24274
|
"$ref": "AttributionReportingAggregatableResult"
|
24264
24275
|
}
|
24265
24276
|
]
|
24277
|
+
},
|
24278
|
+
{
|
24279
|
+
"name": "attributionReportingReportSent",
|
24280
|
+
"experimental": true,
|
24281
|
+
"parameters": [
|
24282
|
+
{
|
24283
|
+
"name": "url",
|
24284
|
+
"type": "string"
|
24285
|
+
},
|
24286
|
+
{
|
24287
|
+
"name": "body",
|
24288
|
+
"type": "object"
|
24289
|
+
},
|
24290
|
+
{
|
24291
|
+
"name": "result",
|
24292
|
+
"$ref": "AttributionReportingReportResult"
|
24293
|
+
},
|
24294
|
+
{
|
24295
|
+
"name": "netError",
|
24296
|
+
"description": "If result is `sent`, populated with net/HTTP status.",
|
24297
|
+
"optional": true,
|
24298
|
+
"type": "integer"
|
24299
|
+
},
|
24300
|
+
{
|
24301
|
+
"name": "netErrorName",
|
24302
|
+
"optional": true,
|
24303
|
+
"type": "string"
|
24304
|
+
},
|
24305
|
+
{
|
24306
|
+
"name": "httpStatusCode",
|
24307
|
+
"optional": true,
|
24308
|
+
"type": "integer"
|
24309
|
+
}
|
24310
|
+
]
|
24266
24311
|
}
|
24267
24312
|
]
|
24268
24313
|
},
|
@@ -28169,6 +28214,15 @@
|
|
28169
28214
|
"unsubscribe-from-notifications"
|
28170
28215
|
]
|
28171
28216
|
},
|
28217
|
+
{
|
28218
|
+
"id": "DescriptorOperationType",
|
28219
|
+
"description": "Indicates the various types of descriptor operation.",
|
28220
|
+
"type": "string",
|
28221
|
+
"enum": [
|
28222
|
+
"read",
|
28223
|
+
"write"
|
28224
|
+
]
|
28225
|
+
},
|
28172
28226
|
{
|
28173
28227
|
"id": "ManufacturerData",
|
28174
28228
|
"description": "Stores the manufacturer data",
|
@@ -28405,6 +28459,29 @@
|
|
28405
28459
|
}
|
28406
28460
|
]
|
28407
28461
|
},
|
28462
|
+
{
|
28463
|
+
"name": "simulateDescriptorOperationResponse",
|
28464
|
+
"description": "Simulates the response from the descriptor with |descriptorId| for a\ndescriptor operation of |type|. The |code| value follows the Error\nCodes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.\nThe |data| is expected to exist when simulating a successful read operation\nresponse.",
|
28465
|
+
"parameters": [
|
28466
|
+
{
|
28467
|
+
"name": "descriptorId",
|
28468
|
+
"type": "string"
|
28469
|
+
},
|
28470
|
+
{
|
28471
|
+
"name": "type",
|
28472
|
+
"$ref": "DescriptorOperationType"
|
28473
|
+
},
|
28474
|
+
{
|
28475
|
+
"name": "code",
|
28476
|
+
"type": "integer"
|
28477
|
+
},
|
28478
|
+
{
|
28479
|
+
"name": "data",
|
28480
|
+
"optional": true,
|
28481
|
+
"type": "string"
|
28482
|
+
}
|
28483
|
+
]
|
28484
|
+
},
|
28408
28485
|
{
|
28409
28486
|
"name": "addService",
|
28410
28487
|
"description": "Adds a service with |serviceUuid| to the peripheral with |address|.",
|
@@ -28501,6 +28578,16 @@
|
|
28501
28578
|
"type": "string"
|
28502
28579
|
}
|
28503
28580
|
]
|
28581
|
+
},
|
28582
|
+
{
|
28583
|
+
"name": "simulateGATTDisconnection",
|
28584
|
+
"description": "Simulates a GATT disconnection from the peripheral with |address|.",
|
28585
|
+
"parameters": [
|
28586
|
+
{
|
28587
|
+
"name": "address",
|
28588
|
+
"type": "string"
|
28589
|
+
}
|
28590
|
+
]
|
28504
28591
|
}
|
28505
28592
|
],
|
28506
28593
|
"events": [
|
@@ -28541,6 +28628,25 @@
|
|
28541
28628
|
"$ref": "CharacteristicWriteType"
|
28542
28629
|
}
|
28543
28630
|
]
|
28631
|
+
},
|
28632
|
+
{
|
28633
|
+
"name": "descriptorOperationReceived",
|
28634
|
+
"description": "Event for when a descriptor operation of |type| to the descriptor\nrespresented by |descriptorId| happened. |data| is expected to exist when\n|type| is write.",
|
28635
|
+
"parameters": [
|
28636
|
+
{
|
28637
|
+
"name": "descriptorId",
|
28638
|
+
"type": "string"
|
28639
|
+
},
|
28640
|
+
{
|
28641
|
+
"name": "type",
|
28642
|
+
"$ref": "CharacteristicOperationType"
|
28643
|
+
},
|
28644
|
+
{
|
28645
|
+
"name": "data",
|
28646
|
+
"optional": true,
|
28647
|
+
"type": "string"
|
28648
|
+
}
|
28649
|
+
]
|
28544
28650
|
}
|
28545
28651
|
]
|
28546
28652
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -11380,6 +11380,28 @@ experimental domain Storage
|
|
11380
11380
|
AttributionReportingEventLevelResult eventLevel
|
11381
11381
|
AttributionReportingAggregatableResult aggregatable
|
11382
11382
|
|
11383
|
+
experimental type AttributionReportingReportResult extends string
|
11384
|
+
enum
|
11385
|
+
# A network request was attempted for the report.
|
11386
|
+
sent
|
11387
|
+
# No request was attempted because of browser policy.
|
11388
|
+
prohibited
|
11389
|
+
# No request was attempted because of an error in report assembly,
|
11390
|
+
# e.g. the aggregation service was unavailable.
|
11391
|
+
failedToAssemble
|
11392
|
+
# No request was attempted because the report's expiry passed.
|
11393
|
+
expired
|
11394
|
+
|
11395
|
+
experimental event attributionReportingReportSent
|
11396
|
+
parameters
|
11397
|
+
string url
|
11398
|
+
object body
|
11399
|
+
AttributionReportingReportResult result
|
11400
|
+
# If result is `sent`, populated with net/HTTP status.
|
11401
|
+
optional integer netError
|
11402
|
+
optional string netErrorName
|
11403
|
+
optional integer httpStatusCode
|
11404
|
+
|
11383
11405
|
# A single Related Website Set object.
|
11384
11406
|
experimental type RelatedWebsiteSet extends object
|
11385
11407
|
properties
|
@@ -13385,6 +13407,12 @@ experimental domain BluetoothEmulation
|
|
13385
13407
|
subscribe-to-notifications
|
13386
13408
|
unsubscribe-from-notifications
|
13387
13409
|
|
13410
|
+
# Indicates the various types of descriptor operation.
|
13411
|
+
type DescriptorOperationType extends string
|
13412
|
+
enum
|
13413
|
+
read
|
13414
|
+
write
|
13415
|
+
|
13388
13416
|
# Stores the manufacturer data
|
13389
13417
|
type ManufacturerData extends object
|
13390
13418
|
properties
|
@@ -13481,6 +13509,18 @@ experimental domain BluetoothEmulation
|
|
13481
13509
|
integer code
|
13482
13510
|
optional binary data
|
13483
13511
|
|
13512
|
+
# Simulates the response from the descriptor with |descriptorId| for a
|
13513
|
+
# descriptor operation of |type|. The |code| value follows the Error
|
13514
|
+
# Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
13515
|
+
# The |data| is expected to exist when simulating a successful read operation
|
13516
|
+
# response.
|
13517
|
+
command simulateDescriptorOperationResponse
|
13518
|
+
parameters
|
13519
|
+
string descriptorId
|
13520
|
+
DescriptorOperationType type
|
13521
|
+
integer code
|
13522
|
+
optional binary data
|
13523
|
+
|
13484
13524
|
# Adds a service with |serviceUuid| to the peripheral with |address|.
|
13485
13525
|
command addService
|
13486
13526
|
parameters
|
@@ -13527,6 +13567,11 @@ experimental domain BluetoothEmulation
|
|
13527
13567
|
parameters
|
13528
13568
|
string descriptorId
|
13529
13569
|
|
13570
|
+
# Simulates a GATT disconnection from the peripheral with |address|.
|
13571
|
+
command simulateGATTDisconnection
|
13572
|
+
parameters
|
13573
|
+
string address
|
13574
|
+
|
13530
13575
|
# Event for when a GATT operation of |type| to the peripheral with |address|
|
13531
13576
|
# happened.
|
13532
13577
|
event gattOperationReceived
|
@@ -13543,3 +13588,12 @@ experimental domain BluetoothEmulation
|
|
13543
13588
|
CharacteristicOperationType type
|
13544
13589
|
optional binary data
|
13545
13590
|
optional CharacteristicWriteType writeType
|
13591
|
+
|
13592
|
+
# Event for when a descriptor operation of |type| to the descriptor
|
13593
|
+
# respresented by |descriptorId| happened. |data| is expected to exist when
|
13594
|
+
# |type| is write.
|
13595
|
+
event descriptorOperationReceived
|
13596
|
+
parameters
|
13597
|
+
string descriptorId
|
13598
|
+
CharacteristicOperationType type
|
13599
|
+
optional binary data
|
@@ -645,6 +645,7 @@ export namespace ProtocolMapping {
|
|
645
645
|
'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
|
646
646
|
'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
|
647
647
|
'Storage.attributionReportingTriggerRegistered': [Protocol.Storage.AttributionReportingTriggerRegisteredEvent];
|
648
|
+
'Storage.attributionReportingReportSent': [Protocol.Storage.AttributionReportingReportSentEvent];
|
648
649
|
/**
|
649
650
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
650
651
|
*/
|
@@ -847,6 +848,12 @@ export namespace ProtocolMapping {
|
|
847
848
|
* expected to exist when |type| is write.
|
848
849
|
*/
|
849
850
|
'BluetoothEmulation.characteristicOperationReceived': [Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent];
|
851
|
+
/**
|
852
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
853
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
854
|
+
* |type| is write.
|
855
|
+
*/
|
856
|
+
'BluetoothEmulation.descriptorOperationReceived': [Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent];
|
850
857
|
}
|
851
858
|
|
852
859
|
export interface Commands {
|
@@ -5365,6 +5372,17 @@ export namespace ProtocolMapping {
|
|
5365
5372
|
paramsType: [Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest];
|
5366
5373
|
returnType: void;
|
5367
5374
|
};
|
5375
|
+
/**
|
5376
|
+
* Simulates the response from the descriptor with |descriptorId| for a
|
5377
|
+
* descriptor operation of |type|. The |code| value follows the Error
|
5378
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
5379
|
+
* The |data| is expected to exist when simulating a successful read operation
|
5380
|
+
* response.
|
5381
|
+
*/
|
5382
|
+
'BluetoothEmulation.simulateDescriptorOperationResponse': {
|
5383
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest];
|
5384
|
+
returnType: void;
|
5385
|
+
};
|
5368
5386
|
/**
|
5369
5387
|
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
5370
5388
|
*/
|
@@ -5410,6 +5428,13 @@ export namespace ProtocolMapping {
|
|
5410
5428
|
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
|
5411
5429
|
returnType: void;
|
5412
5430
|
};
|
5431
|
+
/**
|
5432
|
+
* Simulates a GATT disconnection from the peripheral with |address|.
|
5433
|
+
*/
|
5434
|
+
'BluetoothEmulation.simulateGATTDisconnection': {
|
5435
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest];
|
5436
|
+
returnType: void;
|
5437
|
+
};
|
5413
5438
|
}
|
5414
5439
|
}
|
5415
5440
|
|
@@ -3832,6 +3832,8 @@ export namespace ProtocolProxyApi {
|
|
3832
3832
|
|
3833
3833
|
on(event: 'attributionReportingTriggerRegistered', listener: (params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent) => void): void;
|
3834
3834
|
|
3835
|
+
on(event: 'attributionReportingReportSent', listener: (params: Protocol.Storage.AttributionReportingReportSentEvent) => void): void;
|
3836
|
+
|
3835
3837
|
}
|
3836
3838
|
|
3837
3839
|
export interface SystemInfoApi {
|
@@ -4579,6 +4581,15 @@ export namespace ProtocolProxyApi {
|
|
4579
4581
|
*/
|
4580
4582
|
simulateCharacteristicOperationResponse(params: Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest): Promise<void>;
|
4581
4583
|
|
4584
|
+
/**
|
4585
|
+
* Simulates the response from the descriptor with |descriptorId| for a
|
4586
|
+
* descriptor operation of |type|. The |code| value follows the Error
|
4587
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
4588
|
+
* The |data| is expected to exist when simulating a successful read operation
|
4589
|
+
* response.
|
4590
|
+
*/
|
4591
|
+
simulateDescriptorOperationResponse(params: Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest): Promise<void>;
|
4592
|
+
|
4582
4593
|
/**
|
4583
4594
|
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
4584
4595
|
*/
|
@@ -4612,6 +4623,11 @@ export namespace ProtocolProxyApi {
|
|
4612
4623
|
*/
|
4613
4624
|
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<void>;
|
4614
4625
|
|
4626
|
+
/**
|
4627
|
+
* Simulates a GATT disconnection from the peripheral with |address|.
|
4628
|
+
*/
|
4629
|
+
simulateGATTDisconnection(params: Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest): Promise<void>;
|
4630
|
+
|
4615
4631
|
/**
|
4616
4632
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
4617
4633
|
* happened.
|
@@ -4625,6 +4641,13 @@ export namespace ProtocolProxyApi {
|
|
4625
4641
|
*/
|
4626
4642
|
on(event: 'characteristicOperationReceived', listener: (params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent) => void): void;
|
4627
4643
|
|
4644
|
+
/**
|
4645
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
4646
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
4647
|
+
* |type| is write.
|
4648
|
+
*/
|
4649
|
+
on(event: 'descriptorOperationReceived', listener: (params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent) => void): void;
|
4650
|
+
|
4628
4651
|
}
|
4629
4652
|
}
|
4630
4653
|
|
@@ -4154,6 +4154,10 @@ export namespace ProtocolTestsProxyApi {
|
|
4154
4154
|
offAttributionReportingTriggerRegistered(listener: (event: { params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }) => void): void;
|
4155
4155
|
onceAttributionReportingTriggerRegistered(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }>;
|
4156
4156
|
|
4157
|
+
onAttributionReportingReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => void): void;
|
4158
|
+
offAttributionReportingReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => void): void;
|
4159
|
+
onceAttributionReportingReportSent(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingReportSentEvent }>;
|
4160
|
+
|
4157
4161
|
}
|
4158
4162
|
|
4159
4163
|
export interface SystemInfoApi {
|
@@ -4989,6 +4993,15 @@ export namespace ProtocolTestsProxyApi {
|
|
4989
4993
|
*/
|
4990
4994
|
simulateCharacteristicOperationResponse(params: Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4991
4995
|
|
4996
|
+
/**
|
4997
|
+
* Simulates the response from the descriptor with |descriptorId| for a
|
4998
|
+
* descriptor operation of |type|. The |code| value follows the Error
|
4999
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
5000
|
+
* The |data| is expected to exist when simulating a successful read operation
|
5001
|
+
* response.
|
5002
|
+
*/
|
5003
|
+
simulateDescriptorOperationResponse(params: Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
|
5004
|
+
|
4992
5005
|
/**
|
4993
5006
|
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
4994
5007
|
*/
|
@@ -5022,6 +5035,11 @@ export namespace ProtocolTestsProxyApi {
|
|
5022
5035
|
*/
|
5023
5036
|
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<{id: number, result: void, sessionId: string}>;
|
5024
5037
|
|
5038
|
+
/**
|
5039
|
+
* Simulates a GATT disconnection from the peripheral with |address|.
|
5040
|
+
*/
|
5041
|
+
simulateGATTDisconnection(params: Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest): Promise<{id: number, result: void, sessionId: string}>;
|
5042
|
+
|
5025
5043
|
/**
|
5026
5044
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
5027
5045
|
* happened.
|
@@ -5039,6 +5057,15 @@ export namespace ProtocolTestsProxyApi {
|
|
5039
5057
|
offCharacteristicOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }) => void): void;
|
5040
5058
|
onceCharacteristicOperationReceived(eventMatcher?: (event: { params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }) => boolean): Promise<{ params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }>;
|
5041
5059
|
|
5060
|
+
/**
|
5061
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
5062
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
5063
|
+
* |type| is write.
|
5064
|
+
*/
|
5065
|
+
onDescriptorOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent }) => void): void;
|
5066
|
+
offDescriptorOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent }) => void): void;
|
5067
|
+
onceDescriptorOperationReceived(eventMatcher?: (event: { params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent }) => boolean): Promise<{ params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent }>;
|
5068
|
+
|
5042
5069
|
}
|
5043
5070
|
}
|
5044
5071
|
|
package/types/protocol.d.ts
CHANGED
@@ -16826,6 +16826,8 @@ export namespace Protocol {
|
|
16826
16826
|
|
16827
16827
|
export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'insufficientNamedBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
|
16828
16828
|
|
16829
|
+
export type AttributionReportingReportResult = ('sent' | 'prohibited' | 'failedToAssemble' | 'expired');
|
16830
|
+
|
16829
16831
|
/**
|
16830
16832
|
* A single Related Website Set object.
|
16831
16833
|
*/
|
@@ -17345,6 +17347,18 @@ export namespace Protocol {
|
|
17345
17347
|
eventLevel: AttributionReportingEventLevelResult;
|
17346
17348
|
aggregatable: AttributionReportingAggregatableResult;
|
17347
17349
|
}
|
17350
|
+
|
17351
|
+
export interface AttributionReportingReportSentEvent {
|
17352
|
+
url: string;
|
17353
|
+
body: any;
|
17354
|
+
result: AttributionReportingReportResult;
|
17355
|
+
/**
|
17356
|
+
* If result is `sent`, populated with net/HTTP status.
|
17357
|
+
*/
|
17358
|
+
netError?: integer;
|
17359
|
+
netErrorName?: string;
|
17360
|
+
httpStatusCode?: integer;
|
17361
|
+
}
|
17348
17362
|
}
|
17349
17363
|
|
17350
17364
|
/**
|
@@ -19664,6 +19678,11 @@ export namespace Protocol {
|
|
19664
19678
|
*/
|
19665
19679
|
export type CharacteristicOperationType = ('read' | 'write' | 'subscribe-to-notifications' | 'unsubscribe-from-notifications');
|
19666
19680
|
|
19681
|
+
/**
|
19682
|
+
* Indicates the various types of descriptor operation.
|
19683
|
+
*/
|
19684
|
+
export type DescriptorOperationType = ('read' | 'write');
|
19685
|
+
|
19667
19686
|
/**
|
19668
19687
|
* Stores the manufacturer data
|
19669
19688
|
*/
|
@@ -19767,6 +19786,13 @@ export namespace Protocol {
|
|
19767
19786
|
data?: string;
|
19768
19787
|
}
|
19769
19788
|
|
19789
|
+
export interface SimulateDescriptorOperationResponseRequest {
|
19790
|
+
descriptorId: string;
|
19791
|
+
type: DescriptorOperationType;
|
19792
|
+
code: integer;
|
19793
|
+
data?: string;
|
19794
|
+
}
|
19795
|
+
|
19770
19796
|
export interface AddServiceRequest {
|
19771
19797
|
address: string;
|
19772
19798
|
serviceUuid: string;
|
@@ -19816,6 +19842,10 @@ export namespace Protocol {
|
|
19816
19842
|
descriptorId: string;
|
19817
19843
|
}
|
19818
19844
|
|
19845
|
+
export interface SimulateGATTDisconnectionRequest {
|
19846
|
+
address: string;
|
19847
|
+
}
|
19848
|
+
|
19819
19849
|
/**
|
19820
19850
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
19821
19851
|
* happened.
|
@@ -19836,6 +19866,17 @@ export namespace Protocol {
|
|
19836
19866
|
data?: string;
|
19837
19867
|
writeType?: CharacteristicWriteType;
|
19838
19868
|
}
|
19869
|
+
|
19870
|
+
/**
|
19871
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
19872
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
19873
|
+
* |type| is write.
|
19874
|
+
*/
|
19875
|
+
export interface DescriptorOperationReceivedEvent {
|
19876
|
+
descriptorId: string;
|
19877
|
+
type: CharacteristicOperationType;
|
19878
|
+
data?: string;
|
19879
|
+
}
|
19839
19880
|
}
|
19840
19881
|
}
|
19841
19882
|
|