@bikefinder/sdk 0.10.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
@@ -3583,6 +3583,79 @@
3583
3583
  ]
3584
3584
  }
3585
3585
  },
3586
+ "/v1/admin/trackers/{id}/commands/{operationId}/observations": {
3587
+ "get": {
3588
+ "tags": [
3589
+ "Staff tracker diagnostics"
3590
+ ],
3591
+ "description": "Read observations returned for this command, including later resolved WiFi and cellular locations. Results are ordered by receipt time and scoped to the authorized tracker and command request.",
3592
+ "operationId": "ListStaffTrackerCommandObservations",
3593
+ "parameters": [
3594
+ {
3595
+ "name": "id",
3596
+ "in": "path",
3597
+ "required": true,
3598
+ "schema": {
3599
+ "type": "string"
3600
+ }
3601
+ },
3602
+ {
3603
+ "name": "operationId",
3604
+ "in": "path",
3605
+ "required": true,
3606
+ "schema": {
3607
+ "type": "string",
3608
+ "format": "uuid"
3609
+ }
3610
+ },
3611
+ {
3612
+ "name": "limit",
3613
+ "in": "query",
3614
+ "schema": {
3615
+ "maximum": 100,
3616
+ "minimum": 1,
3617
+ "type": "integer",
3618
+ "format": "int32",
3619
+ "default": 50
3620
+ }
3621
+ },
3622
+ {
3623
+ "name": "cursor",
3624
+ "in": "query",
3625
+ "schema": {
3626
+ "type": "string"
3627
+ }
3628
+ }
3629
+ ],
3630
+ "responses": {
3631
+ "200": {
3632
+ "description": "OK",
3633
+ "content": {
3634
+ "application/json": {
3635
+ "schema": {
3636
+ "$ref": "#/components/schemas/ObservationPage"
3637
+ }
3638
+ }
3639
+ }
3640
+ },
3641
+ "default": {
3642
+ "description": "Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.",
3643
+ "content": {
3644
+ "application/problem+json": {
3645
+ "schema": {
3646
+ "$ref": "#/components/schemas/ApiProblem"
3647
+ }
3648
+ }
3649
+ }
3650
+ }
3651
+ },
3652
+ "security": [
3653
+ {
3654
+ "Bearer": [ ]
3655
+ }
3656
+ ]
3657
+ }
3658
+ },
3586
3659
  "/v1/admin/trackers/{id}/commands": {
3587
3660
  "post": {
3588
3661
  "tags": [
@@ -10197,9 +10270,6 @@
10197
10270
  {
10198
10271
  "$ref": "#/components/schemas/CurrentObservationConnectionTxPayloadBytesCurrent"
10199
10272
  },
10200
- {
10201
- "$ref": "#/components/schemas/CurrentObservationDeviceBuildFingerprintCurrent"
10202
- },
10203
10273
  {
10204
10274
  "$ref": "#/components/schemas/CurrentObservationDeviceDiagnosticEventCurrent"
10205
10275
  },
@@ -10517,6 +10587,9 @@
10517
10587
  },
10518
10588
  {
10519
10589
  "$ref": "#/components/schemas/CurrentObservationDiagnosticsStreamCompletedCurrent"
10590
+ },
10591
+ {
10592
+ "$ref": "#/components/schemas/CurrentObservationPowerIdleStateCurrent"
10520
10593
  }
10521
10594
  ],
10522
10595
  "discriminator": {
@@ -10565,7 +10638,6 @@
10565
10638
  "connection.totalDnsMs": "#/components/schemas/CurrentObservationConnectionTotalDnsMsCurrent",
10566
10639
  "connection.totalReportMs": "#/components/schemas/CurrentObservationConnectionTotalReportMsCurrent",
10567
10640
  "connection.txPayloadBytes": "#/components/schemas/CurrentObservationConnectionTxPayloadBytesCurrent",
10568
- "device.buildFingerprint": "#/components/schemas/CurrentObservationDeviceBuildFingerprintCurrent",
10569
10641
  "device.diagnosticEvent": "#/components/schemas/CurrentObservationDeviceDiagnosticEventCurrent",
10570
10642
  "device.hardwareVersion": "#/components/schemas/CurrentObservationDeviceHardwareVersionCurrent",
10571
10643
  "events.lost": "#/components/schemas/CurrentObservationEventsLostCurrent",
@@ -10671,7 +10743,8 @@
10671
10743
  "acquisition.completed": "#/components/schemas/CurrentObservationAcquisitionCompletedCurrent",
10672
10744
  "device.selfTestCompleted": "#/components/schemas/CurrentObservationDeviceSelfTestCompletedCurrent",
10673
10745
  "battery.checkResult": "#/components/schemas/CurrentObservationBatteryCheckResultCurrent",
10674
- "diagnostics.streamCompleted": "#/components/schemas/CurrentObservationDiagnosticsStreamCompletedCurrent"
10746
+ "diagnostics.streamCompleted": "#/components/schemas/CurrentObservationDiagnosticsStreamCompletedCurrent",
10747
+ "power.idleState": "#/components/schemas/CurrentObservationPowerIdleStateCurrent"
10675
10748
  }
10676
10749
  }
10677
10750
  },
@@ -16031,66 +16104,6 @@
16031
16104
  },
16032
16105
  "additionalProperties": false
16033
16106
  },
16034
- "CurrentObservationDeviceBuildFingerprintCurrent": {
16035
- "required": [
16036
- "value",
16037
- "deviceId",
16038
- "sourceObservationId",
16039
- "measuredAt",
16040
- "receivedAt",
16041
- "type"
16042
- ],
16043
- "properties": {
16044
- "type": {
16045
- "enum": [
16046
- "device.buildFingerprint"
16047
- ],
16048
- "type": "string"
16049
- },
16050
- "value": {
16051
- "title": "Firmware build fingerprint",
16052
- "maxLength": 256,
16053
- "minLength": 1,
16054
- "pattern": "^[ -~]*$",
16055
- "type": "string",
16056
- "description": "Build fingerprint identifying the tracker firmware build.",
16057
- "x-bf": {
16058
- "definitionId": 48,
16059
- "role": "state",
16060
- "subject": "device",
16061
- "producer": "device",
16062
- "presentation": {
16063
- "displayName": "Firmware build fingerprint",
16064
- "description": "Build fingerprint identifying the tracker firmware build.",
16065
- "hiddenByDefault": true
16066
- },
16067
- "requestScoped": false
16068
- }
16069
- },
16070
- "deviceId": {
16071
- "type": "string"
16072
- },
16073
- "sourceObservationId": {
16074
- "type": "string"
16075
- },
16076
- "measuredAt": {
16077
- "type": "string",
16078
- "format": "date-time"
16079
- },
16080
- "receivedAt": {
16081
- "type": "string",
16082
- "format": "date-time"
16083
- },
16084
- "requestId": {
16085
- "type": [
16086
- "null",
16087
- "integer"
16088
- ],
16089
- "format": "uint32"
16090
- }
16091
- },
16092
- "additionalProperties": false
16093
- },
16094
16107
  "CurrentObservationDeviceDiagnosticEventCurrent": {
16095
16108
  "required": [
16096
16109
  "value",
@@ -21421,6 +21434,207 @@
21421
21434
  },
21422
21435
  "additionalProperties": false
21423
21436
  },
21437
+ "CurrentObservationPowerIdleStateCurrent": {
21438
+ "required": [
21439
+ "value",
21440
+ "deviceId",
21441
+ "sourceObservationId",
21442
+ "measuredAt",
21443
+ "receivedAt",
21444
+ "type"
21445
+ ],
21446
+ "properties": {
21447
+ "type": {
21448
+ "enum": [
21449
+ "power.idleState"
21450
+ ],
21451
+ "type": "string"
21452
+ },
21453
+ "value": {
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"
21475
+ ],
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.",
21580
+ "x-bf": {
21581
+ "definitionId": 176,
21582
+ "role": "state",
21583
+ "subject": "device",
21584
+ "producer": "device",
21585
+ "presentation": {
21586
+ "displayName": "Last controller idle boundary",
21587
+ "hiddenByDefault": true,
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
+ ]
21610
+ },
21611
+ "requestScoped": false
21612
+ }
21613
+ },
21614
+ "deviceId": {
21615
+ "type": "string"
21616
+ },
21617
+ "sourceObservationId": {
21618
+ "type": "string"
21619
+ },
21620
+ "measuredAt": {
21621
+ "type": "string",
21622
+ "format": "date-time"
21623
+ },
21624
+ "receivedAt": {
21625
+ "type": "string",
21626
+ "format": "date-time"
21627
+ },
21628
+ "requestId": {
21629
+ "type": [
21630
+ "null",
21631
+ "integer"
21632
+ ],
21633
+ "format": "uint32"
21634
+ }
21635
+ },
21636
+ "additionalProperties": false
21637
+ },
21424
21638
  "CurrentObservationPowerMqttEntriesCurrent": {
21425
21639
  "required": [
21426
21640
  "value",
@@ -24540,26 +24754,6 @@
24540
24754
  "requestScoped": false
24541
24755
  }
24542
24756
  },
24543
- "device.buildFingerprint": {
24544
- "title": "Firmware build fingerprint",
24545
- "maxLength": 256,
24546
- "minLength": 1,
24547
- "pattern": "^[ -~]*$",
24548
- "type": "string",
24549
- "description": "Build fingerprint identifying the tracker firmware build.",
24550
- "x-bf": {
24551
- "definitionId": 48,
24552
- "role": "state",
24553
- "subject": "device",
24554
- "producer": "device",
24555
- "presentation": {
24556
- "displayName": "Firmware build fingerprint",
24557
- "description": "Build fingerprint identifying the tracker firmware build.",
24558
- "hiddenByDefault": true
24559
- },
24560
- "requestScoped": false
24561
- }
24562
- },
24563
24757
  "device.diagnosticEvent": {
24564
24758
  "title": "Device diagnostic event",
24565
24759
  "required": [
@@ -28264,6 +28458,167 @@
28264
28458
  },
28265
28459
  "requestScoped": true
28266
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
+ }
28267
28622
  }
28268
28623
  },
28269
28624
  "additionalProperties": false,
@@ -33388,9 +33743,6 @@
33388
33743
  {
33389
33744
  "$ref": "#/components/schemas/ObservationConnectionTxPayloadBytesObservation"
33390
33745
  },
33391
- {
33392
- "$ref": "#/components/schemas/ObservationDeviceBuildFingerprintObservation"
33393
- },
33394
33746
  {
33395
33747
  "$ref": "#/components/schemas/ObservationDeviceDiagnosticEventObservation"
33396
33748
  },
@@ -33708,6 +34060,9 @@
33708
34060
  },
33709
34061
  {
33710
34062
  "$ref": "#/components/schemas/ObservationDiagnosticsStreamCompletedObservation"
34063
+ },
34064
+ {
34065
+ "$ref": "#/components/schemas/ObservationPowerIdleStateObservation"
33711
34066
  }
33712
34067
  ],
33713
34068
  "discriminator": {
@@ -33756,7 +34111,6 @@
33756
34111
  "connection.totalDnsMs": "#/components/schemas/ObservationConnectionTotalDnsMsObservation",
33757
34112
  "connection.totalReportMs": "#/components/schemas/ObservationConnectionTotalReportMsObservation",
33758
34113
  "connection.txPayloadBytes": "#/components/schemas/ObservationConnectionTxPayloadBytesObservation",
33759
- "device.buildFingerprint": "#/components/schemas/ObservationDeviceBuildFingerprintObservation",
33760
34114
  "device.diagnosticEvent": "#/components/schemas/ObservationDeviceDiagnosticEventObservation",
33761
34115
  "device.hardwareVersion": "#/components/schemas/ObservationDeviceHardwareVersionObservation",
33762
34116
  "events.lost": "#/components/schemas/ObservationEventsLostObservation",
@@ -33862,7 +34216,8 @@
33862
34216
  "acquisition.completed": "#/components/schemas/ObservationAcquisitionCompletedObservation",
33863
34217
  "device.selfTestCompleted": "#/components/schemas/ObservationDeviceSelfTestCompletedObservation",
33864
34218
  "battery.checkResult": "#/components/schemas/ObservationBatteryCheckResultObservation",
33865
- "diagnostics.streamCompleted": "#/components/schemas/ObservationDiagnosticsStreamCompletedObservation"
34219
+ "diagnostics.streamCompleted": "#/components/schemas/ObservationDiagnosticsStreamCompletedObservation",
34220
+ "power.idleState": "#/components/schemas/ObservationPowerIdleStateObservation"
33866
34221
  }
33867
34222
  }
33868
34223
  },
@@ -39512,71 +39867,6 @@
39512
39867
  },
39513
39868
  "additionalProperties": false
39514
39869
  },
39515
- "ObservationDeviceBuildFingerprintObservation": {
39516
- "required": [
39517
- "value",
39518
- "deviceId",
39519
- "observationId",
39520
- "receivedAt",
39521
- "ageMs",
39522
- "measuredAt",
39523
- "type"
39524
- ],
39525
- "properties": {
39526
- "type": {
39527
- "enum": [
39528
- "device.buildFingerprint"
39529
- ],
39530
- "type": "string"
39531
- },
39532
- "value": {
39533
- "title": "Firmware build fingerprint",
39534
- "maxLength": 256,
39535
- "minLength": 1,
39536
- "pattern": "^[ -~]*$",
39537
- "type": "string",
39538
- "description": "Build fingerprint identifying the tracker firmware build.",
39539
- "x-bf": {
39540
- "definitionId": 48,
39541
- "role": "state",
39542
- "subject": "device",
39543
- "producer": "device",
39544
- "presentation": {
39545
- "displayName": "Firmware build fingerprint",
39546
- "description": "Build fingerprint identifying the tracker firmware build.",
39547
- "hiddenByDefault": true
39548
- },
39549
- "requestScoped": false
39550
- }
39551
- },
39552
- "deviceId": {
39553
- "type": "string"
39554
- },
39555
- "observationId": {
39556
- "type": "string"
39557
- },
39558
- "receivedAt": {
39559
- "type": "string",
39560
- "format": "date-time"
39561
- },
39562
- "ageMs": {
39563
- "type": "integer",
39564
- "format": "uint64"
39565
- },
39566
- "measuredAt": {
39567
- "type": "string",
39568
- "format": "date-time"
39569
- },
39570
- "requestId": {
39571
- "type": [
39572
- "null",
39573
- "integer"
39574
- ],
39575
- "format": "uint32"
39576
- }
39577
- },
39578
- "additionalProperties": false
39579
- },
39580
39870
  "ObservationDeviceDiagnosticEventObservation": {
39581
39871
  "required": [
39582
39872
  "value",
@@ -45304,6 +45594,212 @@
45304
45594
  },
45305
45595
  "additionalProperties": false
45306
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
+ },
45307
45803
  "ObservationPowerMqttEntriesObservation": {
45308
45804
  "required": [
45309
45805
  "value",
@@ -46920,6 +47416,185 @@
46920
47416
  "gnss"
46921
47417
  ]
46922
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
+ },
46923
47598
  "PreferenceMapStyle": {
46924
47599
  "enum": [
46925
47600
  "minimal",
@@ -47856,7 +48531,6 @@
47856
48531
  44,
47857
48532
  45,
47858
48533
  46,
47859
- 48,
47860
48534
  49,
47861
48535
  50,
47862
48536
  52,
@@ -47951,7 +48625,8 @@
47951
48625
  163,
47952
48626
  164,
47953
48627
  165,
47954
- 166
48628
+ 166,
48629
+ 176
47955
48630
  ],
47956
48631
  "type": "integer"
47957
48632
  }
@@ -48309,7 +48984,6 @@
48309
48984
  44,
48310
48985
  45,
48311
48986
  46,
48312
- 48,
48313
48987
  49,
48314
48988
  50,
48315
48989
  52,
@@ -48404,7 +49078,8 @@
48404
49078
  163,
48405
49079
  164,
48406
49080
  165,
48407
- 166
49081
+ 166,
49082
+ 176
48408
49083
  ],
48409
49084
  "type": "integer"
48410
49085
  }