@tempivo/sensor-beacon 1.1.2 → 1.1.5

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +35 -22
  3. package/android/build.gradle +2 -2
  4. package/android/src/main/java/expo/modules/tempivosensorbeacon/SensorBeaconNative.java +8 -0
  5. package/android/src/main/java/expo/modules/tempivosensorbeacon/TempivoSensorBeaconModule.kt +8 -0
  6. package/android-aar/library/build.gradle +5 -0
  7. package/android-aar/library/src/main/java/com/tempivo/sensor/beacon/EfentoRawConfigTransfer.kt +780 -0
  8. package/android-aar/library/src/main/java/com/tempivo/sensor/beacon/PartnerBleRules.kt +124 -10
  9. package/android-aar/library/src/main/java/com/tempivo/sensor/beacon/SensorBleRuntime.kt +19 -8
  10. package/android-aar/library/src/main/java/com/tempivo/sensor/beacon/TempivoSensorSession.kt +136 -11
  11. package/android-aar/library/src/test/java/com/tempivo/sensor/beacon/PartnerBleRulesTest.kt +209 -0
  12. package/dist/native-module.d.ts +10 -0
  13. package/dist/native-module.js +46 -3
  14. package/dist/partner-dual-range-fixture.d.ts +28 -0
  15. package/dist/partner-dual-range-fixture.js +29 -0
  16. package/dist/profile.js +33 -19
  17. package/dist/proto/decode-proto-config.d.ts +3 -0
  18. package/dist/proto/decode-proto-config.js +46 -0
  19. package/dist/proto/efento-protobuf-descriptor.d.ts +964 -0
  20. package/dist/proto/efento-protobuf-descriptor.js +727 -0
  21. package/dist/proto/partner-from-proto.d.ts +9 -0
  22. package/dist/proto/partner-from-proto.js +187 -0
  23. package/dist/proto/partner-to-proto.d.ts +32 -0
  24. package/dist/proto/partner-to-proto.js +282 -0
  25. package/dist/tempivo-sensor-beacon.aar +0 -0
  26. package/ios/Frameworks/TempivoSensorBridge.xcframework/Info.plist +4 -4
  27. package/ios/Frameworks/TempivoSensorBridge.xcframework/ios-arm64/TempivoSensorBridge.framework/TempivoSensorBridge +0 -0
  28. package/ios/Sources/TempivoSensorBeacon/EfentoRawConfigTransfer.swift +601 -0
  29. package/ios/Sources/TempivoSensorBeacon/TempivoSensorSession.swift +99 -29
  30. package/ios/TempivoSensorBeaconModule.swift +9 -0
  31. package/package.json +6 -2
@@ -0,0 +1,727 @@
1
+ export default {
2
+ "nested": {
3
+ "MeasurementType": {
4
+ "values": {
5
+ "MEASUREMENT_TYPE_NO_SENSOR": 0,
6
+ "MEASUREMENT_TYPE_TEMPERATURE": 1,
7
+ "MEASUREMENT_TYPE_HUMIDITY": 2,
8
+ "MEASUREMENT_TYPE_ATMOSPHERIC_PRESSURE": 3,
9
+ "MEASUREMENT_TYPE_DIFFERENTIAL_PRESSURE": 4,
10
+ "MEASUREMENT_TYPE_OK_ALARM": 5,
11
+ "MEASUREMENT_TYPE_IAQ": 6,
12
+ "MEASUREMENT_TYPE_FLOODING": 7,
13
+ "MEASUREMENT_TYPE_PULSE_CNT": 8,
14
+ "MEASUREMENT_TYPE_ELECTRICITY_METER": 9,
15
+ "MEASUREMENT_TYPE_WATER_METER": 10,
16
+ "MEASUREMENT_TYPE_SOIL_MOISTURE": 11,
17
+ "MEASUREMENT_TYPE_CO_GAS": 12,
18
+ "MEASUREMENT_TYPE_NO2_GAS": 13,
19
+ "MEASUREMENT_TYPE_H2S_GAS": 14,
20
+ "MEASUREMENT_TYPE_AMBIENT_LIGHT": 15,
21
+ "MEASUREMENT_TYPE_PM_1_0": 16,
22
+ "MEASUREMENT_TYPE_PM_2_5": 17,
23
+ "MEASUREMENT_TYPE_PM_10_0": 18,
24
+ "MEASUREMENT_TYPE_NOISE_LEVEL": 19,
25
+ "MEASUREMENT_TYPE_NH3_GAS": 20,
26
+ "MEASUREMENT_TYPE_CH4_GAS": 21,
27
+ "MEASUREMENT_TYPE_HIGH_PRESSURE": 22,
28
+ "MEASUREMENT_TYPE_DISTANCE_MM": 23,
29
+ "MEASUREMENT_TYPE_WATER_METER_ACC_MINOR": 24,
30
+ "MEASUREMENT_TYPE_WATER_METER_ACC_MAJOR": 25,
31
+ "MEASUREMENT_TYPE_CO2_GAS": 26,
32
+ "MEASUREMENT_TYPE_HUMIDITY_ACCURATE": 27,
33
+ "MEASUREMENT_TYPE_STATIC_IAQ": 28,
34
+ "MEASUREMENT_TYPE_CO2_EQUIVALENT": 29,
35
+ "MEASUREMENT_TYPE_BREATH_VOC": 30,
36
+ "MEASUREMENT_TYPE_SHARED_MODEM": 31,
37
+ "MEASUREMENT_TYPE_PERCENTAGE": 32,
38
+ "MEASUREMENT_TYPE_VOLTAGE": 33,
39
+ "MEASUREMENT_TYPE_CURRENT": 34,
40
+ "MEASUREMENT_TYPE_PULSE_CNT_ACC_MINOR": 35,
41
+ "MEASUREMENT_TYPE_PULSE_CNT_ACC_MAJOR": 36,
42
+ "MEASUREMENT_TYPE_ELEC_METER_ACC_MINOR": 37,
43
+ "MEASUREMENT_TYPE_ELEC_METER_ACC_MAJOR": 38,
44
+ "MEASUREMENT_TYPE_PULSE_CNT_ACC_WIDE_MINOR": 39,
45
+ "MEASUREMENT_TYPE_PULSE_CNT_ACC_WIDE_MAJOR": 40,
46
+ "MEASUREMENT_TYPE_CURRENT_PRECISE": 41,
47
+ "MEASUREMENT_TYPE_OUTPUT_CONTROL": 42,
48
+ "MEASUREMENT_TYPE_RESISTANCE": 43
49
+ }
50
+ },
51
+ "ProtoCalibrationParametersRequest": {
52
+ "fields": {
53
+ "calibrationRequest": {
54
+ "type": "uint32",
55
+ "id": 1
56
+ },
57
+ "channelAssignment": {
58
+ "type": "uint32",
59
+ "id": 2
60
+ },
61
+ "parameters": {
62
+ "rule": "repeated",
63
+ "type": "int32",
64
+ "id": 3
65
+ }
66
+ }
67
+ },
68
+ "ProtoOutputControlState": {
69
+ "fields": {
70
+ "channelIndex": {
71
+ "type": "uint32",
72
+ "id": 1
73
+ },
74
+ "channelState": {
75
+ "type": "uint32",
76
+ "id": 2
77
+ }
78
+ }
79
+ },
80
+ "BleAdvertisingPeriodMode": {
81
+ "values": {
82
+ "BLE_ADVERTISING_PERIOD_MODE_UNSPECIFIED": 0,
83
+ "BLE_ADVERTISING_PERIOD_MODE_DEFAULT": 1,
84
+ "BLE_ADVERTISING_PERIOD_MODE_NORMAL": 2,
85
+ "BLE_ADVERTISING_PERIOD_MODE_FAST": 3
86
+ }
87
+ },
88
+ "ProtoBleAdvertisingPeriod": {
89
+ "fields": {
90
+ "mode": {
91
+ "type": "BleAdvertisingPeriodMode",
92
+ "id": 1
93
+ },
94
+ "normal": {
95
+ "type": "uint32",
96
+ "id": 2
97
+ },
98
+ "fast": {
99
+ "type": "uint32",
100
+ "id": 3
101
+ }
102
+ }
103
+ },
104
+ "AdvertisementManufacturerDataFormat": {
105
+ "values": {
106
+ "ADVERTISEMENT_MANUFACTURER_DATA_FORMAT_UNSPECIFIED": 0,
107
+ "ADVERTISEMENT_MANUFACTURER_DATA_FORMAT_V3": 1,
108
+ "ADVERTISEMENT_MANUFACTURER_DATA_FORMAT_V5": 2
109
+ }
110
+ },
111
+ "ProtoNetworkSearch": {
112
+ "fields": {
113
+ "timeSchemaLastRegistrationOk": {
114
+ "rule": "repeated",
115
+ "type": "uint32",
116
+ "id": 1
117
+ },
118
+ "timeSchemaLastRegistrationNotOk": {
119
+ "rule": "repeated",
120
+ "type": "uint32",
121
+ "id": 2
122
+ },
123
+ "disablePeriodBase": {
124
+ "type": "uint32",
125
+ "id": 3
126
+ },
127
+ "counterMax": {
128
+ "type": "uint32",
129
+ "id": 4
130
+ }
131
+ }
132
+ },
133
+ "Condition": {
134
+ "values": {
135
+ "CONDITION_UNSPECIFIED": 0,
136
+ "CONDITION_DISABLED": 1,
137
+ "CONDITION_HIGH_THRESHOLD": 2,
138
+ "CONDITION_LOW_THRESHOLD": 3,
139
+ "CONDITION_DIFF_THRESHOLD": 4,
140
+ "CONDITION_BINARY_CHANGE_STATE": 5,
141
+ "CONDITION_LOGIC_OPERATOR": 6,
142
+ "CONDITION_ON_MEASUREMENT": 7,
143
+ "CONDITION_ON_SENSOR_ERROR": 8
144
+ }
145
+ },
146
+ "LogicOperator": {
147
+ "values": {
148
+ "LOGIC_OPERATOR_UNSPECIFIED": 0,
149
+ "LOGIC_OPERATOR_AND": 1,
150
+ "LOGIC_OPERATOR_OR": 2
151
+ }
152
+ },
153
+ "Action": {
154
+ "values": {
155
+ "ACTION_UNSPECIFIED": 0,
156
+ "ACTION_TRIGGER_TRANSMISSION": 1,
157
+ "ACTION_NO_ACTION": 2,
158
+ "ACTION_TRIGGER_TRANSMISSION_WITH_ACK": 3,
159
+ "ACTION_FAST_ADVERTISING_MODE": 4
160
+ }
161
+ },
162
+ "CalendarType": {
163
+ "values": {
164
+ "CALENDAR_TYPE_UNSPECIFIED": 0,
165
+ "CALENDAR_TYPE_DISABLED": 1,
166
+ "CALENDAR_TYPE_WEEK": 2
167
+ }
168
+ },
169
+ "ProtoCalendar": {
170
+ "fields": {
171
+ "ruleMask": {
172
+ "type": "uint32",
173
+ "id": 1
174
+ },
175
+ "parameters": {
176
+ "rule": "repeated",
177
+ "type": "sint32",
178
+ "id": 2
179
+ },
180
+ "type": {
181
+ "type": "CalendarType",
182
+ "id": 3
183
+ }
184
+ }
185
+ },
186
+ "ProtoRule": {
187
+ "fields": {
188
+ "channelMask": {
189
+ "type": "uint32",
190
+ "id": 1
191
+ },
192
+ "condition": {
193
+ "type": "Condition",
194
+ "id": 2
195
+ },
196
+ "parameters": {
197
+ "rule": "repeated",
198
+ "type": "sint32",
199
+ "id": 3
200
+ },
201
+ "action": {
202
+ "type": "Action",
203
+ "id": 4
204
+ }
205
+ }
206
+ },
207
+ "ProtoConfig": {
208
+ "fields": {
209
+ "serialNumber": {
210
+ "type": "bytes",
211
+ "id": 25
212
+ },
213
+ "payloadSplitInfo": {
214
+ "type": "sint32",
215
+ "id": 44
216
+ },
217
+ "configurationHash": {
218
+ "type": "uint32",
219
+ "id": 21
220
+ },
221
+ "configurationHashTimestamp": {
222
+ "type": "uint32",
223
+ "id": 39
224
+ },
225
+ "configurationErrors": {
226
+ "rule": "repeated",
227
+ "type": "uint32",
228
+ "id": 20
229
+ },
230
+ "configurationErrorTimestamp": {
231
+ "type": "uint32",
232
+ "id": 38
233
+ },
234
+ "channelTypes": {
235
+ "rule": "repeated",
236
+ "type": "MeasurementType",
237
+ "id": 27
238
+ },
239
+ "nvmStatus": {
240
+ "type": "uint32",
241
+ "id": 62
242
+ },
243
+ "currentTime": {
244
+ "type": "uint32",
245
+ "id": 8
246
+ },
247
+ "acceptWithoutTestingRequest": {
248
+ "type": "bool",
249
+ "id": 22
250
+ },
251
+ "configurationRequest": {
252
+ "type": "bool",
253
+ "id": 19
254
+ },
255
+ "deviceInfoRequest": {
256
+ "type": "bool",
257
+ "id": 6
258
+ },
259
+ "extendedConfigurationRequest": {
260
+ "type": "bool",
261
+ "id": 63
262
+ },
263
+ "updateSoftwareRequest": {
264
+ "type": "bool",
265
+ "id": 7
266
+ },
267
+ "clearRuntimeErrorsRequest": {
268
+ "type": "bool",
269
+ "id": 37
270
+ },
271
+ "disableModemRequest": {
272
+ "type": "uint32",
273
+ "id": 18
274
+ },
275
+ "updateModemRequest": {
276
+ "type": "string",
277
+ "id": 45
278
+ },
279
+ "resetMemoryRequest": {
280
+ "type": "bool",
281
+ "id": 30
282
+ },
283
+ "restartMemoryStatsRequest": {
284
+ "type": "bool",
285
+ "id": 64
286
+ },
287
+ "dataTransferStartTimestampRequest": {
288
+ "type": "uint32",
289
+ "id": 65
290
+ },
291
+ "calibrationParametersRequest": {
292
+ "type": "ProtoCalibrationParametersRequest",
293
+ "id": 49
294
+ },
295
+ "setOutputControlStateRequest": {
296
+ "rule": "repeated",
297
+ "type": "ProtoOutputControlState",
298
+ "id": 58
299
+ },
300
+ "measurementPeriodBase": {
301
+ "type": "uint32",
302
+ "id": 2
303
+ },
304
+ "measurementPeriodFactor": {
305
+ "type": "uint32",
306
+ "id": 26
307
+ },
308
+ "bleTurnoffTime": {
309
+ "type": "uint32",
310
+ "id": 4
311
+ },
312
+ "bleTxPowerLevel": {
313
+ "type": "uint32",
314
+ "id": 36
315
+ },
316
+ "encryptionKey": {
317
+ "type": "bytes",
318
+ "id": 54
319
+ },
320
+ "bleAdvertisingPeriod": {
321
+ "type": "ProtoBleAdvertisingPeriod",
322
+ "id": 59
323
+ },
324
+ "advertisementManufacturerDataFormat": {
325
+ "type": "AdvertisementManufacturerDataFormat",
326
+ "id": 60
327
+ },
328
+ "rules": {
329
+ "rule": "repeated",
330
+ "type": "ProtoRule",
331
+ "id": 28
332
+ },
333
+ "calendars": {
334
+ "rule": "repeated",
335
+ "type": "ProtoCalendar",
336
+ "id": 47
337
+ },
338
+ "transmissionInterval": {
339
+ "type": "uint32",
340
+ "id": 3
341
+ },
342
+ "ackInterval": {
343
+ "type": "uint32",
344
+ "id": 5
345
+ },
346
+ "transferLimit": {
347
+ "type": "uint32",
348
+ "id": 9
349
+ },
350
+ "transferLimitTimer": {
351
+ "type": "uint32",
352
+ "id": 10
353
+ },
354
+ "supervisionPeriod": {
355
+ "type": "uint32",
356
+ "id": 29
357
+ },
358
+ "dataServerIp": {
359
+ "type": "string",
360
+ "id": 11
361
+ },
362
+ "dataServerPort": {
363
+ "type": "uint32",
364
+ "id": 12
365
+ },
366
+ "dataEndpoint": {
367
+ "type": "string",
368
+ "id": 32
369
+ },
370
+ "configurationEndpoint": {
371
+ "type": "string",
372
+ "id": 33
373
+ },
374
+ "extendedConfigurationEndpoint": {
375
+ "type": "string",
376
+ "id": 61
377
+ },
378
+ "deviceInfoEndpoint": {
379
+ "type": "string",
380
+ "id": 34
381
+ },
382
+ "timeEndpoint": {
383
+ "type": "string",
384
+ "id": 35
385
+ },
386
+ "updateServerIp": {
387
+ "type": "string",
388
+ "id": 13
389
+ },
390
+ "updateServerPortUdp": {
391
+ "type": "uint32",
392
+ "id": 14
393
+ },
394
+ "updateServerPortCoap": {
395
+ "type": "uint32",
396
+ "id": 15
397
+ },
398
+ "cloudTokenConfig": {
399
+ "type": "uint32",
400
+ "id": 23
401
+ },
402
+ "cloudToken": {
403
+ "type": "string",
404
+ "id": 24
405
+ },
406
+ "cloudTokenCoapOption": {
407
+ "type": "uint32",
408
+ "id": 40
409
+ },
410
+ "payloadSignatureCoapOption": {
411
+ "type": "uint32",
412
+ "id": 41
413
+ },
414
+ "modemIdentificationCoapOption": {
415
+ "type": "uint32",
416
+ "id": 52
417
+ },
418
+ "dnsServerIp": {
419
+ "rule": "repeated",
420
+ "type": "uint32",
421
+ "id": 42
422
+ },
423
+ "dnsTtlConfig": {
424
+ "type": "uint32",
425
+ "id": 43
426
+ },
427
+ "networkTroubleshooting": {
428
+ "type": "uint32",
429
+ "id": 51
430
+ },
431
+ "networkKey": {
432
+ "type": "bytes",
433
+ "id": 53
434
+ },
435
+ "apn": {
436
+ "type": "string",
437
+ "id": 16
438
+ },
439
+ "apnUsername": {
440
+ "type": "string",
441
+ "id": 55
442
+ },
443
+ "apnPassword": {
444
+ "type": "string",
445
+ "id": 56
446
+ },
447
+ "plmnSelection": {
448
+ "type": "uint32",
449
+ "id": 17
450
+ },
451
+ "modemBandsMask": {
452
+ "type": "uint32",
453
+ "id": 31
454
+ },
455
+ "cellularConfigParams": {
456
+ "rule": "repeated",
457
+ "type": "uint32",
458
+ "id": 46
459
+ },
460
+ "networkSearch": {
461
+ "type": "ProtoNetworkSearch",
462
+ "id": 57
463
+ },
464
+ "ledConfig": {
465
+ "rule": "repeated",
466
+ "type": "uint32",
467
+ "id": 50
468
+ }
469
+ },
470
+ "reserved": [
471
+ [
472
+ 1,
473
+ 1
474
+ ],
475
+ [
476
+ 48,
477
+ 48
478
+ ]
479
+ ]
480
+ },
481
+ "ProtoRuntime": {
482
+ "fields": {
483
+ "upTime": {
484
+ "type": "uint32",
485
+ "id": 1
486
+ },
487
+ "messageCounters": {
488
+ "rule": "repeated",
489
+ "type": "uint32",
490
+ "id": 2
491
+ },
492
+ "mcuTemperature": {
493
+ "type": "sint32",
494
+ "id": 3
495
+ },
496
+ "batteryVoltage": {
497
+ "type": "uint32",
498
+ "id": 4
499
+ },
500
+ "minBatteryMcuTemperature": {
501
+ "type": "sint32",
502
+ "id": 5
503
+ },
504
+ "batteryResetTimestamp": {
505
+ "type": "uint32",
506
+ "id": 6
507
+ },
508
+ "maxMcuTemperature": {
509
+ "type": "sint32",
510
+ "id": 7
511
+ },
512
+ "minMcuTemperature": {
513
+ "type": "sint32",
514
+ "id": 8
515
+ },
516
+ "runtimeErrors": {
517
+ "rule": "repeated",
518
+ "type": "uint32",
519
+ "id": 9
520
+ },
521
+ "resetCounter": {
522
+ "type": "uint32",
523
+ "id": 10
524
+ }
525
+ }
526
+ },
527
+ "ProtoUpdateInfo": {
528
+ "fields": {
529
+ "timestamp": {
530
+ "type": "uint32",
531
+ "id": 1
532
+ },
533
+ "status": {
534
+ "type": "uint32",
535
+ "id": 2
536
+ }
537
+ }
538
+ },
539
+ "ModemType": {
540
+ "values": {
541
+ "MODEM_TYPE_UNSPECIFIED": 0,
542
+ "MODEM_TYPE_BC66": 1,
543
+ "MODEM_TYPE_BC66NA": 2,
544
+ "MODEM_TYPE_SHARED_MODEM": 3,
545
+ "MODEM_TYPE_BC660": 4
546
+ }
547
+ },
548
+ "ModemFirmwareVersion": {
549
+ "values": {
550
+ "MODEM_FIRMWARE_VERSION_UNSPECIFIED": 0,
551
+ "MODEM_FIRMWARE_VERSION_READING_ERROR": 1,
552
+ "MODEM_FIRMWARE_VERSION_UNKNOWN": 2,
553
+ "MODEM_FIRMWARE_VERSION_BC660_V1": 3,
554
+ "MODEM_FIRMWARE_VERSION_BC660_V2": 4,
555
+ "MODEM_FIRMWARE_VERSION_BC660_V3": 5,
556
+ "MODEM_FIRMWARE_VERSION_BC660_V4": 6,
557
+ "MODEM_FIRMWARE_VERSION_BC660_V5": 7,
558
+ "MODEM_FIRMWARE_VERSION_BC660_V6": 8,
559
+ "MODEM_FIRMWARE_VERSION_BC660_V7": 9,
560
+ "MODEM_FIRMWARE_VERSION_BC660_V8": 10
561
+ }
562
+ },
563
+ "ProtoModem": {
564
+ "fields": {
565
+ "type": {
566
+ "type": "ModemType",
567
+ "id": 1
568
+ },
569
+ "parameters": {
570
+ "rule": "repeated",
571
+ "type": "sint32",
572
+ "id": 2
573
+ },
574
+ "simCardIdentification": {
575
+ "type": "string",
576
+ "id": 3
577
+ },
578
+ "firmwareVersion": {
579
+ "type": "ModemFirmwareVersion",
580
+ "id": 4
581
+ },
582
+ "modemIdentification": {
583
+ "type": "string",
584
+ "id": 5
585
+ },
586
+ "modemStatistics": {
587
+ "rule": "repeated",
588
+ "type": "uint32",
589
+ "id": 6
590
+ }
591
+ }
592
+ },
593
+ "ProtoDeviceInfo": {
594
+ "fields": {
595
+ "serialNumber": {
596
+ "type": "bytes",
597
+ "id": 1
598
+ },
599
+ "swVersion": {
600
+ "type": "uint32",
601
+ "id": 3
602
+ },
603
+ "commitId": {
604
+ "type": "string",
605
+ "id": 15
606
+ },
607
+ "runtimeInfo": {
608
+ "type": "ProtoRuntime",
609
+ "id": 13
610
+ },
611
+ "memoryStatistics": {
612
+ "rule": "repeated",
613
+ "type": "uint32",
614
+ "id": 17
615
+ },
616
+ "lastUpdateInfo": {
617
+ "type": "ProtoUpdateInfo",
618
+ "id": 18
619
+ },
620
+ "modem": {
621
+ "type": "ProtoModem",
622
+ "id": 14
623
+ },
624
+ "cloudToken": {
625
+ "type": "string",
626
+ "id": 16
627
+ },
628
+ "enclosureTamperAlert": {
629
+ "type": "uint32",
630
+ "id": 19
631
+ }
632
+ },
633
+ "reserved": [
634
+ [
635
+ 2,
636
+ 2
637
+ ],
638
+ [
639
+ 4,
640
+ 4
641
+ ],
642
+ [
643
+ 5,
644
+ 5
645
+ ],
646
+ [
647
+ 6,
648
+ 6
649
+ ],
650
+ [
651
+ 7,
652
+ 7
653
+ ],
654
+ [
655
+ 8,
656
+ 8
657
+ ],
658
+ [
659
+ 9,
660
+ 9
661
+ ],
662
+ [
663
+ 10,
664
+ 10
665
+ ],
666
+ [
667
+ 11,
668
+ 11
669
+ ],
670
+ [
671
+ 12,
672
+ 12
673
+ ]
674
+ ]
675
+ },
676
+ "ProtoCalibrationParameters": {
677
+ "fields": {
678
+ "sensorCode": {
679
+ "type": "uint32",
680
+ "id": 1
681
+ },
682
+ "parameters": {
683
+ "rule": "repeated",
684
+ "type": "sint32",
685
+ "id": 2
686
+ },
687
+ "calibrationTimestamp": {
688
+ "type": "fixed32",
689
+ "id": 3
690
+ },
691
+ "calibrationStatus": {
692
+ "type": "uint32",
693
+ "id": 4
694
+ }
695
+ }
696
+ },
697
+ "ProtoExtendedConfiguration": {
698
+ "fields": {
699
+ "serialNumber": {
700
+ "type": "bytes",
701
+ "id": 1
702
+ },
703
+ "extendedConfigurationHash": {
704
+ "type": "uint32",
705
+ "id": 2
706
+ },
707
+ "laboratoryCalibrationDate": {
708
+ "type": "uint32",
709
+ "id": 7
710
+ },
711
+ "calibrationParameters": {
712
+ "rule": "repeated",
713
+ "type": "ProtoCalibrationParameters",
714
+ "id": 3
715
+ },
716
+ "sensorName": {
717
+ "type": "string",
718
+ "id": 4
719
+ },
720
+ "cloudToken": {
721
+ "type": "string",
722
+ "id": 5
723
+ }
724
+ }
725
+ }
726
+ }
727
+ };