@microbit/capacitor-community-nordic-dfu 7.0.0-microbit.1

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.
package/dist/docs.json ADDED
@@ -0,0 +1,900 @@
1
+ {
2
+ "api": {
3
+ "name": "NordicDfuPlugin",
4
+ "slug": "nordicdfuplugin",
5
+ "docs": "Defines the plugin for handling Nordic DFU processes.\nIncludes methods to start the DFU process, check permissions, and manage event listeners.",
6
+ "tags": [
7
+ {
8
+ "text": "1.0.0",
9
+ "name": "since"
10
+ }
11
+ ],
12
+ "methods": [
13
+ {
14
+ "name": "startDFU",
15
+ "signature": "(dfuUpdateOptions: DfuUpdateOptions) => Promise<void | PluginResultError>",
16
+ "parameters": [
17
+ {
18
+ "name": "dfuUpdateOptions",
19
+ "docs": "Options for the DFU process.",
20
+ "type": "DfuUpdateOptions"
21
+ }
22
+ ],
23
+ "returns": "Promise<void | PluginResultError>",
24
+ "tags": [
25
+ {
26
+ "name": "param",
27
+ "text": "dfuUpdateOptions Options for the DFU process."
28
+ },
29
+ {
30
+ "name": "returns",
31
+ "text": "A promise that resolves on successful completion of the DFU process or rejects with a PluginResultError."
32
+ },
33
+ {
34
+ "name": "example",
35
+ "text": "const dfuOptions: DfuOptions = {\n mtu: 23,\n currentMtu: 23,\n packetReceiptNotificationsEnabled: false,\n};\n\nconst dfuUpdateOptions: DfuUpdateOptions = {\n deviceAddress: this.device.deviceId,\n deviceName: this.device.name,\n filePath: this.file.path,\n dfuOptions: dfuOptions,\n};\n\nNordicDfu.startDFU(dfuUpdateOptions).then(\n () => console.log,\n (error: PluginResultError) => console.error\n);"
36
+ },
37
+ {
38
+ "name": "since",
39
+ "text": "1.0.0"
40
+ }
41
+ ],
42
+ "docs": "Initiates the DFU process with the specified options.",
43
+ "complexTypes": [
44
+ "PluginResultError",
45
+ "DfuUpdateOptions"
46
+ ],
47
+ "slug": "startdfu"
48
+ },
49
+ {
50
+ "name": "checkPermissions",
51
+ "signature": "() => Promise<PermissionStatus>",
52
+ "parameters": [],
53
+ "returns": "Promise<PermissionStatus>",
54
+ "tags": [
55
+ {
56
+ "name": "example",
57
+ "text": "const request = await NordicDfu.checkPermissions();\nconsole.log(request)"
58
+ },
59
+ {
60
+ "name": "since",
61
+ "text": "1.0.0"
62
+ }
63
+ ],
64
+ "docs": "Check status of permissions needed by the plugin",
65
+ "complexTypes": [
66
+ "PermissionStatus"
67
+ ],
68
+ "slug": "checkpermissions"
69
+ },
70
+ {
71
+ "name": "requestPermissions",
72
+ "signature": "() => Promise<PermissionStatus>",
73
+ "parameters": [],
74
+ "returns": "Promise<PermissionStatus>",
75
+ "tags": [
76
+ {
77
+ "name": "example",
78
+ "text": "const request = await NordicDfu.requestPermissions();\nconsole.log(request)"
79
+ },
80
+ {
81
+ "name": "since",
82
+ "text": "1.0.0"
83
+ }
84
+ ],
85
+ "docs": "Request permissions needed by the plugin",
86
+ "complexTypes": [
87
+ "PermissionStatus"
88
+ ],
89
+ "slug": "requestpermissions"
90
+ },
91
+ {
92
+ "name": "addListener",
93
+ "signature": "(eventName: 'DFUStateChanged', handler: (update: DfuUpdate) => void) => Promise<PluginListenerHandle> & PluginListenerHandle",
94
+ "parameters": [
95
+ {
96
+ "name": "eventName",
97
+ "docs": "The name of the event to listen for",
98
+ "type": "'DFUStateChanged'"
99
+ },
100
+ {
101
+ "name": "handler",
102
+ "docs": "The handler function that will be called when the event is fired",
103
+ "type": "(update: DfuUpdate) => void"
104
+ }
105
+ ],
106
+ "returns": "Promise<PluginListenerHandle> & PluginListenerHandle",
107
+ "tags": [
108
+ {
109
+ "name": "param",
110
+ "text": "eventName The name of the event to listen for"
111
+ },
112
+ {
113
+ "name": "param",
114
+ "text": "handler The handler function that will be called when the event is fired"
115
+ },
116
+ {
117
+ "name": "returns",
118
+ "text": "A promise that resolves with a PluginListenerHandle that can be used to remove the listener"
119
+ },
120
+ {
121
+ "name": "example",
122
+ "text": "NordicDfu.addListener('DFUStateChanged', async (update: DfuUpdate) => {\n console.log(`DFU: state: ${update.state}, data: ${JSON.stringify(update.data)}`);\n}"
123
+ },
124
+ {
125
+ "name": "since",
126
+ "text": "1.0.0"
127
+ }
128
+ ],
129
+ "docs": "Listen for when the DFU state changes",
130
+ "complexTypes": [
131
+ "PluginListenerHandle",
132
+ "DfuUpdate"
133
+ ],
134
+ "slug": "addlistenerdfustatechanged-"
135
+ },
136
+ {
137
+ "name": "removeAllListeners",
138
+ "signature": "() => Promise<void>",
139
+ "parameters": [],
140
+ "returns": "Promise<void>",
141
+ "tags": [
142
+ {
143
+ "name": "returns",
144
+ "text": "A promise that resolves when all listeners are removed"
145
+ },
146
+ {
147
+ "name": "example",
148
+ "text": "NordicDfu.removeAllListeners();"
149
+ },
150
+ {
151
+ "name": "since",
152
+ "text": "1.0.0"
153
+ }
154
+ ],
155
+ "docs": "Removes all listeners for the DFUStateChanged event",
156
+ "complexTypes": [],
157
+ "slug": "removealllisteners"
158
+ }
159
+ ],
160
+ "properties": []
161
+ },
162
+ "interfaces": [
163
+ {
164
+ "name": "PluginResultError",
165
+ "slug": "pluginresulterror",
166
+ "docs": "",
167
+ "tags": [],
168
+ "methods": [],
169
+ "properties": [
170
+ {
171
+ "name": "message",
172
+ "tags": [],
173
+ "docs": "",
174
+ "complexTypes": [],
175
+ "type": "string"
176
+ }
177
+ ]
178
+ },
179
+ {
180
+ "name": "DfuUpdateOptions",
181
+ "slug": "dfuupdateoptions",
182
+ "docs": "Specifies the options required for initiating the DFU process.",
183
+ "tags": [
184
+ {
185
+ "text": "1.0.0",
186
+ "name": "since"
187
+ }
188
+ ],
189
+ "methods": [],
190
+ "properties": [
191
+ {
192
+ "name": "deviceAddress",
193
+ "tags": [
194
+ {
195
+ "text": "1.0.0",
196
+ "name": "since"
197
+ }
198
+ ],
199
+ "docs": "The target device address.\nOn **Android** this is the BLE MAC address.\nOn **iOS** and **web** it is a randomly generated UUID identifier.",
200
+ "complexTypes": [],
201
+ "type": "string"
202
+ },
203
+ {
204
+ "name": "deviceName",
205
+ "tags": [
206
+ {
207
+ "text": "1.0.0",
208
+ "name": "since"
209
+ }
210
+ ],
211
+ "docs": "The name of the device",
212
+ "complexTypes": [],
213
+ "type": "string | undefined"
214
+ },
215
+ {
216
+ "name": "filePath",
217
+ "tags": [
218
+ {
219
+ "text": "1.0.0",
220
+ "name": "since"
221
+ }
222
+ ],
223
+ "docs": "The path to the firmware file",
224
+ "complexTypes": [],
225
+ "type": "string"
226
+ },
227
+ {
228
+ "name": "dfuOptions",
229
+ "tags": [
230
+ {
231
+ "text": "1.0.0",
232
+ "name": "since"
233
+ }
234
+ ],
235
+ "docs": "The additional options for the DFU process",
236
+ "complexTypes": [
237
+ "DfuOptions"
238
+ ],
239
+ "type": "DfuOptions"
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ "name": "DfuOptions",
245
+ "slug": "dfuoptions",
246
+ "docs": "Outlines additional options for configuring the DFU process.",
247
+ "tags": [
248
+ {
249
+ "text": "1.0.0",
250
+ "name": "since"
251
+ }
252
+ ],
253
+ "methods": [],
254
+ "properties": [
255
+ {
256
+ "name": "disableNotification",
257
+ "tags": [
258
+ {
259
+ "text": "false",
260
+ "name": "default"
261
+ },
262
+ {
263
+ "text": "1.0.0",
264
+ "name": "since"
265
+ }
266
+ ],
267
+ "docs": "Sets whether the progress notification in the status bar should be disabled.",
268
+ "complexTypes": [],
269
+ "type": "boolean | undefined"
270
+ },
271
+ {
272
+ "name": "startAsForegroundService",
273
+ "tags": [
274
+ {
275
+ "text": "false",
276
+ "name": "default"
277
+ },
278
+ {
279
+ "text": "1.0.0",
280
+ "name": "since"
281
+ }
282
+ ],
283
+ "docs": "Sets whether the progress notification in the status bar should be disabled.",
284
+ "complexTypes": [],
285
+ "type": "boolean | undefined"
286
+ },
287
+ {
288
+ "name": "keepBond",
289
+ "tags": [
290
+ {
291
+ "text": "false",
292
+ "name": "default"
293
+ },
294
+ {
295
+ "text": "1.0.0",
296
+ "name": "since"
297
+ }
298
+ ],
299
+ "docs": "Sets whether the bond information should be preserver after flashing new application.",
300
+ "complexTypes": [],
301
+ "type": "boolean | undefined"
302
+ },
303
+ {
304
+ "name": "restoreBond",
305
+ "tags": [
306
+ {
307
+ "text": "false",
308
+ "name": "default"
309
+ },
310
+ {
311
+ "text": "1.0.0",
312
+ "name": "since"
313
+ }
314
+ ],
315
+ "docs": "Sets whether a new bond should be created after the DFU is complete. The old bond\ninformation will be removed before.",
316
+ "complexTypes": [],
317
+ "type": "boolean | undefined"
318
+ },
319
+ {
320
+ "name": "dataObjectDelay",
321
+ "tags": [
322
+ {
323
+ "text": "0",
324
+ "name": "default"
325
+ },
326
+ {
327
+ "text": "1.0.0",
328
+ "name": "since"
329
+ }
330
+ ],
331
+ "docs": "Sets the initial delay (in milliseconds) that the service will wait before sending each data object.",
332
+ "complexTypes": [],
333
+ "type": "number | undefined"
334
+ },
335
+ {
336
+ "name": "packetReceiptNotificationsEnabled",
337
+ "tags": [
338
+ {
339
+ "text": "1.0.0",
340
+ "name": "since"
341
+ }
342
+ ],
343
+ "docs": "Enables or disables the Packet Receipt Notification (PRN) procedure.\n\nBy default the PRNs are disabled on devices with Android Marshmallow or newer and enabled on\nolder ones.",
344
+ "complexTypes": [],
345
+ "type": "boolean | undefined"
346
+ },
347
+ {
348
+ "name": "packetsReceiptNotificationsValue",
349
+ "tags": [
350
+ {
351
+ "text": "12",
352
+ "name": "default"
353
+ },
354
+ {
355
+ "text": "1.0.0",
356
+ "name": "since"
357
+ }
358
+ ],
359
+ "docs": "If Packet Receipt Notification procedure is enabled, this method sets the number of packets to be sent before\nreceiving a PRN.",
360
+ "complexTypes": [],
361
+ "type": "number | undefined"
362
+ },
363
+ {
364
+ "name": "forceDfu",
365
+ "tags": [
366
+ {
367
+ "text": "false",
368
+ "name": "default"
369
+ },
370
+ {
371
+ "text": "1.0.0",
372
+ "name": "since"
373
+ }
374
+ ],
375
+ "docs": "Setting force DFU to true will prevent from jumping to the DFU Bootloader\nmode in case there is no DFU Version characteristic (Legacy DFU only!).\nUse this if the DFU operation can be handled by your device running in the application mode.\nThis method is ignored in Secure DFU.",
376
+ "complexTypes": [],
377
+ "type": "boolean | undefined"
378
+ },
379
+ {
380
+ "name": "rebootTime",
381
+ "tags": [
382
+ {
383
+ "text": "0",
384
+ "name": "default"
385
+ },
386
+ {
387
+ "text": "1.0.0",
388
+ "name": "since"
389
+ }
390
+ ],
391
+ "docs": "Sets the time (in milliseconds) required by the device to reboot. The library will wait for this time before\nscanning for the device in bootloader mode.",
392
+ "complexTypes": [],
393
+ "type": "number | undefined"
394
+ },
395
+ {
396
+ "name": "scanTimeout",
397
+ "tags": [
398
+ {
399
+ "text": "5000",
400
+ "name": "default"
401
+ },
402
+ {
403
+ "text": "1.0.0",
404
+ "name": "since"
405
+ }
406
+ ],
407
+ "docs": "Sets the scan duration (in milliseconds) when scanning for DFU Bootloader.",
408
+ "complexTypes": [],
409
+ "type": "number | undefined"
410
+ },
411
+ {
412
+ "name": "forceScanningForNewAddressInLegacyDfu",
413
+ "tags": [
414
+ {
415
+ "text": "false",
416
+ "name": "default"
417
+ },
418
+ {
419
+ "text": "1.0.0",
420
+ "name": "since"
421
+ }
422
+ ],
423
+ "docs": "When this is set to true, the Legacy Buttonless Service will scan for the device advertising\nwith an incremented MAC address, instead of trying to reconnect to the same device.",
424
+ "complexTypes": [],
425
+ "type": "boolean | undefined"
426
+ },
427
+ {
428
+ "name": "disableResume",
429
+ "tags": [
430
+ {
431
+ "text": "false",
432
+ "name": "default"
433
+ },
434
+ {
435
+ "text": "1.4.0",
436
+ "name": "since"
437
+ }
438
+ ],
439
+ "docs": "This options allows to disable the resume feature in Secure DFU. When the extra value is set to true, the DFU will\nsend Init Packet and Data again, despite the firmware might have been send partially before. By default, without\nsetting this extra, or by setting it to false, the DFU will resume the previously cancelled upload if CRC values\nmatch.",
440
+ "complexTypes": [],
441
+ "type": "boolean | undefined"
442
+ },
443
+ {
444
+ "name": "numberOfRetries",
445
+ "tags": [
446
+ {
447
+ "text": "0",
448
+ "name": "default"
449
+ },
450
+ {
451
+ "text": "1.0.0",
452
+ "name": "since"
453
+ }
454
+ ],
455
+ "docs": "Sets the number of retries that the DFU service will use to complete DFU.",
456
+ "complexTypes": [],
457
+ "type": "number | undefined"
458
+ },
459
+ {
460
+ "name": "mtu",
461
+ "tags": [
462
+ {
463
+ "text": "1.0.0",
464
+ "name": "since"
465
+ }
466
+ ],
467
+ "docs": "Sets the Maximum Transfer Unit (MTU) value that the Secure DFU service will try to request\nbefore performing DFU. **Available for Android only.**\n\nBy default, value 517 will be used, which is the highest supported y Android. However, as the\nhighest supported MTU by the Secure DFU from SDK 15 (first which supports higher MTU) is 247,\nthe sides will agree on using MTU = 247 instead if the phone supports it (Lollipop or newer device).",
468
+ "complexTypes": [],
469
+ "type": "number | undefined"
470
+ },
471
+ {
472
+ "name": "currentMtu",
473
+ "tags": [
474
+ {
475
+ "text": "23",
476
+ "name": "default"
477
+ },
478
+ {
479
+ "text": "1.0.0",
480
+ "name": "since"
481
+ }
482
+ ],
483
+ "docs": "Sets the current MTU value. This method should be used only if the device is already\nconnected and MTU has been requested before DFU service is started. **Available for Android only.**",
484
+ "complexTypes": [],
485
+ "type": "number | undefined"
486
+ },
487
+ {
488
+ "name": "disableMtuRequest",
489
+ "tags": [
490
+ {
491
+ "text": "false",
492
+ "name": "default"
493
+ },
494
+ {
495
+ "text": "1.4.0",
496
+ "name": "since"
497
+ }
498
+ ],
499
+ "docs": "Disables MTU request. **Available for Android only.**",
500
+ "complexTypes": [],
501
+ "type": "boolean | undefined"
502
+ },
503
+ {
504
+ "name": "scope",
505
+ "tags": [
506
+ {
507
+ "text": "1.0.0",
508
+ "name": "since"
509
+ }
510
+ ],
511
+ "docs": "This method allows to narrow the update to selected parts from the ZIP, for example\nto allow only application update from a ZIP file that has SD+BL+App. System components scope\ninclude the Softdevice and/or the Bootloader (they can't be separated as they are packed in\na single bin file and the library does not know whether it contains only the softdevice,\nthe bootloader or both) Application scope includes the application only.",
512
+ "complexTypes": [],
513
+ "type": "number | undefined"
514
+ },
515
+ {
516
+ "name": "mbrSize",
517
+ "tags": [
518
+ {
519
+ "text": "4096",
520
+ "name": "default"
521
+ },
522
+ {
523
+ "text": "1.0.0",
524
+ "name": "since"
525
+ }
526
+ ],
527
+ "docs": "This method sets the size of an MBR (Master Boot Record). It should be used only\nwhen updating a file from a HEX file. If you use BIN or ZIP, value set here will\nbe ignored.",
528
+ "complexTypes": [],
529
+ "type": "number | undefined"
530
+ },
531
+ {
532
+ "name": "unsafeExperimentalButtonlessServiceInSecureDfuEnabled",
533
+ "tags": [
534
+ {
535
+ "text": "false",
536
+ "name": "default"
537
+ },
538
+ {
539
+ "text": "1.0.0",
540
+ "name": "since"
541
+ }
542
+ ],
543
+ "docs": "Set this flag to true to enable experimental buttonless feature in Secure DFU. When the\nexperimental Buttonless DFU Service is found on a device, the service will use it to\nswitch the device to the bootloader mode, connect to it in that mode and proceed with DFU.",
544
+ "complexTypes": [],
545
+ "type": "boolean | undefined"
546
+ }
547
+ ]
548
+ },
549
+ {
550
+ "name": "PermissionStatus",
551
+ "slug": "permissionstatus",
552
+ "docs": "Represents the current status of permissions in the plugin.",
553
+ "tags": [
554
+ {
555
+ "text": "1.0.0",
556
+ "name": "since"
557
+ }
558
+ ],
559
+ "methods": [],
560
+ "properties": [
561
+ {
562
+ "name": "notifications",
563
+ "tags": [
564
+ {
565
+ "text": "1.0.0",
566
+ "name": "since"
567
+ }
568
+ ],
569
+ "docs": "Indicates the permission state of notifications.",
570
+ "complexTypes": [
571
+ "PermissionState"
572
+ ],
573
+ "type": "PermissionState"
574
+ }
575
+ ]
576
+ },
577
+ {
578
+ "name": "PluginListenerHandle",
579
+ "slug": "pluginlistenerhandle",
580
+ "docs": "",
581
+ "tags": [],
582
+ "methods": [],
583
+ "properties": [
584
+ {
585
+ "name": "remove",
586
+ "tags": [],
587
+ "docs": "",
588
+ "complexTypes": [],
589
+ "type": "() => Promise<void>"
590
+ }
591
+ ]
592
+ },
593
+ {
594
+ "name": "DfuUpdate",
595
+ "slug": "dfuupdate",
596
+ "docs": "The DFU update object that is passed to the DFUStateChanged event",
597
+ "tags": [
598
+ {
599
+ "text": "1.0.0",
600
+ "name": "since"
601
+ }
602
+ ],
603
+ "methods": [],
604
+ "properties": [
605
+ {
606
+ "name": "state",
607
+ "tags": [
608
+ {
609
+ "text": "1.0.0",
610
+ "name": "since"
611
+ }
612
+ ],
613
+ "docs": "Defines the structure for the DFU update object passed to the DFUStateChanged event.",
614
+ "complexTypes": [
615
+ "DfuState"
616
+ ],
617
+ "type": "DfuState"
618
+ },
619
+ {
620
+ "name": "data",
621
+ "tags": [
622
+ {
623
+ "text": "1.0.0",
624
+ "name": "since"
625
+ }
626
+ ],
627
+ "docs": "The DFU data that is passed to the DfuUpdate object",
628
+ "complexTypes": [
629
+ "DfuUpdateData"
630
+ ],
631
+ "type": "DfuUpdateData"
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "name": "DfuUpdateData",
637
+ "slug": "dfuupdatedata",
638
+ "docs": "Contains data related to the DFU update process, such as progress and speed.",
639
+ "tags": [
640
+ {
641
+ "text": "1.0.0",
642
+ "name": "since"
643
+ }
644
+ ],
645
+ "methods": [],
646
+ "properties": [
647
+ {
648
+ "name": "percent",
649
+ "tags": [
650
+ {
651
+ "text": "1.0.0",
652
+ "name": "since"
653
+ }
654
+ ],
655
+ "docs": "The current status of upload (0-99).",
656
+ "complexTypes": [],
657
+ "type": "number | undefined"
658
+ },
659
+ {
660
+ "name": "speed",
661
+ "tags": [
662
+ {
663
+ "text": "1.0.0",
664
+ "name": "since"
665
+ }
666
+ ],
667
+ "docs": "The current speed in bytes per millisecond.",
668
+ "complexTypes": [],
669
+ "type": "number | undefined"
670
+ },
671
+ {
672
+ "name": "avgSpeed",
673
+ "tags": [
674
+ {
675
+ "text": "1.0.0",
676
+ "name": "since"
677
+ }
678
+ ],
679
+ "docs": "The average speed in bytes per millisecond.",
680
+ "complexTypes": [],
681
+ "type": "number | undefined"
682
+ },
683
+ {
684
+ "name": "currentPart",
685
+ "tags": [
686
+ {
687
+ "text": "1.0.0",
688
+ "name": "since"
689
+ }
690
+ ],
691
+ "docs": "The number of parts being sent. In case the ZIP file contains a Soft Device and/or a Bootloader together\nwith the application the SD+BL are sent as part 1, then the service starts again and send the application\nas part 2.",
692
+ "complexTypes": [],
693
+ "type": "number | undefined"
694
+ },
695
+ {
696
+ "name": "partsTotal",
697
+ "tags": [
698
+ {
699
+ "text": "1.0.0",
700
+ "name": "since"
701
+ }
702
+ ],
703
+ "docs": "The total number of parts.",
704
+ "complexTypes": [],
705
+ "type": "number | undefined"
706
+ },
707
+ {
708
+ "name": "duration",
709
+ "tags": [
710
+ {
711
+ "text": "1.1.0",
712
+ "name": "since"
713
+ }
714
+ ],
715
+ "docs": "The total time elapsed since the start of the DFU process in milliseconds",
716
+ "complexTypes": [],
717
+ "type": "number | undefined"
718
+ },
719
+ {
720
+ "name": "remainingTime",
721
+ "tags": [
722
+ {
723
+ "text": "1.1.0",
724
+ "name": "since"
725
+ }
726
+ ],
727
+ "docs": "The estimated remaining time to the end of the DFU process in milliseconds",
728
+ "complexTypes": [],
729
+ "type": "number | undefined"
730
+ }
731
+ ]
732
+ }
733
+ ],
734
+ "enums": [
735
+ {
736
+ "name": "DfuState",
737
+ "slug": "dfustate",
738
+ "members": [
739
+ {
740
+ "name": "DEVICE_CONNECTING",
741
+ "value": "'DEVICE_CONNECTING'",
742
+ "tags": [
743
+ {
744
+ "text": "1.0.0",
745
+ "name": "since"
746
+ }
747
+ ],
748
+ "docs": "The device is currently connecting."
749
+ },
750
+ {
751
+ "name": "DEVICE_CONNECTED",
752
+ "value": "'DEVICE_CONNECTED'",
753
+ "tags": [
754
+ {
755
+ "text": "1.0.0",
756
+ "name": "since"
757
+ }
758
+ ],
759
+ "docs": "The device has successfully connected. **Available for Android only.**"
760
+ },
761
+ {
762
+ "name": "DFU_PROCESS_STARTING",
763
+ "value": "'DFU_PROCESS_STARTING'",
764
+ "tags": [
765
+ {
766
+ "text": "1.0.0",
767
+ "name": "since"
768
+ }
769
+ ],
770
+ "docs": "The DFU process is about to start."
771
+ },
772
+ {
773
+ "name": "DFU_PROCESS_STARTED",
774
+ "value": "'DFU_PROCESS_STARTED'",
775
+ "tags": [
776
+ {
777
+ "text": "1.0.0",
778
+ "name": "since"
779
+ }
780
+ ],
781
+ "docs": "The DFU process has started. **Available for Android only.**"
782
+ },
783
+ {
784
+ "name": "ENABLING_DFU_MODE",
785
+ "value": "'ENABLING_DFU_MODE'",
786
+ "tags": [
787
+ {
788
+ "text": "1.0.0",
789
+ "name": "since"
790
+ }
791
+ ],
792
+ "docs": "The device is enabling DFU mode."
793
+ },
794
+ {
795
+ "name": "DFU_PROGRESS",
796
+ "value": "'DFU_PROGRESS'",
797
+ "tags": [
798
+ {
799
+ "text": "1.0.0",
800
+ "name": "since"
801
+ }
802
+ ],
803
+ "docs": "The DFU process is in progress."
804
+ },
805
+ {
806
+ "name": "VALIDATING_FIRMWARE",
807
+ "value": "'VALIDATING_FIRMWARE'",
808
+ "tags": [
809
+ {
810
+ "text": "1.0.0",
811
+ "name": "since"
812
+ }
813
+ ],
814
+ "docs": "The firmware is currently being validated."
815
+ },
816
+ {
817
+ "name": "DEVICE_DISCONNECTING",
818
+ "value": "'DEVICE_DISCONNECTING'",
819
+ "tags": [
820
+ {
821
+ "text": "1.0.0",
822
+ "name": "since"
823
+ }
824
+ ],
825
+ "docs": "The device is disconnecting."
826
+ },
827
+ {
828
+ "name": "DEVICE_DISCONNECTED",
829
+ "value": "'DEVICE_DISCONNECTED'",
830
+ "tags": [
831
+ {
832
+ "text": "1.0.0",
833
+ "name": "since"
834
+ }
835
+ ],
836
+ "docs": "The device has disconnected. **Available for Android only.**"
837
+ },
838
+ {
839
+ "name": "DFU_COMPLETED",
840
+ "value": "'DFU_COMPLETED'",
841
+ "tags": [
842
+ {
843
+ "text": "1.0.0",
844
+ "name": "since"
845
+ }
846
+ ],
847
+ "docs": "The DFU process has completed successfully."
848
+ },
849
+ {
850
+ "name": "DFU_ABORTED",
851
+ "value": "'DFU_ABORTED'",
852
+ "tags": [
853
+ {
854
+ "text": "1.0.0",
855
+ "name": "since"
856
+ }
857
+ ],
858
+ "docs": "The DFU process has been aborted."
859
+ },
860
+ {
861
+ "name": "DFU_FAILED",
862
+ "value": "'DFU_FAILED'",
863
+ "tags": [
864
+ {
865
+ "text": "1.0.0",
866
+ "name": "since"
867
+ }
868
+ ],
869
+ "docs": "The DFU process has failed."
870
+ }
871
+ ]
872
+ }
873
+ ],
874
+ "typeAliases": [
875
+ {
876
+ "name": "PermissionState",
877
+ "slug": "permissionstate",
878
+ "docs": "",
879
+ "types": [
880
+ {
881
+ "text": "'prompt'",
882
+ "complexTypes": []
883
+ },
884
+ {
885
+ "text": "'prompt-with-rationale'",
886
+ "complexTypes": []
887
+ },
888
+ {
889
+ "text": "'granted'",
890
+ "complexTypes": []
891
+ },
892
+ {
893
+ "text": "'denied'",
894
+ "complexTypes": []
895
+ }
896
+ ]
897
+ }
898
+ ],
899
+ "pluginConfigs": []
900
+ }