@bikefinder/sdk 0.11.0 → 0.12.0

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/openapi/api.json CHANGED
@@ -10270,9 +10270,6 @@
10270
10270
  {
10271
10271
  "$ref": "#/components/schemas/CurrentObservationConnectionTxPayloadBytesCurrent"
10272
10272
  },
10273
- {
10274
- "$ref": "#/components/schemas/CurrentObservationDeviceBuildFingerprintCurrent"
10275
- },
10276
10273
  {
10277
10274
  "$ref": "#/components/schemas/CurrentObservationDeviceDiagnosticEventCurrent"
10278
10275
  },
@@ -10590,6 +10587,9 @@
10590
10587
  },
10591
10588
  {
10592
10589
  "$ref": "#/components/schemas/CurrentObservationDiagnosticsStreamCompletedCurrent"
10590
+ },
10591
+ {
10592
+ "$ref": "#/components/schemas/CurrentObservationPowerIdleStateCurrent"
10593
10593
  }
10594
10594
  ],
10595
10595
  "discriminator": {
@@ -10638,7 +10638,6 @@
10638
10638
  "connection.totalDnsMs": "#/components/schemas/CurrentObservationConnectionTotalDnsMsCurrent",
10639
10639
  "connection.totalReportMs": "#/components/schemas/CurrentObservationConnectionTotalReportMsCurrent",
10640
10640
  "connection.txPayloadBytes": "#/components/schemas/CurrentObservationConnectionTxPayloadBytesCurrent",
10641
- "device.buildFingerprint": "#/components/schemas/CurrentObservationDeviceBuildFingerprintCurrent",
10642
10641
  "device.diagnosticEvent": "#/components/schemas/CurrentObservationDeviceDiagnosticEventCurrent",
10643
10642
  "device.hardwareVersion": "#/components/schemas/CurrentObservationDeviceHardwareVersionCurrent",
10644
10643
  "events.lost": "#/components/schemas/CurrentObservationEventsLostCurrent",
@@ -10744,7 +10743,8 @@
10744
10743
  "acquisition.completed": "#/components/schemas/CurrentObservationAcquisitionCompletedCurrent",
10745
10744
  "device.selfTestCompleted": "#/components/schemas/CurrentObservationDeviceSelfTestCompletedCurrent",
10746
10745
  "battery.checkResult": "#/components/schemas/CurrentObservationBatteryCheckResultCurrent",
10747
- "diagnostics.streamCompleted": "#/components/schemas/CurrentObservationDiagnosticsStreamCompletedCurrent"
10746
+ "diagnostics.streamCompleted": "#/components/schemas/CurrentObservationDiagnosticsStreamCompletedCurrent",
10747
+ "power.idleState": "#/components/schemas/CurrentObservationPowerIdleStateCurrent"
10748
10748
  }
10749
10749
  }
10750
10750
  },
@@ -16104,66 +16104,6 @@
16104
16104
  },
16105
16105
  "additionalProperties": false
16106
16106
  },
16107
- "CurrentObservationDeviceBuildFingerprintCurrent": {
16108
- "required": [
16109
- "value",
16110
- "deviceId",
16111
- "sourceObservationId",
16112
- "measuredAt",
16113
- "receivedAt",
16114
- "type"
16115
- ],
16116
- "properties": {
16117
- "type": {
16118
- "enum": [
16119
- "device.buildFingerprint"
16120
- ],
16121
- "type": "string"
16122
- },
16123
- "value": {
16124
- "title": "Firmware build fingerprint",
16125
- "maxLength": 256,
16126
- "minLength": 1,
16127
- "pattern": "^[ -~]*$",
16128
- "type": "string",
16129
- "description": "Build fingerprint identifying the tracker firmware build.",
16130
- "x-bf": {
16131
- "definitionId": 48,
16132
- "role": "state",
16133
- "subject": "device",
16134
- "producer": "device",
16135
- "presentation": {
16136
- "displayName": "Firmware build fingerprint",
16137
- "description": "Build fingerprint identifying the tracker firmware build.",
16138
- "hiddenByDefault": true
16139
- },
16140
- "requestScoped": false
16141
- }
16142
- },
16143
- "deviceId": {
16144
- "type": "string"
16145
- },
16146
- "sourceObservationId": {
16147
- "type": "string"
16148
- },
16149
- "measuredAt": {
16150
- "type": "string",
16151
- "format": "date-time"
16152
- },
16153
- "receivedAt": {
16154
- "type": "string",
16155
- "format": "date-time"
16156
- },
16157
- "requestId": {
16158
- "type": [
16159
- "null",
16160
- "integer"
16161
- ],
16162
- "format": "uint32"
16163
- }
16164
- },
16165
- "additionalProperties": false
16166
- },
16167
16107
  "CurrentObservationDeviceDiagnosticEventCurrent": {
16168
16108
  "required": [
16169
16109
  "value",
@@ -21494,7 +21434,7 @@
21494
21434
  },
21495
21435
  "additionalProperties": false
21496
21436
  },
21497
- "CurrentObservationPowerMqttEntriesCurrent": {
21437
+ "CurrentObservationPowerIdleStateCurrent": {
21498
21438
  "required": [
21499
21439
  "value",
21500
21440
  "deviceId",
@@ -21506,85 +21446,167 @@
21506
21446
  "properties": {
21507
21447
  "type": {
21508
21448
  "enum": [
21509
- "power.mqttEntries"
21449
+ "power.idleState"
21510
21450
  ],
21511
21451
  "type": "string"
21512
21452
  },
21513
21453
  "value": {
21514
- "title": "MQTT connection entry count",
21515
- "maximum": 4294967295,
21516
- "minimum": 0,
21517
- "type": "integer",
21518
- "description": "Number of entries into the MQTT connection recorded in the power-activity snapshot.",
21519
- "x-bf": {
21520
- "definitionId": 139,
21521
- "role": "counter",
21522
- "subject": "device",
21523
- "producer": "device",
21524
- "presentation": {
21525
- "displayName": "MQTT connection entry count",
21526
- "description": "Number of entries into the MQTT connection recorded in the power-activity snapshot.",
21527
- "hiddenByDefault": true
21528
- },
21529
- "requestScoped": false
21530
- }
21531
- },
21532
- "deviceId": {
21533
- "type": "string"
21534
- },
21535
- "sourceObservationId": {
21536
- "type": "string"
21537
- },
21538
- "measuredAt": {
21539
- "type": "string",
21540
- "format": "date-time"
21541
- },
21542
- "receivedAt": {
21543
- "type": "string",
21544
- "format": "date-time"
21545
- },
21546
- "requestId": {
21547
- "type": [
21548
- "null",
21549
- "integer"
21550
- ],
21551
- "format": "uint32"
21552
- }
21553
- },
21554
- "additionalProperties": false
21555
- },
21556
- "CurrentObservationPowerMqttMsCurrent": {
21557
- "required": [
21558
- "value",
21559
- "deviceId",
21560
- "sourceObservationId",
21561
- "measuredAt",
21562
- "receivedAt",
21563
- "type"
21564
- ],
21565
- "properties": {
21566
- "type": {
21567
- "enum": [
21568
- "power.mqttMs"
21454
+ "title": "Last controller idle boundary",
21455
+ "required": [
21456
+ "waitBoundMs",
21457
+ "boundaryCount",
21458
+ "uartState",
21459
+ "uartUsage",
21460
+ "uartEnabled",
21461
+ "uartBusy",
21462
+ "i2cState",
21463
+ "i2cUsage",
21464
+ "i2cEnabled",
21465
+ "hfClockDriverState",
21466
+ "gpioInputs",
21467
+ "gpioOutputs",
21468
+ "gpioOutputEnable",
21469
+ "gpioPullUps",
21470
+ "gpioPullDowns",
21471
+ "gpioInputEnable",
21472
+ "gpioteEventPins",
21473
+ "batteryReadyMask",
21474
+ "gaugeVoltageModeMask"
21569
21475
  ],
21570
- "type": "string"
21571
- },
21572
- "value": {
21573
- "title": "MQTT connection total time",
21574
- "maximum": 9007199254740991,
21575
- "minimum": 0,
21576
- "type": "integer",
21577
- "description": "Accumulated time attributed to the MQTT connection, in milliseconds, in the power-activity snapshot.",
21476
+ "type": "object",
21477
+ "properties": {
21478
+ "waitBoundMs": {
21479
+ "maximum": 4294967295,
21480
+ "minimum": 0,
21481
+ "type": "integer"
21482
+ },
21483
+ "boundaryCount": {
21484
+ "maximum": 4294967295,
21485
+ "minimum": 0,
21486
+ "type": "integer"
21487
+ },
21488
+ "uartState": {
21489
+ "enum": [
21490
+ "unknown",
21491
+ "active",
21492
+ "suspended",
21493
+ "off",
21494
+ "suspending"
21495
+ ],
21496
+ "type": "string"
21497
+ },
21498
+ "uartUsage": {
21499
+ "maximum": 2147483647,
21500
+ "minimum": -2147483648,
21501
+ "type": "integer"
21502
+ },
21503
+ "uartEnabled": {
21504
+ "type": "boolean"
21505
+ },
21506
+ "uartBusy": {
21507
+ "type": "boolean"
21508
+ },
21509
+ "i2cState": {
21510
+ "enum": [
21511
+ "unknown",
21512
+ "active",
21513
+ "suspended",
21514
+ "off",
21515
+ "suspending"
21516
+ ],
21517
+ "type": "string"
21518
+ },
21519
+ "i2cUsage": {
21520
+ "maximum": 2147483647,
21521
+ "minimum": -2147483648,
21522
+ "type": "integer"
21523
+ },
21524
+ "i2cEnabled": {
21525
+ "type": "boolean"
21526
+ },
21527
+ "hfClockDriverState": {
21528
+ "maximum": 3,
21529
+ "minimum": 0,
21530
+ "type": "integer"
21531
+ },
21532
+ "gpioInputs": {
21533
+ "maximum": 4294967295,
21534
+ "minimum": 0,
21535
+ "type": "integer"
21536
+ },
21537
+ "gpioOutputs": {
21538
+ "maximum": 4294967295,
21539
+ "minimum": 0,
21540
+ "type": "integer"
21541
+ },
21542
+ "gpioOutputEnable": {
21543
+ "maximum": 4294967295,
21544
+ "minimum": 0,
21545
+ "type": "integer"
21546
+ },
21547
+ "gpioPullUps": {
21548
+ "maximum": 4294967295,
21549
+ "minimum": 0,
21550
+ "type": "integer"
21551
+ },
21552
+ "gpioPullDowns": {
21553
+ "maximum": 4294967295,
21554
+ "minimum": 0,
21555
+ "type": "integer"
21556
+ },
21557
+ "gpioInputEnable": {
21558
+ "maximum": 4294967295,
21559
+ "minimum": 0,
21560
+ "type": "integer"
21561
+ },
21562
+ "gpioteEventPins": {
21563
+ "maximum": 4294967295,
21564
+ "minimum": 0,
21565
+ "type": "integer"
21566
+ },
21567
+ "batteryReadyMask": {
21568
+ "maximum": 4294967295,
21569
+ "minimum": 0,
21570
+ "type": "integer"
21571
+ },
21572
+ "gaugeVoltageModeMask": {
21573
+ "maximum": 4294967295,
21574
+ "minimum": 0,
21575
+ "type": "integer"
21576
+ }
21577
+ },
21578
+ "additionalProperties": false,
21579
+ "description": "Snapshot taken before the last nonzero controller wait, with its original evidence time. Device PM states and usage counts, UART/I2C enable bits, GPIO configuration, dedicated GPIOTE event pins, and battery configuration-owner masks are passive reads. The HF clock field is the Zephyr clock driver status (0 starting, 1 off, 2 on, 3 unknown), not a measurement of all hardware clock consumers. This is a boundary sample, not proof of continuous sleep or measured energy. No polling timer or automatic publication is added.",
21578
21580
  "x-bf": {
21579
- "definitionId": 140,
21580
- "role": "counter",
21581
+ "definitionId": 176,
21582
+ "role": "state",
21581
21583
  "subject": "device",
21582
21584
  "producer": "device",
21583
21585
  "presentation": {
21584
- "displayName": "MQTT connection total time",
21585
- "description": "Accumulated time attributed to the MQTT connection, in milliseconds, in the power-activity snapshot.",
21586
+ "displayName": "Last controller idle boundary",
21586
21587
  "hiddenByDefault": true,
21587
- "unit": "ms"
21588
+ "description": "Snapshot taken before the last nonzero controller wait, with its original evidence time. Device PM states and usage counts, UART/I2C enable bits, GPIO configuration, dedicated GPIOTE event pins, and battery configuration-owner masks are passive reads. The HF clock field is the Zephyr clock driver status (0 starting, 1 off, 2 on, 3 unknown), not a measurement of all hardware clock consumers. This is a boundary sample, not proof of continuous sleep or measured energy. No polling timer or automatic publication is added.",
21589
+ "formatter": "fields",
21590
+ "fields": [
21591
+ {
21592
+ "path": "uartState"
21593
+ },
21594
+ {
21595
+ "path": "uartUsage"
21596
+ },
21597
+ {
21598
+ "path": "i2cState"
21599
+ },
21600
+ {
21601
+ "path": "i2cUsage"
21602
+ },
21603
+ {
21604
+ "path": "uartEnabled"
21605
+ },
21606
+ {
21607
+ "path": "gaugeVoltageModeMask"
21608
+ }
21609
+ ]
21588
21610
  },
21589
21611
  "requestScoped": false
21590
21612
  }
@@ -21613,7 +21635,7 @@
21613
21635
  },
21614
21636
  "additionalProperties": false
21615
21637
  },
21616
- "CurrentObservationPowerPsmEntriesCurrent": {
21638
+ "CurrentObservationPowerMqttEntriesCurrent": {
21617
21639
  "required": [
21618
21640
  "value",
21619
21641
  "deviceId",
@@ -21625,24 +21647,24 @@
21625
21647
  "properties": {
21626
21648
  "type": {
21627
21649
  "enum": [
21628
- "power.psmEntries"
21650
+ "power.mqttEntries"
21629
21651
  ],
21630
21652
  "type": "string"
21631
21653
  },
21632
21654
  "value": {
21633
- "title": "Modem power saving entry count",
21655
+ "title": "MQTT connection entry count",
21634
21656
  "maximum": 4294967295,
21635
21657
  "minimum": 0,
21636
21658
  "type": "integer",
21637
- "description": "Number of entries into modem power-saving mode recorded in the power-activity snapshot.",
21659
+ "description": "Number of entries into the MQTT connection recorded in the power-activity snapshot.",
21638
21660
  "x-bf": {
21639
- "definitionId": 141,
21661
+ "definitionId": 139,
21640
21662
  "role": "counter",
21641
21663
  "subject": "device",
21642
21664
  "producer": "device",
21643
21665
  "presentation": {
21644
- "displayName": "Modem power saving entry count",
21645
- "description": "Number of entries into modem power-saving mode recorded in the power-activity snapshot.",
21666
+ "displayName": "MQTT connection entry count",
21667
+ "description": "Number of entries into the MQTT connection recorded in the power-activity snapshot.",
21646
21668
  "hiddenByDefault": true
21647
21669
  },
21648
21670
  "requestScoped": false
@@ -21672,7 +21694,7 @@
21672
21694
  },
21673
21695
  "additionalProperties": false
21674
21696
  },
21675
- "CurrentObservationPowerPsmMsCurrent": {
21697
+ "CurrentObservationPowerMqttMsCurrent": {
21676
21698
  "required": [
21677
21699
  "value",
21678
21700
  "deviceId",
@@ -21684,24 +21706,24 @@
21684
21706
  "properties": {
21685
21707
  "type": {
21686
21708
  "enum": [
21687
- "power.psmMs"
21709
+ "power.mqttMs"
21688
21710
  ],
21689
21711
  "type": "string"
21690
21712
  },
21691
21713
  "value": {
21692
- "title": "Modem power saving total time",
21714
+ "title": "MQTT connection total time",
21693
21715
  "maximum": 9007199254740991,
21694
21716
  "minimum": 0,
21695
21717
  "type": "integer",
21696
- "description": "Accumulated time attributed to modem power-saving mode, in milliseconds, in the power-activity snapshot.",
21718
+ "description": "Accumulated time attributed to the MQTT connection, in milliseconds, in the power-activity snapshot.",
21697
21719
  "x-bf": {
21698
- "definitionId": 143,
21720
+ "definitionId": 140,
21699
21721
  "role": "counter",
21700
21722
  "subject": "device",
21701
21723
  "producer": "device",
21702
21724
  "presentation": {
21703
- "displayName": "Modem power saving total time",
21704
- "description": "Accumulated time attributed to modem power-saving mode, in milliseconds, in the power-activity snapshot.",
21725
+ "displayName": "MQTT connection total time",
21726
+ "description": "Accumulated time attributed to the MQTT connection, in milliseconds, in the power-activity snapshot.",
21705
21727
  "hiddenByDefault": true,
21706
21728
  "unit": "ms"
21707
21729
  },
@@ -21732,7 +21754,7 @@
21732
21754
  },
21733
21755
  "additionalProperties": false
21734
21756
  },
21735
- "CurrentObservationPowerRrcEntriesCurrent": {
21757
+ "CurrentObservationPowerPsmEntriesCurrent": {
21736
21758
  "required": [
21737
21759
  "value",
21738
21760
  "deviceId",
@@ -21744,24 +21766,143 @@
21744
21766
  "properties": {
21745
21767
  "type": {
21746
21768
  "enum": [
21747
- "power.rrcEntries"
21769
+ "power.psmEntries"
21748
21770
  ],
21749
21771
  "type": "string"
21750
21772
  },
21751
21773
  "value": {
21752
- "title": "Cellular radio entry count",
21774
+ "title": "Modem power saving entry count",
21753
21775
  "maximum": 4294967295,
21754
21776
  "minimum": 0,
21755
21777
  "type": "integer",
21756
- "description": "Number of entries into the cellular radio connection (RRC) recorded in the power-activity snapshot.",
21778
+ "description": "Number of entries into modem power-saving mode recorded in the power-activity snapshot.",
21757
21779
  "x-bf": {
21758
- "definitionId": 146,
21780
+ "definitionId": 141,
21759
21781
  "role": "counter",
21760
21782
  "subject": "device",
21761
21783
  "producer": "device",
21762
21784
  "presentation": {
21763
- "displayName": "Cellular radio entry count",
21764
- "description": "Number of entries into the cellular radio connection (RRC) recorded in the power-activity snapshot.",
21785
+ "displayName": "Modem power saving entry count",
21786
+ "description": "Number of entries into modem power-saving mode recorded in the power-activity snapshot.",
21787
+ "hiddenByDefault": true
21788
+ },
21789
+ "requestScoped": false
21790
+ }
21791
+ },
21792
+ "deviceId": {
21793
+ "type": "string"
21794
+ },
21795
+ "sourceObservationId": {
21796
+ "type": "string"
21797
+ },
21798
+ "measuredAt": {
21799
+ "type": "string",
21800
+ "format": "date-time"
21801
+ },
21802
+ "receivedAt": {
21803
+ "type": "string",
21804
+ "format": "date-time"
21805
+ },
21806
+ "requestId": {
21807
+ "type": [
21808
+ "null",
21809
+ "integer"
21810
+ ],
21811
+ "format": "uint32"
21812
+ }
21813
+ },
21814
+ "additionalProperties": false
21815
+ },
21816
+ "CurrentObservationPowerPsmMsCurrent": {
21817
+ "required": [
21818
+ "value",
21819
+ "deviceId",
21820
+ "sourceObservationId",
21821
+ "measuredAt",
21822
+ "receivedAt",
21823
+ "type"
21824
+ ],
21825
+ "properties": {
21826
+ "type": {
21827
+ "enum": [
21828
+ "power.psmMs"
21829
+ ],
21830
+ "type": "string"
21831
+ },
21832
+ "value": {
21833
+ "title": "Modem power saving total time",
21834
+ "maximum": 9007199254740991,
21835
+ "minimum": 0,
21836
+ "type": "integer",
21837
+ "description": "Accumulated time attributed to modem power-saving mode, in milliseconds, in the power-activity snapshot.",
21838
+ "x-bf": {
21839
+ "definitionId": 143,
21840
+ "role": "counter",
21841
+ "subject": "device",
21842
+ "producer": "device",
21843
+ "presentation": {
21844
+ "displayName": "Modem power saving total time",
21845
+ "description": "Accumulated time attributed to modem power-saving mode, in milliseconds, in the power-activity snapshot.",
21846
+ "hiddenByDefault": true,
21847
+ "unit": "ms"
21848
+ },
21849
+ "requestScoped": false
21850
+ }
21851
+ },
21852
+ "deviceId": {
21853
+ "type": "string"
21854
+ },
21855
+ "sourceObservationId": {
21856
+ "type": "string"
21857
+ },
21858
+ "measuredAt": {
21859
+ "type": "string",
21860
+ "format": "date-time"
21861
+ },
21862
+ "receivedAt": {
21863
+ "type": "string",
21864
+ "format": "date-time"
21865
+ },
21866
+ "requestId": {
21867
+ "type": [
21868
+ "null",
21869
+ "integer"
21870
+ ],
21871
+ "format": "uint32"
21872
+ }
21873
+ },
21874
+ "additionalProperties": false
21875
+ },
21876
+ "CurrentObservationPowerRrcEntriesCurrent": {
21877
+ "required": [
21878
+ "value",
21879
+ "deviceId",
21880
+ "sourceObservationId",
21881
+ "measuredAt",
21882
+ "receivedAt",
21883
+ "type"
21884
+ ],
21885
+ "properties": {
21886
+ "type": {
21887
+ "enum": [
21888
+ "power.rrcEntries"
21889
+ ],
21890
+ "type": "string"
21891
+ },
21892
+ "value": {
21893
+ "title": "Cellular radio entry count",
21894
+ "maximum": 4294967295,
21895
+ "minimum": 0,
21896
+ "type": "integer",
21897
+ "description": "Number of entries into the cellular radio connection (RRC) recorded in the power-activity snapshot.",
21898
+ "x-bf": {
21899
+ "definitionId": 146,
21900
+ "role": "counter",
21901
+ "subject": "device",
21902
+ "producer": "device",
21903
+ "presentation": {
21904
+ "displayName": "Cellular radio entry count",
21905
+ "description": "Number of entries into the cellular radio connection (RRC) recorded in the power-activity snapshot.",
21765
21906
  "hiddenByDefault": true
21766
21907
  },
21767
21908
  "requestScoped": false
@@ -24613,26 +24754,6 @@
24613
24754
  "requestScoped": false
24614
24755
  }
24615
24756
  },
24616
- "device.buildFingerprint": {
24617
- "title": "Firmware build fingerprint",
24618
- "maxLength": 256,
24619
- "minLength": 1,
24620
- "pattern": "^[ -~]*$",
24621
- "type": "string",
24622
- "description": "Build fingerprint identifying the tracker firmware build.",
24623
- "x-bf": {
24624
- "definitionId": 48,
24625
- "role": "state",
24626
- "subject": "device",
24627
- "producer": "device",
24628
- "presentation": {
24629
- "displayName": "Firmware build fingerprint",
24630
- "description": "Build fingerprint identifying the tracker firmware build.",
24631
- "hiddenByDefault": true
24632
- },
24633
- "requestScoped": false
24634
- }
24635
- },
24636
24757
  "device.diagnosticEvent": {
24637
24758
  "title": "Device diagnostic event",
24638
24759
  "required": [
@@ -28337,6 +28458,167 @@
28337
28458
  },
28338
28459
  "requestScoped": true
28339
28460
  }
28461
+ },
28462
+ "power.idleState": {
28463
+ "title": "Last controller idle boundary",
28464
+ "required": [
28465
+ "waitBoundMs",
28466
+ "boundaryCount",
28467
+ "uartState",
28468
+ "uartUsage",
28469
+ "uartEnabled",
28470
+ "uartBusy",
28471
+ "i2cState",
28472
+ "i2cUsage",
28473
+ "i2cEnabled",
28474
+ "hfClockDriverState",
28475
+ "gpioInputs",
28476
+ "gpioOutputs",
28477
+ "gpioOutputEnable",
28478
+ "gpioPullUps",
28479
+ "gpioPullDowns",
28480
+ "gpioInputEnable",
28481
+ "gpioteEventPins",
28482
+ "batteryReadyMask",
28483
+ "gaugeVoltageModeMask"
28484
+ ],
28485
+ "type": "object",
28486
+ "properties": {
28487
+ "waitBoundMs": {
28488
+ "maximum": 4294967295,
28489
+ "minimum": 0,
28490
+ "type": "integer"
28491
+ },
28492
+ "boundaryCount": {
28493
+ "maximum": 4294967295,
28494
+ "minimum": 0,
28495
+ "type": "integer"
28496
+ },
28497
+ "uartState": {
28498
+ "enum": [
28499
+ "unknown",
28500
+ "active",
28501
+ "suspended",
28502
+ "off",
28503
+ "suspending"
28504
+ ],
28505
+ "type": "string"
28506
+ },
28507
+ "uartUsage": {
28508
+ "maximum": 2147483647,
28509
+ "minimum": -2147483648,
28510
+ "type": "integer"
28511
+ },
28512
+ "uartEnabled": {
28513
+ "type": "boolean"
28514
+ },
28515
+ "uartBusy": {
28516
+ "type": "boolean"
28517
+ },
28518
+ "i2cState": {
28519
+ "enum": [
28520
+ "unknown",
28521
+ "active",
28522
+ "suspended",
28523
+ "off",
28524
+ "suspending"
28525
+ ],
28526
+ "type": "string"
28527
+ },
28528
+ "i2cUsage": {
28529
+ "maximum": 2147483647,
28530
+ "minimum": -2147483648,
28531
+ "type": "integer"
28532
+ },
28533
+ "i2cEnabled": {
28534
+ "type": "boolean"
28535
+ },
28536
+ "hfClockDriverState": {
28537
+ "maximum": 3,
28538
+ "minimum": 0,
28539
+ "type": "integer"
28540
+ },
28541
+ "gpioInputs": {
28542
+ "maximum": 4294967295,
28543
+ "minimum": 0,
28544
+ "type": "integer"
28545
+ },
28546
+ "gpioOutputs": {
28547
+ "maximum": 4294967295,
28548
+ "minimum": 0,
28549
+ "type": "integer"
28550
+ },
28551
+ "gpioOutputEnable": {
28552
+ "maximum": 4294967295,
28553
+ "minimum": 0,
28554
+ "type": "integer"
28555
+ },
28556
+ "gpioPullUps": {
28557
+ "maximum": 4294967295,
28558
+ "minimum": 0,
28559
+ "type": "integer"
28560
+ },
28561
+ "gpioPullDowns": {
28562
+ "maximum": 4294967295,
28563
+ "minimum": 0,
28564
+ "type": "integer"
28565
+ },
28566
+ "gpioInputEnable": {
28567
+ "maximum": 4294967295,
28568
+ "minimum": 0,
28569
+ "type": "integer"
28570
+ },
28571
+ "gpioteEventPins": {
28572
+ "maximum": 4294967295,
28573
+ "minimum": 0,
28574
+ "type": "integer"
28575
+ },
28576
+ "batteryReadyMask": {
28577
+ "maximum": 4294967295,
28578
+ "minimum": 0,
28579
+ "type": "integer"
28580
+ },
28581
+ "gaugeVoltageModeMask": {
28582
+ "maximum": 4294967295,
28583
+ "minimum": 0,
28584
+ "type": "integer"
28585
+ }
28586
+ },
28587
+ "additionalProperties": false,
28588
+ "description": "Snapshot taken before the last nonzero controller wait, with its original evidence time. Device PM states and usage counts, UART/I2C enable bits, GPIO configuration, dedicated GPIOTE event pins, and battery configuration-owner masks are passive reads. The HF clock field is the Zephyr clock driver status (0 starting, 1 off, 2 on, 3 unknown), not a measurement of all hardware clock consumers. This is a boundary sample, not proof of continuous sleep or measured energy. No polling timer or automatic publication is added.",
28589
+ "x-bf": {
28590
+ "definitionId": 176,
28591
+ "role": "state",
28592
+ "subject": "device",
28593
+ "producer": "device",
28594
+ "presentation": {
28595
+ "displayName": "Last controller idle boundary",
28596
+ "hiddenByDefault": true,
28597
+ "description": "Snapshot taken before the last nonzero controller wait, with its original evidence time. Device PM states and usage counts, UART/I2C enable bits, GPIO configuration, dedicated GPIOTE event pins, and battery configuration-owner masks are passive reads. The HF clock field is the Zephyr clock driver status (0 starting, 1 off, 2 on, 3 unknown), not a measurement of all hardware clock consumers. This is a boundary sample, not proof of continuous sleep or measured energy. No polling timer or automatic publication is added.",
28598
+ "formatter": "fields",
28599
+ "fields": [
28600
+ {
28601
+ "path": "uartState"
28602
+ },
28603
+ {
28604
+ "path": "uartUsage"
28605
+ },
28606
+ {
28607
+ "path": "i2cState"
28608
+ },
28609
+ {
28610
+ "path": "i2cUsage"
28611
+ },
28612
+ {
28613
+ "path": "uartEnabled"
28614
+ },
28615
+ {
28616
+ "path": "gaugeVoltageModeMask"
28617
+ }
28618
+ ]
28619
+ },
28620
+ "requestScoped": false
28621
+ }
28340
28622
  }
28341
28623
  },
28342
28624
  "additionalProperties": false,
@@ -33461,9 +33743,6 @@
33461
33743
  {
33462
33744
  "$ref": "#/components/schemas/ObservationConnectionTxPayloadBytesObservation"
33463
33745
  },
33464
- {
33465
- "$ref": "#/components/schemas/ObservationDeviceBuildFingerprintObservation"
33466
- },
33467
33746
  {
33468
33747
  "$ref": "#/components/schemas/ObservationDeviceDiagnosticEventObservation"
33469
33748
  },
@@ -33781,6 +34060,9 @@
33781
34060
  },
33782
34061
  {
33783
34062
  "$ref": "#/components/schemas/ObservationDiagnosticsStreamCompletedObservation"
34063
+ },
34064
+ {
34065
+ "$ref": "#/components/schemas/ObservationPowerIdleStateObservation"
33784
34066
  }
33785
34067
  ],
33786
34068
  "discriminator": {
@@ -33829,7 +34111,6 @@
33829
34111
  "connection.totalDnsMs": "#/components/schemas/ObservationConnectionTotalDnsMsObservation",
33830
34112
  "connection.totalReportMs": "#/components/schemas/ObservationConnectionTotalReportMsObservation",
33831
34113
  "connection.txPayloadBytes": "#/components/schemas/ObservationConnectionTxPayloadBytesObservation",
33832
- "device.buildFingerprint": "#/components/schemas/ObservationDeviceBuildFingerprintObservation",
33833
34114
  "device.diagnosticEvent": "#/components/schemas/ObservationDeviceDiagnosticEventObservation",
33834
34115
  "device.hardwareVersion": "#/components/schemas/ObservationDeviceHardwareVersionObservation",
33835
34116
  "events.lost": "#/components/schemas/ObservationEventsLostObservation",
@@ -33935,7 +34216,8 @@
33935
34216
  "acquisition.completed": "#/components/schemas/ObservationAcquisitionCompletedObservation",
33936
34217
  "device.selfTestCompleted": "#/components/schemas/ObservationDeviceSelfTestCompletedObservation",
33937
34218
  "battery.checkResult": "#/components/schemas/ObservationBatteryCheckResultObservation",
33938
- "diagnostics.streamCompleted": "#/components/schemas/ObservationDiagnosticsStreamCompletedObservation"
34219
+ "diagnostics.streamCompleted": "#/components/schemas/ObservationDiagnosticsStreamCompletedObservation",
34220
+ "power.idleState": "#/components/schemas/ObservationPowerIdleStateObservation"
33939
34221
  }
33940
34222
  }
33941
34223
  },
@@ -39585,71 +39867,6 @@
39585
39867
  },
39586
39868
  "additionalProperties": false
39587
39869
  },
39588
- "ObservationDeviceBuildFingerprintObservation": {
39589
- "required": [
39590
- "value",
39591
- "deviceId",
39592
- "observationId",
39593
- "receivedAt",
39594
- "ageMs",
39595
- "measuredAt",
39596
- "type"
39597
- ],
39598
- "properties": {
39599
- "type": {
39600
- "enum": [
39601
- "device.buildFingerprint"
39602
- ],
39603
- "type": "string"
39604
- },
39605
- "value": {
39606
- "title": "Firmware build fingerprint",
39607
- "maxLength": 256,
39608
- "minLength": 1,
39609
- "pattern": "^[ -~]*$",
39610
- "type": "string",
39611
- "description": "Build fingerprint identifying the tracker firmware build.",
39612
- "x-bf": {
39613
- "definitionId": 48,
39614
- "role": "state",
39615
- "subject": "device",
39616
- "producer": "device",
39617
- "presentation": {
39618
- "displayName": "Firmware build fingerprint",
39619
- "description": "Build fingerprint identifying the tracker firmware build.",
39620
- "hiddenByDefault": true
39621
- },
39622
- "requestScoped": false
39623
- }
39624
- },
39625
- "deviceId": {
39626
- "type": "string"
39627
- },
39628
- "observationId": {
39629
- "type": "string"
39630
- },
39631
- "receivedAt": {
39632
- "type": "string",
39633
- "format": "date-time"
39634
- },
39635
- "ageMs": {
39636
- "type": "integer",
39637
- "format": "uint64"
39638
- },
39639
- "measuredAt": {
39640
- "type": "string",
39641
- "format": "date-time"
39642
- },
39643
- "requestId": {
39644
- "type": [
39645
- "null",
39646
- "integer"
39647
- ],
39648
- "format": "uint32"
39649
- }
39650
- },
39651
- "additionalProperties": false
39652
- },
39653
39870
  "ObservationDeviceDiagnosticEventObservation": {
39654
39871
  "required": [
39655
39872
  "value",
@@ -45377,6 +45594,212 @@
45377
45594
  },
45378
45595
  "additionalProperties": false
45379
45596
  },
45597
+ "ObservationPowerIdleStateObservation": {
45598
+ "required": [
45599
+ "value",
45600
+ "deviceId",
45601
+ "observationId",
45602
+ "receivedAt",
45603
+ "ageMs",
45604
+ "measuredAt",
45605
+ "type"
45606
+ ],
45607
+ "properties": {
45608
+ "type": {
45609
+ "enum": [
45610
+ "power.idleState"
45611
+ ],
45612
+ "type": "string"
45613
+ },
45614
+ "value": {
45615
+ "title": "Last controller idle boundary",
45616
+ "required": [
45617
+ "waitBoundMs",
45618
+ "boundaryCount",
45619
+ "uartState",
45620
+ "uartUsage",
45621
+ "uartEnabled",
45622
+ "uartBusy",
45623
+ "i2cState",
45624
+ "i2cUsage",
45625
+ "i2cEnabled",
45626
+ "hfClockDriverState",
45627
+ "gpioInputs",
45628
+ "gpioOutputs",
45629
+ "gpioOutputEnable",
45630
+ "gpioPullUps",
45631
+ "gpioPullDowns",
45632
+ "gpioInputEnable",
45633
+ "gpioteEventPins",
45634
+ "batteryReadyMask",
45635
+ "gaugeVoltageModeMask"
45636
+ ],
45637
+ "type": "object",
45638
+ "properties": {
45639
+ "waitBoundMs": {
45640
+ "maximum": 4294967295,
45641
+ "minimum": 0,
45642
+ "type": "integer"
45643
+ },
45644
+ "boundaryCount": {
45645
+ "maximum": 4294967295,
45646
+ "minimum": 0,
45647
+ "type": "integer"
45648
+ },
45649
+ "uartState": {
45650
+ "enum": [
45651
+ "unknown",
45652
+ "active",
45653
+ "suspended",
45654
+ "off",
45655
+ "suspending"
45656
+ ],
45657
+ "type": "string"
45658
+ },
45659
+ "uartUsage": {
45660
+ "maximum": 2147483647,
45661
+ "minimum": -2147483648,
45662
+ "type": "integer"
45663
+ },
45664
+ "uartEnabled": {
45665
+ "type": "boolean"
45666
+ },
45667
+ "uartBusy": {
45668
+ "type": "boolean"
45669
+ },
45670
+ "i2cState": {
45671
+ "enum": [
45672
+ "unknown",
45673
+ "active",
45674
+ "suspended",
45675
+ "off",
45676
+ "suspending"
45677
+ ],
45678
+ "type": "string"
45679
+ },
45680
+ "i2cUsage": {
45681
+ "maximum": 2147483647,
45682
+ "minimum": -2147483648,
45683
+ "type": "integer"
45684
+ },
45685
+ "i2cEnabled": {
45686
+ "type": "boolean"
45687
+ },
45688
+ "hfClockDriverState": {
45689
+ "maximum": 3,
45690
+ "minimum": 0,
45691
+ "type": "integer"
45692
+ },
45693
+ "gpioInputs": {
45694
+ "maximum": 4294967295,
45695
+ "minimum": 0,
45696
+ "type": "integer"
45697
+ },
45698
+ "gpioOutputs": {
45699
+ "maximum": 4294967295,
45700
+ "minimum": 0,
45701
+ "type": "integer"
45702
+ },
45703
+ "gpioOutputEnable": {
45704
+ "maximum": 4294967295,
45705
+ "minimum": 0,
45706
+ "type": "integer"
45707
+ },
45708
+ "gpioPullUps": {
45709
+ "maximum": 4294967295,
45710
+ "minimum": 0,
45711
+ "type": "integer"
45712
+ },
45713
+ "gpioPullDowns": {
45714
+ "maximum": 4294967295,
45715
+ "minimum": 0,
45716
+ "type": "integer"
45717
+ },
45718
+ "gpioInputEnable": {
45719
+ "maximum": 4294967295,
45720
+ "minimum": 0,
45721
+ "type": "integer"
45722
+ },
45723
+ "gpioteEventPins": {
45724
+ "maximum": 4294967295,
45725
+ "minimum": 0,
45726
+ "type": "integer"
45727
+ },
45728
+ "batteryReadyMask": {
45729
+ "maximum": 4294967295,
45730
+ "minimum": 0,
45731
+ "type": "integer"
45732
+ },
45733
+ "gaugeVoltageModeMask": {
45734
+ "maximum": 4294967295,
45735
+ "minimum": 0,
45736
+ "type": "integer"
45737
+ }
45738
+ },
45739
+ "additionalProperties": false,
45740
+ "description": "Snapshot taken before the last nonzero controller wait, with its original evidence time. Device PM states and usage counts, UART/I2C enable bits, GPIO configuration, dedicated GPIOTE event pins, and battery configuration-owner masks are passive reads. The HF clock field is the Zephyr clock driver status (0 starting, 1 off, 2 on, 3 unknown), not a measurement of all hardware clock consumers. This is a boundary sample, not proof of continuous sleep or measured energy. No polling timer or automatic publication is added.",
45741
+ "x-bf": {
45742
+ "definitionId": 176,
45743
+ "role": "state",
45744
+ "subject": "device",
45745
+ "producer": "device",
45746
+ "presentation": {
45747
+ "displayName": "Last controller idle boundary",
45748
+ "hiddenByDefault": true,
45749
+ "description": "Snapshot taken before the last nonzero controller wait, with its original evidence time. Device PM states and usage counts, UART/I2C enable bits, GPIO configuration, dedicated GPIOTE event pins, and battery configuration-owner masks are passive reads. The HF clock field is the Zephyr clock driver status (0 starting, 1 off, 2 on, 3 unknown), not a measurement of all hardware clock consumers. This is a boundary sample, not proof of continuous sleep or measured energy. No polling timer or automatic publication is added.",
45750
+ "formatter": "fields",
45751
+ "fields": [
45752
+ {
45753
+ "path": "uartState"
45754
+ },
45755
+ {
45756
+ "path": "uartUsage"
45757
+ },
45758
+ {
45759
+ "path": "i2cState"
45760
+ },
45761
+ {
45762
+ "path": "i2cUsage"
45763
+ },
45764
+ {
45765
+ "path": "uartEnabled"
45766
+ },
45767
+ {
45768
+ "path": "gaugeVoltageModeMask"
45769
+ }
45770
+ ]
45771
+ },
45772
+ "requestScoped": false
45773
+ }
45774
+ },
45775
+ "deviceId": {
45776
+ "type": "string"
45777
+ },
45778
+ "observationId": {
45779
+ "type": "string"
45780
+ },
45781
+ "receivedAt": {
45782
+ "type": "string",
45783
+ "format": "date-time"
45784
+ },
45785
+ "ageMs": {
45786
+ "type": "integer",
45787
+ "format": "uint64"
45788
+ },
45789
+ "measuredAt": {
45790
+ "type": "string",
45791
+ "format": "date-time"
45792
+ },
45793
+ "requestId": {
45794
+ "type": [
45795
+ "null",
45796
+ "integer"
45797
+ ],
45798
+ "format": "uint32"
45799
+ }
45800
+ },
45801
+ "additionalProperties": false
45802
+ },
45380
45803
  "ObservationPowerMqttEntriesObservation": {
45381
45804
  "required": [
45382
45805
  "value",
@@ -46993,6 +47416,185 @@
46993
47416
  "gnss"
46994
47417
  ]
46995
47418
  },
47419
+ "PowerIdleStateValue": {
47420
+ "title": "Last controller idle boundary",
47421
+ "required": [
47422
+ "waitBoundMs",
47423
+ "boundaryCount",
47424
+ "uartState",
47425
+ "uartUsage",
47426
+ "uartEnabled",
47427
+ "uartBusy",
47428
+ "i2cState",
47429
+ "i2cUsage",
47430
+ "i2cEnabled",
47431
+ "hfClockDriverState",
47432
+ "gpioInputs",
47433
+ "gpioOutputs",
47434
+ "gpioOutputEnable",
47435
+ "gpioPullUps",
47436
+ "gpioPullDowns",
47437
+ "gpioInputEnable",
47438
+ "gpioteEventPins",
47439
+ "batteryReadyMask",
47440
+ "gaugeVoltageModeMask"
47441
+ ],
47442
+ "type": "object",
47443
+ "properties": {
47444
+ "waitBoundMs": {
47445
+ "maximum": 4294967295,
47446
+ "minimum": 0,
47447
+ "type": "integer"
47448
+ },
47449
+ "boundaryCount": {
47450
+ "maximum": 4294967295,
47451
+ "minimum": 0,
47452
+ "type": "integer"
47453
+ },
47454
+ "uartState": {
47455
+ "enum": [
47456
+ "unknown",
47457
+ "active",
47458
+ "suspended",
47459
+ "off",
47460
+ "suspending"
47461
+ ],
47462
+ "type": "string"
47463
+ },
47464
+ "uartUsage": {
47465
+ "maximum": 2147483647,
47466
+ "minimum": -2147483648,
47467
+ "type": "integer"
47468
+ },
47469
+ "uartEnabled": {
47470
+ "type": "boolean"
47471
+ },
47472
+ "uartBusy": {
47473
+ "type": "boolean"
47474
+ },
47475
+ "i2cState": {
47476
+ "enum": [
47477
+ "unknown",
47478
+ "active",
47479
+ "suspended",
47480
+ "off",
47481
+ "suspending"
47482
+ ],
47483
+ "type": "string"
47484
+ },
47485
+ "i2cUsage": {
47486
+ "maximum": 2147483647,
47487
+ "minimum": -2147483648,
47488
+ "type": "integer"
47489
+ },
47490
+ "i2cEnabled": {
47491
+ "type": "boolean"
47492
+ },
47493
+ "hfClockDriverState": {
47494
+ "maximum": 3,
47495
+ "minimum": 0,
47496
+ "type": "integer"
47497
+ },
47498
+ "gpioInputs": {
47499
+ "maximum": 4294967295,
47500
+ "minimum": 0,
47501
+ "type": "integer"
47502
+ },
47503
+ "gpioOutputs": {
47504
+ "maximum": 4294967295,
47505
+ "minimum": 0,
47506
+ "type": "integer"
47507
+ },
47508
+ "gpioOutputEnable": {
47509
+ "maximum": 4294967295,
47510
+ "minimum": 0,
47511
+ "type": "integer"
47512
+ },
47513
+ "gpioPullUps": {
47514
+ "maximum": 4294967295,
47515
+ "minimum": 0,
47516
+ "type": "integer"
47517
+ },
47518
+ "gpioPullDowns": {
47519
+ "maximum": 4294967295,
47520
+ "minimum": 0,
47521
+ "type": "integer"
47522
+ },
47523
+ "gpioInputEnable": {
47524
+ "maximum": 4294967295,
47525
+ "minimum": 0,
47526
+ "type": "integer"
47527
+ },
47528
+ "gpioteEventPins": {
47529
+ "maximum": 4294967295,
47530
+ "minimum": 0,
47531
+ "type": "integer"
47532
+ },
47533
+ "batteryReadyMask": {
47534
+ "maximum": 4294967295,
47535
+ "minimum": 0,
47536
+ "type": "integer"
47537
+ },
47538
+ "gaugeVoltageModeMask": {
47539
+ "maximum": 4294967295,
47540
+ "minimum": 0,
47541
+ "type": "integer"
47542
+ }
47543
+ },
47544
+ "additionalProperties": false,
47545
+ "description": "Snapshot taken before the last nonzero controller wait, with its original evidence time. Device PM states and usage counts, UART/I2C enable bits, GPIO configuration, dedicated GPIOTE event pins, and battery configuration-owner masks are passive reads. The HF clock field is the Zephyr clock driver status (0 starting, 1 off, 2 on, 3 unknown), not a measurement of all hardware clock consumers. This is a boundary sample, not proof of continuous sleep or measured energy. No polling timer or automatic publication is added.",
47546
+ "x-bf": {
47547
+ "definitionId": 176,
47548
+ "role": "state",
47549
+ "subject": "device",
47550
+ "producer": "device",
47551
+ "presentation": {
47552
+ "displayName": "Last controller idle boundary",
47553
+ "hiddenByDefault": true,
47554
+ "description": "Snapshot taken before the last nonzero controller wait, with its original evidence time. Device PM states and usage counts, UART/I2C enable bits, GPIO configuration, dedicated GPIOTE event pins, and battery configuration-owner masks are passive reads. The HF clock field is the Zephyr clock driver status (0 starting, 1 off, 2 on, 3 unknown), not a measurement of all hardware clock consumers. This is a boundary sample, not proof of continuous sleep or measured energy. No polling timer or automatic publication is added.",
47555
+ "formatter": "fields",
47556
+ "fields": [
47557
+ {
47558
+ "path": "uartState"
47559
+ },
47560
+ {
47561
+ "path": "uartUsage"
47562
+ },
47563
+ {
47564
+ "path": "i2cState"
47565
+ },
47566
+ {
47567
+ "path": "i2cUsage"
47568
+ },
47569
+ {
47570
+ "path": "uartEnabled"
47571
+ },
47572
+ {
47573
+ "path": "gaugeVoltageModeMask"
47574
+ }
47575
+ ]
47576
+ },
47577
+ "requestScoped": false
47578
+ }
47579
+ },
47580
+ "PowerIdleStateValueI2cState": {
47581
+ "enum": [
47582
+ "unknown",
47583
+ "active",
47584
+ "suspended",
47585
+ "off",
47586
+ "suspending"
47587
+ ]
47588
+ },
47589
+ "PowerIdleStateValueUartState": {
47590
+ "enum": [
47591
+ "unknown",
47592
+ "active",
47593
+ "suspended",
47594
+ "off",
47595
+ "suspending"
47596
+ ]
47597
+ },
46996
47598
  "PreferenceMapStyle": {
46997
47599
  "enum": [
46998
47600
  "minimal",
@@ -47929,7 +48531,6 @@
47929
48531
  44,
47930
48532
  45,
47931
48533
  46,
47932
- 48,
47933
48534
  49,
47934
48535
  50,
47935
48536
  52,
@@ -48024,7 +48625,8 @@
48024
48625
  163,
48025
48626
  164,
48026
48627
  165,
48027
- 166
48628
+ 166,
48629
+ 176
48028
48630
  ],
48029
48631
  "type": "integer"
48030
48632
  }
@@ -48382,7 +48984,6 @@
48382
48984
  44,
48383
48985
  45,
48384
48986
  46,
48385
- 48,
48386
48987
  49,
48387
48988
  50,
48388
48989
  52,
@@ -48477,7 +49078,8 @@
48477
49078
  163,
48478
49079
  164,
48479
49080
  165,
48480
- 166
49081
+ 166,
49082
+ 176
48481
49083
  ],
48482
49084
  "type": "integer"
48483
49085
  }