-
Notifications
You must be signed in to change notification settings - Fork 0
/
fk-app.d.ts
6413 lines (5211 loc) · 234 KB
/
fk-app.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import * as $protobuf from "protobufjs";
/** Namespace fk_app. */
export namespace fk_app {
/** QueryFlags enum. */
enum QueryFlags {
QUERY_FLAGS_NONE = 0,
QUERY_FLAGS_LOGS = 1
}
/** QueryType enum. */
enum QueryType {
QUERY_NONE = 0,
QUERY_CAPABILITIES = 1,
QUERY_CONFIGURE_SENSOR = 2,
QUERY_LIVE_DATA_POLL = 7,
QUERY_SCHEDULES = 8,
QUERY_CONFIGURE_SCHEDULES = 9,
QUERY_FILES_SD = 10,
QUERY_DOWNLOAD_FILE = 11,
QUERY_ERASE_FILE = 12,
QUERY_RESET = 13,
QUERY_NETWORK_SETTINGS = 14,
QUERY_CONFIGURE_NETWORK_SETTINGS = 15,
QUERY_SCAN_MODULES = 16,
QUERY_CONFIGURE_IDENTITY = 17,
QUERY_STATUS = 18,
QUERY_MODULE = 19,
QUERY_METADATA = 20,
QUERY_FORMAT = 21,
QUERY_GET_READINGS = 22,
QUERY_TAKE_READINGS = 23,
QUERY_RECORDING_CONTROL = 24,
QUERY_CONFIGURE = 25,
QUERY_SCAN_NETWORKS = 26,
QUERY_FILES_SPI = 27,
QUERY_FILES_QSPI = 28
}
/** ReplyType enum. */
enum ReplyType {
REPLY_NONE = 0,
REPLY_SUCCESS = 1,
REPLY_BUSY = 2,
REPLY_ERROR = 3,
REPLY_CAPABILITIES = 4,
REPLY_LIVE_DATA_POLL = 8,
REPLY_SCHEDULES = 9,
REPLY_FILES = 10,
REPLY_DOWNLOAD_FILE = 11,
REPLY_RESET = 12,
REPLY_NETWORK_SETTINGS = 13,
REPLY_IDENTITY = 14,
REPLY_STATUS = 15,
REPLY_MODULE = 16,
REPLY_METADATA = 17,
REPLY_READINGS = 18,
REPLY_NETWORKS = 19
}
/** DownloadFlags enum. */
enum DownloadFlags {
DOWNLOAD_FLAG_NONE = 0,
DOWNLOAD_FLAG_METADATA_PREPEND = 1,
DOWNLOAD_FLAG_METADATA_ONLY = 2
}
/** ModuleFlags enum. */
enum ModuleFlags {
MODULE_FLAG_NONE = 0,
MODULE_FLAG_INTERNAL = 1
}
/** SensorFlags enum. */
enum SensorFlags {
SENSOR_FLAG_NONE = 0
}
/** Properties of a QueryCapabilities. */
interface IQueryCapabilities {
/** QueryCapabilities version */
version?: number;
/** QueryCapabilities callerTime */
callerTime?: number;
}
/** Represents a QueryCapabilities. */
class QueryCapabilities {
/**
* Constructs a new QueryCapabilities.
* @param [properties] Properties to set
*/
constructor(properties?: fk_app.IQueryCapabilities);
/** QueryCapabilities version. */
public version: number;
/** QueryCapabilities callerTime. */
public callerTime: number;
/**
* Creates a new QueryCapabilities instance using the specified properties.
* @param [properties] Properties to set
* @returns QueryCapabilities instance
*/
public static create(properties?: fk_app.IQueryCapabilities): fk_app.QueryCapabilities;
/**
* Encodes the specified QueryCapabilities message. Does not implicitly {@link fk_app.QueryCapabilities.verify|verify} messages.
* @param message QueryCapabilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: fk_app.IQueryCapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified QueryCapabilities message, length delimited. Does not implicitly {@link fk_app.QueryCapabilities.verify|verify} messages.
* @param message QueryCapabilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: fk_app.IQueryCapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a QueryCapabilities message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns QueryCapabilities
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): fk_app.QueryCapabilities;
/**
* Decodes a QueryCapabilities message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns QueryCapabilities
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): fk_app.QueryCapabilities;
/**
* Verifies a QueryCapabilities message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a QueryCapabilities message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns QueryCapabilities
*/
public static fromObject(object: { [k: string]: any }): fk_app.QueryCapabilities;
/**
* Creates a plain object from a QueryCapabilities message. Also converts values to other types if specified.
* @param message QueryCapabilities
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: fk_app.QueryCapabilities, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this QueryCapabilities to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a LiveValue. */
interface ILiveValue {
/** LiveValue valid */
valid?: boolean;
/** LiveValue value */
value?: number;
/** LiveValue uncalibrated */
uncalibrated?: number;
}
/** Represents a LiveValue. */
class LiveValue {
/**
* Constructs a new LiveValue.
* @param [properties] Properties to set
*/
constructor(properties?: fk_app.ILiveValue);
/** LiveValue valid. */
public valid: boolean;
/** LiveValue value. */
public value: number;
/** LiveValue uncalibrated. */
public uncalibrated: number;
/**
* Creates a new LiveValue instance using the specified properties.
* @param [properties] Properties to set
* @returns LiveValue instance
*/
public static create(properties?: fk_app.ILiveValue): fk_app.LiveValue;
/**
* Encodes the specified LiveValue message. Does not implicitly {@link fk_app.LiveValue.verify|verify} messages.
* @param message LiveValue message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: fk_app.ILiveValue, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified LiveValue message, length delimited. Does not implicitly {@link fk_app.LiveValue.verify|verify} messages.
* @param message LiveValue message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: fk_app.ILiveValue, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a LiveValue message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns LiveValue
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): fk_app.LiveValue;
/**
* Decodes a LiveValue message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns LiveValue
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): fk_app.LiveValue;
/**
* Verifies a LiveValue message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a LiveValue message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns LiveValue
*/
public static fromObject(object: { [k: string]: any }): fk_app.LiveValue;
/**
* Creates a plain object from a LiveValue message. Also converts values to other types if specified.
* @param message LiveValue
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: fk_app.LiveValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this LiveValue to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a SensorCapabilities. */
interface ISensorCapabilities {
/** SensorCapabilities number */
number?: number;
/** SensorCapabilities module */
module?: number;
/** SensorCapabilities name */
name?: string;
/** SensorCapabilities frequency */
frequency?: number;
/** SensorCapabilities unitOfMeasure */
unitOfMeasure?: string;
/** SensorCapabilities uncalibratedUnitOfMeasure */
uncalibratedUnitOfMeasure?: string;
/** SensorCapabilities path */
path?: string;
/** SensorCapabilities flags */
flags?: number;
/** SensorCapabilities value */
value?: fk_app.ILiveValue;
}
/** Represents a SensorCapabilities. */
class SensorCapabilities {
/**
* Constructs a new SensorCapabilities.
* @param [properties] Properties to set
*/
constructor(properties?: fk_app.ISensorCapabilities);
/** SensorCapabilities number. */
public number: number;
/** SensorCapabilities module. */
public module: number;
/** SensorCapabilities name. */
public name: string;
/** SensorCapabilities frequency. */
public frequency: number;
/** SensorCapabilities unitOfMeasure. */
public unitOfMeasure: string;
/** SensorCapabilities uncalibratedUnitOfMeasure. */
public uncalibratedUnitOfMeasure: string;
/** SensorCapabilities path. */
public path: string;
/** SensorCapabilities flags. */
public flags: number;
/** SensorCapabilities value. */
public value?: (fk_app.ILiveValue|null);
/**
* Creates a new SensorCapabilities instance using the specified properties.
* @param [properties] Properties to set
* @returns SensorCapabilities instance
*/
public static create(properties?: fk_app.ISensorCapabilities): fk_app.SensorCapabilities;
/**
* Encodes the specified SensorCapabilities message. Does not implicitly {@link fk_app.SensorCapabilities.verify|verify} messages.
* @param message SensorCapabilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: fk_app.ISensorCapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified SensorCapabilities message, length delimited. Does not implicitly {@link fk_app.SensorCapabilities.verify|verify} messages.
* @param message SensorCapabilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: fk_app.ISensorCapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a SensorCapabilities message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns SensorCapabilities
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): fk_app.SensorCapabilities;
/**
* Decodes a SensorCapabilities message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns SensorCapabilities
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): fk_app.SensorCapabilities;
/**
* Verifies a SensorCapabilities message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a SensorCapabilities message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns SensorCapabilities
*/
public static fromObject(object: { [k: string]: any }): fk_app.SensorCapabilities;
/**
* Creates a plain object from a SensorCapabilities message. Also converts values to other types if specified.
* @param message SensorCapabilities
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: fk_app.SensorCapabilities, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this SensorCapabilities to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a ModuleHeader. */
interface IModuleHeader {
/** ModuleHeader manufacturer */
manufacturer?: number;
/** ModuleHeader kind */
kind?: number;
/** ModuleHeader version */
version?: number;
}
/** Represents a ModuleHeader. */
class ModuleHeader {
/**
* Constructs a new ModuleHeader.
* @param [properties] Properties to set
*/
constructor(properties?: fk_app.IModuleHeader);
/** ModuleHeader manufacturer. */
public manufacturer: number;
/** ModuleHeader kind. */
public kind: number;
/** ModuleHeader version. */
public version: number;
/**
* Creates a new ModuleHeader instance using the specified properties.
* @param [properties] Properties to set
* @returns ModuleHeader instance
*/
public static create(properties?: fk_app.IModuleHeader): fk_app.ModuleHeader;
/**
* Encodes the specified ModuleHeader message. Does not implicitly {@link fk_app.ModuleHeader.verify|verify} messages.
* @param message ModuleHeader message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: fk_app.IModuleHeader, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ModuleHeader message, length delimited. Does not implicitly {@link fk_app.ModuleHeader.verify|verify} messages.
* @param message ModuleHeader message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: fk_app.IModuleHeader, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ModuleHeader message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ModuleHeader
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): fk_app.ModuleHeader;
/**
* Decodes a ModuleHeader message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ModuleHeader
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): fk_app.ModuleHeader;
/**
* Verifies a ModuleHeader message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a ModuleHeader message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ModuleHeader
*/
public static fromObject(object: { [k: string]: any }): fk_app.ModuleHeader;
/**
* Creates a plain object from a ModuleHeader message. Also converts values to other types if specified.
* @param message ModuleHeader
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: fk_app.ModuleHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ModuleHeader to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a ModuleCapabilities. */
interface IModuleCapabilities {
/** ModuleCapabilities position */
position?: number;
/** ModuleCapabilities name */
name?: string;
/** ModuleCapabilities sensors */
sensors?: fk_app.ISensorCapabilities[];
/** ModuleCapabilities path */
path?: string;
/** ModuleCapabilities flags */
flags?: number;
/** ModuleCapabilities id */
id?: Uint8Array;
/** ModuleCapabilities header */
header?: fk_app.IModuleHeader;
/** ModuleCapabilities configuration */
configuration?: Uint8Array;
}
/** Represents a ModuleCapabilities. */
class ModuleCapabilities {
/**
* Constructs a new ModuleCapabilities.
* @param [properties] Properties to set
*/
constructor(properties?: fk_app.IModuleCapabilities);
/** ModuleCapabilities position. */
public position: number;
/** ModuleCapabilities name. */
public name: string;
/** ModuleCapabilities sensors. */
public sensors: fk_app.ISensorCapabilities[];
/** ModuleCapabilities path. */
public path: string;
/** ModuleCapabilities flags. */
public flags: number;
/** ModuleCapabilities id. */
public id: Uint8Array;
/** ModuleCapabilities header. */
public header?: (fk_app.IModuleHeader|null);
/** ModuleCapabilities configuration. */
public configuration: Uint8Array;
/**
* Creates a new ModuleCapabilities instance using the specified properties.
* @param [properties] Properties to set
* @returns ModuleCapabilities instance
*/
public static create(properties?: fk_app.IModuleCapabilities): fk_app.ModuleCapabilities;
/**
* Encodes the specified ModuleCapabilities message. Does not implicitly {@link fk_app.ModuleCapabilities.verify|verify} messages.
* @param message ModuleCapabilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: fk_app.IModuleCapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ModuleCapabilities message, length delimited. Does not implicitly {@link fk_app.ModuleCapabilities.verify|verify} messages.
* @param message ModuleCapabilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: fk_app.IModuleCapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ModuleCapabilities message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ModuleCapabilities
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): fk_app.ModuleCapabilities;
/**
* Decodes a ModuleCapabilities message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ModuleCapabilities
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): fk_app.ModuleCapabilities;
/**
* Verifies a ModuleCapabilities message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a ModuleCapabilities message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ModuleCapabilities
*/
public static fromObject(object: { [k: string]: any }): fk_app.ModuleCapabilities;
/**
* Creates a plain object from a ModuleCapabilities message. Also converts values to other types if specified.
* @param message ModuleCapabilities
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: fk_app.ModuleCapabilities, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ModuleCapabilities to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a Capabilities. */
interface ICapabilities {
/** Capabilities version */
version?: number;
/** Capabilities deviceId */
deviceId?: Uint8Array;
/** Capabilities name */
name?: string;
/** Capabilities modules */
modules?: fk_app.IModuleCapabilities[];
/** Capabilities sensors */
sensors?: fk_app.ISensorCapabilities[];
}
/** Represents a Capabilities. */
class Capabilities {
/**
* Constructs a new Capabilities.
* @param [properties] Properties to set
*/
constructor(properties?: fk_app.ICapabilities);
/** Capabilities version. */
public version: number;
/** Capabilities deviceId. */
public deviceId: Uint8Array;
/** Capabilities name. */
public name: string;
/** Capabilities modules. */
public modules: fk_app.IModuleCapabilities[];
/** Capabilities sensors. */
public sensors: fk_app.ISensorCapabilities[];
/**
* Creates a new Capabilities instance using the specified properties.
* @param [properties] Properties to set
* @returns Capabilities instance
*/
public static create(properties?: fk_app.ICapabilities): fk_app.Capabilities;
/**
* Encodes the specified Capabilities message. Does not implicitly {@link fk_app.Capabilities.verify|verify} messages.
* @param message Capabilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: fk_app.ICapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Capabilities message, length delimited. Does not implicitly {@link fk_app.Capabilities.verify|verify} messages.
* @param message Capabilities message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: fk_app.ICapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Capabilities message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Capabilities
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): fk_app.Capabilities;
/**
* Decodes a Capabilities message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Capabilities
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): fk_app.Capabilities;
/**
* Verifies a Capabilities message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a Capabilities message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Capabilities
*/
public static fromObject(object: { [k: string]: any }): fk_app.Capabilities;
/**
* Creates a plain object from a Capabilities message. Also converts values to other types if specified.
* @param message Capabilities
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: fk_app.Capabilities, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Capabilities to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a NetworkInfo. */
interface INetworkInfo {
/** NetworkInfo ssid */
ssid?: string;
/** NetworkInfo password */
password?: string;
/** NetworkInfo create */
create?: boolean;
/** NetworkInfo preferred */
preferred?: boolean;
/** NetworkInfo keeping */
keeping?: boolean;
}
/** Represents a NetworkInfo. */
class NetworkInfo {
/**
* Constructs a new NetworkInfo.
* @param [properties] Properties to set
*/
constructor(properties?: fk_app.INetworkInfo);
/** NetworkInfo ssid. */
public ssid: string;
/** NetworkInfo password. */
public password: string;
/** NetworkInfo create. */
public create: boolean;
/** NetworkInfo preferred. */
public preferred: boolean;
/** NetworkInfo keeping. */
public keeping: boolean;
/**
* Creates a new NetworkInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns NetworkInfo instance
*/
public static create(properties?: fk_app.INetworkInfo): fk_app.NetworkInfo;
/**
* Encodes the specified NetworkInfo message. Does not implicitly {@link fk_app.NetworkInfo.verify|verify} messages.
* @param message NetworkInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: fk_app.INetworkInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified NetworkInfo message, length delimited. Does not implicitly {@link fk_app.NetworkInfo.verify|verify} messages.
* @param message NetworkInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: fk_app.INetworkInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NetworkInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NetworkInfo
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): fk_app.NetworkInfo;
/**
* Decodes a NetworkInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns NetworkInfo
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): fk_app.NetworkInfo;
/**
* Verifies a NetworkInfo message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a NetworkInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns NetworkInfo
*/
public static fromObject(object: { [k: string]: any }): fk_app.NetworkInfo;
/**
* Creates a plain object from a NetworkInfo message. Also converts values to other types if specified.
* @param message NetworkInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: fk_app.NetworkInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this NetworkInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a NetworkSettings. */
interface INetworkSettings {
/** NetworkSettings createAccessPoint */
createAccessPoint?: number;
/** NetworkSettings connected */
connected?: fk_app.INetworkInfo;
/** NetworkSettings macAddress */
macAddress?: string;
/** NetworkSettings modifying */
modifying?: boolean;
/** NetworkSettings supportsUdp */
supportsUdp?: boolean;
/** NetworkSettings networks */
networks?: fk_app.INetworkInfo[];
}
/** Represents a NetworkSettings. */
class NetworkSettings {
/**
* Constructs a new NetworkSettings.
* @param [properties] Properties to set
*/
constructor(properties?: fk_app.INetworkSettings);
/** NetworkSettings createAccessPoint. */
public createAccessPoint: number;
/** NetworkSettings connected. */
public connected?: (fk_app.INetworkInfo|null);
/** NetworkSettings macAddress. */
public macAddress: string;
/** NetworkSettings modifying. */
public modifying: boolean;
/** NetworkSettings supportsUdp. */
public supportsUdp: boolean;
/** NetworkSettings networks. */
public networks: fk_app.INetworkInfo[];
/**
* Creates a new NetworkSettings instance using the specified properties.
* @param [properties] Properties to set
* @returns NetworkSettings instance
*/
public static create(properties?: fk_app.INetworkSettings): fk_app.NetworkSettings;
/**
* Encodes the specified NetworkSettings message. Does not implicitly {@link fk_app.NetworkSettings.verify|verify} messages.
* @param message NetworkSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: fk_app.INetworkSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified NetworkSettings message, length delimited. Does not implicitly {@link fk_app.NetworkSettings.verify|verify} messages.
* @param message NetworkSettings message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: fk_app.INetworkSettings, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NetworkSettings message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NetworkSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): fk_app.NetworkSettings;
/**
* Decodes a NetworkSettings message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns NetworkSettings
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): fk_app.NetworkSettings;
/**
* Verifies a NetworkSettings message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a NetworkSettings message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns NetworkSettings
*/
public static fromObject(object: { [k: string]: any }): fk_app.NetworkSettings;
/**
* Creates a plain object from a NetworkSettings message. Also converts values to other types if specified.
* @param message NetworkSettings
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: fk_app.NetworkSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this NetworkSettings to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a Firmware. */
interface IFirmware {