@bikefinder/sdk 0.4.0 → 0.6.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/README.md +13 -15
- package/dist/{workflow-schema.d.ts → acquisition-schema.d.ts} +22 -43
- package/dist/{workflow-schema.js → acquisition-schema.js} +43 -91
- package/dist/device-schema.d.ts +1046 -463
- package/dist/device-schema.js +1206 -590
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +11 -6
- package/dist/generated/sdk.gen.js +150 -55
- package/dist/generated/types.gen.d.ts +1686 -1163
- package/dist/generated/zod.gen.d.ts +3452 -4523
- package/dist/generated/zod.gen.js +2379 -2392
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/signalr/BikeFinder.Api.Observations.d.ts +1 -0
- package/dist/signalr/BikeFinder.Api.Observations.js +1 -0
- package/dist/signalr/BikeFinder.Api.Settings.d.ts +1 -0
- package/dist/signalr/BikeFinder.Api.Settings.js +1 -0
- package/dist/signalr/TypedSignalR.Client/BikeFinder.Api.Trackers.d.ts +12 -10
- package/openapi/api.json +13720 -10560
- package/package.json +3 -3
- /package/dist/signalr/{BikeFinder.Api.Aws.d.ts → BikeFinder.Api.Commands.d.ts} +0 -0
- /package/dist/signalr/{BikeFinder.Api.Aws.js → BikeFinder.Api.Commands.js} +0 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Generated REST and SignalR clients for the [API service](../../services/api/README.md). Hey API generates named HTTP methods, types and Zod validation from OpenAPI. TypedSignalR.Client.TypeScript generates hub proxies from C# interfaces implemented by the server. The official `@microsoft/signalr` client owns streaming and connection management.
|
|
4
4
|
|
|
5
|
-
This package
|
|
5
|
+
This package remains prelaunch. It replaces the experimental
|
|
6
6
|
`@bikefinder/api-client` package so **1.0.0** can mark the eventual stable launch.
|
|
7
7
|
Pin exact versions during development. Existing consumers of the old package
|
|
8
8
|
continue to work; renaming the package does not change the API's `/v1` paths.
|
|
@@ -58,7 +58,7 @@ The handwritten entry point only configures clients, authentication and disposal
|
|
|
58
58
|
|
|
59
59
|
Hey API owns all settings and observation value types. The public `DeviceSettings` export is the generated request type; `ObservationFact` combines catalog-defined metric names/IDs with the generated `Observation` value for that metric. Its known fields stay typed while read models allow additive fields. `generate-device-sdk.mjs` emits protocol schema/catalog data and workflow descriptors; it does not compile another set of settings or observation interfaces. No second schema-to-TypeScript compiler is required.
|
|
60
60
|
|
|
61
|
-
Staff diagnostics use the same tracker inventory ID as `getStaffTracker`. Use `requests.readStaffTrackerObservations({path: {id}, query: {series: observationSeriesQuery([{definitionId, subject?}])}})` for current values, `getStaffTrackerSettings` to read settings, and `updateStaffTrackerSettings` to patch typed settings with an expected version. Import `observationSeriesQuery` from this package. These reads use GET; account batches use `readStaffAccounts({query: {ids}})`. `getStaffTrackerCommandCatalog` returns definitions and availability together. The generated `staffRealtime.hub.watchObservations`, `watchCommand(id, operationId)` and `watchSettings` methods return native SignalR streams. Staff tracker pages accept `StaffTrackerPageRequest` with an optional exact `selection`, matching REST filters. See the [tracker diagnostics map](../../docs/api/
|
|
61
|
+
Staff diagnostics use the same tracker inventory ID as `getStaffTracker`. Use `requests.readStaffTrackerObservations({path: {id}, query: {series: observationSeriesQuery([{definitionId, subject?}])}})` for current values, `getStaffTrackerSettings` to read settings, and `updateStaffTrackerSettings` to patch typed settings with an expected version. Import `observationSeriesQuery` from this package. These reads use GET; account batches use `readStaffAccounts({query: {ids}})`. `getStaffTrackerCommandCatalog` returns definitions and availability together. The generated `staffRealtime.hub.watchObservations`, `watchCommand(id, operationId)` and `watchSettings` methods return native SignalR streams. Staff tracker pages accept `StaffTrackerPageRequest` with an optional exact `selection`, matching REST filters. See the [tracker diagnostics map](../../docs/api/diagnostics.md) for database, identity and acceptance semantics.
|
|
62
62
|
|
|
63
63
|
Command and firmware acceptance returns `202` with a `Location` status URL. Recover a command with `getStaffTrackerCommand({path: {id, operationId}})` using the original caller-generated UUID; its numeric hardware request ID is receipt evidence. Do not allocate a new UUID after an uncertain write. SDK 0.2 introduced the tracker resource layout; SDK 0.3 standardizes legacy LTE states (`queued`, `dispatched`, `expired`) and request kinds (`queue`, `cancel`) on lower-case strings. Firmware enum inputs accept strings, with numeric inputs rejected. Consumers must pin the matching prelaunch release.
|
|
64
64
|
|
|
@@ -69,7 +69,7 @@ The runtime requires standard Fetch, Request, Blob, AbortController and `AbortSi
|
|
|
69
69
|
The [protocol ownership guide](../../protocol/README.md) identifies the source
|
|
70
70
|
for each contract and the upstream generation steps. Edit those sources before
|
|
71
71
|
regenerating this client. `openapi/api.json`, `src/generated`, `src/signalr`,
|
|
72
|
-
`src/device-schema.ts` and `src/
|
|
72
|
+
`src/device-schema.ts` and `src/acquisition-schema.ts` are generated outputs required
|
|
73
73
|
by the client build and consumers.
|
|
74
74
|
|
|
75
75
|
From the repository root:
|
|
@@ -100,7 +100,9 @@ repository `aws_cloud`, workflow `publish-client.yml`, with direct `npm publish`
|
|
|
100
100
|
allowed and no environment name. This account setup is performed once in the
|
|
101
101
|
package's npm settings. See [npm trusted publishing](https://docs.npmjs.com/trusted-publishers/).
|
|
102
102
|
|
|
103
|
-
Command HTTP reads return `
|
|
103
|
+
Command HTTP reads return `TrackerCommand`; command subscriptions return `CommandUpdate` with a command or an explicit read issue. Requests, broker publication and `execution.completed` are distinct stages on that resource. A completion includes its outcome, unavailable observation names and authenticated receipt time. Command output values are separate typed observations delivered through the observation endpoints and streams.
|
|
104
|
+
|
|
105
|
+
Version **0.6.0** aligns these command receipts and independent domain observations with the deployed API. Consumers upgrading from 0.5 must read command output from the observation stream instead of a nested response-data union. `execution.accepted` is removed; use `publishedAt` for broker publication and `execution.completed` for the terminal device result.
|
|
104
106
|
|
|
105
107
|
## Observation timestamps
|
|
106
108
|
|
|
@@ -110,22 +112,18 @@ sequence information. Distinct rows can have identical capture timestamps;
|
|
|
110
112
|
clients must not infer physical ordering from their IDs. History can contain
|
|
111
113
|
separate rows for an at-least-once delivery of the same reading.
|
|
112
114
|
|
|
113
|
-
Settings responses use the API-owned `
|
|
115
|
+
Settings responses use the API-owned `SettingsSnapshot` for HTTP and SignalR: read typed `desired`, `reported`, `application`, capabilities and schema/version evidence directly. `readIssues` identifies stored values the API could not interpret. The resource does not expose the underlying AWS shadow document or its independent owners. Settings fields and bounds come from the same protocol registry as the firmware.
|
|
114
116
|
|
|
115
|
-
Command reads validate stored identity, catalog arguments, artifacts, and execution evidence. A malformed single-command read returns `command_unreadable`; command pages keep valid items and attach per-request `readIssues`. Both command streams emit `
|
|
117
|
+
Command reads validate stored identity, catalog arguments, artifacts, and execution evidence. A malformed single-command read returns `command_unreadable`; command pages keep valid items and attach per-request `readIssues`. Both command streams emit `CommandUpdate` with either a validated `command` or a `readIssue`, allowing subsequent events to continue.
|
|
116
118
|
|
|
117
119
|
## Current API contract
|
|
118
120
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
The shared `ObservationSeries` type replaces `AwsObservationSeries` in selections and current readings. Its JSON fields remain `definitionId` and optional `subject`; HTTP and SignalR use the same package-owned identity.
|
|
122
|
-
|
|
123
|
-
The API has no external consumers. The owner approved breaking changes during this simplification; the published 0.1.x SDK is not a compatibility baseline. Update the API and generated SDK together. No legacy response wrappers or parallel versioned route tree are retained.
|
|
121
|
+
Generate HTTP methods and response schemas from the API-owned OpenAPI contract. Use the same explicit models for HTTP and SignalR: `TrackerCommand`, `CommandUpdate`, `ObservationSelection`, `SettingsSnapshot` and `FirmwareArtifact`. Deploy the matching API before updating consumers to a changed contract.
|
|
124
122
|
|
|
125
|
-
|
|
123
|
+
Position requests, positioning schedules and movement-alert preferences have separate typed request contracts. The protocol registry owns settings fields and bounds; the runtime schema endpoints expose the deployed definitions. Firmware mode selectors, per-mode timers and command-listening settings are retired.
|
|
126
124
|
|
|
127
|
-
|
|
125
|
+
Observation history and events use the catalog-discriminated `Observation` union. Current readings identify a selected series and a nullable typed `CurrentObservation`; null means that no current reading exists. Request validation is strict. Response validation checks known fields while preserving additions.
|
|
128
126
|
|
|
129
|
-
Contract export uses Microsoft.Extensions.ApiDescription.Server through the contract script. It executes startup with inert configuration and disables cloud event workers; it
|
|
127
|
+
Contract export uses `Microsoft.Extensions.ApiDescription.Server` through the contract script. It executes startup with inert configuration and disables cloud event workers; it opens no listening HTTP server and needs no cloud credentials. Ordinary builds do not rewrite the checked-in contract.
|
|
130
128
|
|
|
131
|
-
Run
|
|
129
|
+
Run generation, type checks, runtime contract tests and the build before release. Publishing the SDK and deploying the API are separate operations; generated code does neither.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly version:
|
|
3
|
-
readonly modes: readonly [0, 1, 2];
|
|
4
|
-
readonly states: readonly ["idle", "battery", "connect", "cell", "wifi", "publish", "listen", "gps", "gpsPublish", "rest"];
|
|
5
|
-
readonly outcomes: readonly ["done", "unavailable", "failed", "timeout", "cancelled"];
|
|
1
|
+
export declare const acquisitionDefinition: {
|
|
2
|
+
readonly version: 1;
|
|
6
3
|
readonly acquisition: {
|
|
7
4
|
readonly gnss: readonly [{
|
|
8
5
|
readonly path: readonly ["assistance"];
|
|
@@ -11,6 +8,7 @@ export declare const workflowDefinition: {
|
|
|
11
8
|
readonly default: true;
|
|
12
9
|
readonly title: "assistance";
|
|
13
10
|
readonly description: "assistance for this behavior request.";
|
|
11
|
+
readonly wireId: 1;
|
|
14
12
|
}, {
|
|
15
13
|
readonly path: readonly ["powerMode"];
|
|
16
14
|
readonly member: "power_mode";
|
|
@@ -26,13 +24,16 @@ export declare const workflowDefinition: {
|
|
|
26
24
|
readonly "2": "Duty cycling: power";
|
|
27
25
|
};
|
|
28
26
|
readonly apiValues: readonly ["NRF_MODEM_GNSS_PSM_DISABLED", "NRF_MODEM_GNSS_PSM_DUTY_CYCLING_PERFORMANCE", "NRF_MODEM_GNSS_PSM_DUTY_CYCLING_POWER"];
|
|
27
|
+
readonly wireId: 2;
|
|
28
|
+
readonly commandChoices: readonly ["disabled", "performance", "power"];
|
|
29
29
|
}, {
|
|
30
30
|
readonly path: readonly ["priorityMode"];
|
|
31
31
|
readonly member: "priority_mode";
|
|
32
32
|
readonly kind: "BOOL";
|
|
33
|
-
readonly default:
|
|
33
|
+
readonly default: false;
|
|
34
34
|
readonly title: "priorityMode";
|
|
35
|
-
readonly description: "
|
|
35
|
+
readonly description: "Keep LTE paging available during the normal connected search. GNSS priority can block LTE paging for up to 40 seconds.";
|
|
36
|
+
readonly wireId: 3;
|
|
36
37
|
}, {
|
|
37
38
|
readonly path: readonly ["lowAccuracy"];
|
|
38
39
|
readonly member: "low_accuracy";
|
|
@@ -40,6 +41,7 @@ export declare const workflowDefinition: {
|
|
|
40
41
|
readonly default: false;
|
|
41
42
|
readonly title: "lowAccuracy";
|
|
42
43
|
readonly description: "lowAccuracy for this behavior request.";
|
|
44
|
+
readonly wireId: 4;
|
|
43
45
|
}, {
|
|
44
46
|
readonly path: readonly ["targetAccuracyMeters"];
|
|
45
47
|
readonly member: "target_accuracy_meters";
|
|
@@ -49,6 +51,7 @@ export declare const workflowDefinition: {
|
|
|
49
51
|
readonly description: "targetAccuracyMeters for this behavior request.";
|
|
50
52
|
readonly maximum: 10000;
|
|
51
53
|
readonly minimum: 0;
|
|
54
|
+
readonly wireId: 5;
|
|
52
55
|
}, {
|
|
53
56
|
readonly path: readonly ["consecutiveFixes"];
|
|
54
57
|
readonly member: "consecutive_fixes";
|
|
@@ -58,6 +61,7 @@ export declare const workflowDefinition: {
|
|
|
58
61
|
readonly description: "consecutiveFixes for this behavior request.";
|
|
59
62
|
readonly maximum: 10;
|
|
60
63
|
readonly minimum: 1;
|
|
64
|
+
readonly wireId: 6;
|
|
61
65
|
}, {
|
|
62
66
|
readonly path: readonly ["visibility", "enabled"];
|
|
63
67
|
readonly member: "visibility_enabled";
|
|
@@ -65,6 +69,7 @@ export declare const workflowDefinition: {
|
|
|
65
69
|
readonly default: true;
|
|
66
70
|
readonly title: "visibility.enabled";
|
|
67
71
|
readonly description: "visibility.enabled for this behavior request.";
|
|
72
|
+
readonly wireId: 7;
|
|
68
73
|
}, {
|
|
69
74
|
readonly path: readonly ["visibility", "executionSeconds"];
|
|
70
75
|
readonly member: "visibility_execution_seconds";
|
|
@@ -74,6 +79,7 @@ export declare const workflowDefinition: {
|
|
|
74
79
|
readonly description: "visibility.executionSeconds for this behavior request.";
|
|
75
80
|
readonly maximum: 120;
|
|
76
81
|
readonly minimum: 10;
|
|
82
|
+
readonly wireId: 8;
|
|
77
83
|
}, {
|
|
78
84
|
readonly path: readonly ["visibility", "minSatellites"];
|
|
79
85
|
readonly member: "visibility_min_satellites";
|
|
@@ -83,6 +89,7 @@ export declare const workflowDefinition: {
|
|
|
83
89
|
readonly description: "visibility.minSatellites for this behavior request.";
|
|
84
90
|
readonly maximum: 12;
|
|
85
91
|
readonly minimum: 1;
|
|
92
|
+
readonly wireId: 9;
|
|
86
93
|
}];
|
|
87
94
|
readonly cell: readonly [{
|
|
88
95
|
readonly path: readonly ["mode"];
|
|
@@ -93,6 +100,7 @@ export declare const workflowDefinition: {
|
|
|
93
100
|
readonly description: "mode for this behavior request.";
|
|
94
101
|
readonly choices: readonly ["serving", "gci", "neighbors"];
|
|
95
102
|
readonly maximum: 2;
|
|
103
|
+
readonly wireId: 1;
|
|
96
104
|
}, {
|
|
97
105
|
readonly path: readonly ["gciCount"];
|
|
98
106
|
readonly member: "gci_count";
|
|
@@ -102,6 +110,7 @@ export declare const workflowDefinition: {
|
|
|
102
110
|
readonly description: "gciCount for this behavior request.";
|
|
103
111
|
readonly maximum: 5;
|
|
104
112
|
readonly minimum: 0;
|
|
113
|
+
readonly wireId: 2;
|
|
105
114
|
}];
|
|
106
115
|
readonly wifi: readonly [{
|
|
107
116
|
readonly path: readonly ["scanType"];
|
|
@@ -112,6 +121,7 @@ export declare const workflowDefinition: {
|
|
|
112
121
|
readonly description: "scanType for this behavior request.";
|
|
113
122
|
readonly choices: readonly ["active", "passive"];
|
|
114
123
|
readonly maximum: 1;
|
|
124
|
+
readonly wireId: 1;
|
|
115
125
|
}, {
|
|
116
126
|
readonly path: readonly ["activeMinMs"];
|
|
117
127
|
readonly member: "active_min_ms";
|
|
@@ -121,6 +131,7 @@ export declare const workflowDefinition: {
|
|
|
121
131
|
readonly description: "activeMinMs for this behavior request.";
|
|
122
132
|
readonly maximum: 1500;
|
|
123
133
|
readonly minimum: 1;
|
|
134
|
+
readonly wireId: 2;
|
|
124
135
|
}, {
|
|
125
136
|
readonly path: readonly ["activeMaxMs"];
|
|
126
137
|
readonly member: "active_max_ms";
|
|
@@ -130,6 +141,7 @@ export declare const workflowDefinition: {
|
|
|
130
141
|
readonly description: "activeMaxMs for this behavior request.";
|
|
131
142
|
readonly maximum: 1500;
|
|
132
143
|
readonly minimum: 1;
|
|
144
|
+
readonly wireId: 3;
|
|
133
145
|
}, {
|
|
134
146
|
readonly path: readonly ["passiveMs"];
|
|
135
147
|
readonly member: "passive_ms";
|
|
@@ -139,6 +151,7 @@ export declare const workflowDefinition: {
|
|
|
139
151
|
readonly description: "passiveMs for this behavior request.";
|
|
140
152
|
readonly maximum: 1500;
|
|
141
153
|
readonly minimum: 1;
|
|
154
|
+
readonly wireId: 4;
|
|
142
155
|
}, {
|
|
143
156
|
readonly path: readonly ["channelMask"];
|
|
144
157
|
readonly member: "channel_mask";
|
|
@@ -148,6 +161,7 @@ export declare const workflowDefinition: {
|
|
|
148
161
|
readonly description: "channelMask for this behavior request.";
|
|
149
162
|
readonly maximum: 16383;
|
|
150
163
|
readonly minimum: 0;
|
|
164
|
+
readonly wireId: 5;
|
|
151
165
|
}, {
|
|
152
166
|
readonly path: readonly ["budgetMs"];
|
|
153
167
|
readonly member: "budget_ms";
|
|
@@ -157,42 +171,7 @@ export declare const workflowDefinition: {
|
|
|
157
171
|
readonly description: "budgetMs for this behavior request.";
|
|
158
172
|
readonly maximum: 60000;
|
|
159
173
|
readonly minimum: 100;
|
|
174
|
+
readonly wireId: 6;
|
|
160
175
|
}];
|
|
161
176
|
};
|
|
162
|
-
readonly operations: readonly [{
|
|
163
|
-
readonly symbol: "CAPTURE";
|
|
164
|
-
readonly name: "capture";
|
|
165
|
-
}, {
|
|
166
|
-
readonly symbol: "MQTT_OPEN";
|
|
167
|
-
readonly name: "mqttOpen";
|
|
168
|
-
}, {
|
|
169
|
-
readonly symbol: "PUBLISH";
|
|
170
|
-
readonly name: "publish";
|
|
171
|
-
}, {
|
|
172
|
-
readonly symbol: "LISTEN";
|
|
173
|
-
readonly name: "listen";
|
|
174
|
-
}, {
|
|
175
|
-
readonly symbol: "MODEM_ONLINE";
|
|
176
|
-
readonly name: "modemOnline";
|
|
177
|
-
}, {
|
|
178
|
-
readonly symbol: "MODEM_EDRX";
|
|
179
|
-
readonly name: "modemEdrx";
|
|
180
|
-
}, {
|
|
181
|
-
readonly symbol: "MODEM_PSM";
|
|
182
|
-
readonly name: "modemPsm";
|
|
183
|
-
}, {
|
|
184
|
-
readonly symbol: "MODEM_OFFLINE";
|
|
185
|
-
readonly name: "modemOffline";
|
|
186
|
-
}, {
|
|
187
|
-
readonly symbol: "DISCONNECT_MQTT";
|
|
188
|
-
readonly name: "disconnectMqtt";
|
|
189
|
-
}, {
|
|
190
|
-
readonly symbol: "PREPARE_CONNECTION";
|
|
191
|
-
readonly name: "prepareConnection";
|
|
192
|
-
}, {
|
|
193
|
-
readonly symbol: "CONNECT";
|
|
194
|
-
readonly name: "connect";
|
|
195
|
-
}];
|
|
196
177
|
};
|
|
197
|
-
export type FirmwareMode = (typeof workflowDefinition.modes)[number];
|
|
198
|
-
export type WorkflowState = string;
|
|
@@ -1,30 +1,6 @@
|
|
|
1
|
-
// Generated from protocol JSON Schemas by
|
|
2
|
-
export const
|
|
3
|
-
"version":
|
|
4
|
-
"modes": [
|
|
5
|
-
0,
|
|
6
|
-
1,
|
|
7
|
-
2
|
|
8
|
-
],
|
|
9
|
-
"states": [
|
|
10
|
-
"idle",
|
|
11
|
-
"battery",
|
|
12
|
-
"connect",
|
|
13
|
-
"cell",
|
|
14
|
-
"wifi",
|
|
15
|
-
"publish",
|
|
16
|
-
"listen",
|
|
17
|
-
"gps",
|
|
18
|
-
"gpsPublish",
|
|
19
|
-
"rest"
|
|
20
|
-
],
|
|
21
|
-
"outcomes": [
|
|
22
|
-
"done",
|
|
23
|
-
"unavailable",
|
|
24
|
-
"failed",
|
|
25
|
-
"timeout",
|
|
26
|
-
"cancelled"
|
|
27
|
-
],
|
|
1
|
+
// Generated from protocol JSON Schemas by packages/sdk/scripts/generate-device-schema.mjs. Do not edit.
|
|
2
|
+
export const acquisitionDefinition = {
|
|
3
|
+
"version": 1,
|
|
28
4
|
"acquisition": {
|
|
29
5
|
"gnss": [
|
|
30
6
|
{
|
|
@@ -35,7 +11,8 @@ export const workflowDefinition = {
|
|
|
35
11
|
"kind": "BOOL",
|
|
36
12
|
"default": true,
|
|
37
13
|
"title": "assistance",
|
|
38
|
-
"description": "assistance for this behavior request."
|
|
14
|
+
"description": "assistance for this behavior request.",
|
|
15
|
+
"wireId": 1
|
|
39
16
|
},
|
|
40
17
|
{
|
|
41
18
|
"path": [
|
|
@@ -57,6 +34,12 @@ export const workflowDefinition = {
|
|
|
57
34
|
"NRF_MODEM_GNSS_PSM_DISABLED",
|
|
58
35
|
"NRF_MODEM_GNSS_PSM_DUTY_CYCLING_PERFORMANCE",
|
|
59
36
|
"NRF_MODEM_GNSS_PSM_DUTY_CYCLING_POWER"
|
|
37
|
+
],
|
|
38
|
+
"wireId": 2,
|
|
39
|
+
"commandChoices": [
|
|
40
|
+
"disabled",
|
|
41
|
+
"performance",
|
|
42
|
+
"power"
|
|
60
43
|
]
|
|
61
44
|
},
|
|
62
45
|
{
|
|
@@ -65,9 +48,10 @@ export const workflowDefinition = {
|
|
|
65
48
|
],
|
|
66
49
|
"member": "priority_mode",
|
|
67
50
|
"kind": "BOOL",
|
|
68
|
-
"default":
|
|
51
|
+
"default": false,
|
|
69
52
|
"title": "priorityMode",
|
|
70
|
-
"description": "
|
|
53
|
+
"description": "Keep LTE paging available during the normal connected search. GNSS priority can block LTE paging for up to 40 seconds.",
|
|
54
|
+
"wireId": 3
|
|
71
55
|
},
|
|
72
56
|
{
|
|
73
57
|
"path": [
|
|
@@ -77,7 +61,8 @@ export const workflowDefinition = {
|
|
|
77
61
|
"kind": "BOOL",
|
|
78
62
|
"default": false,
|
|
79
63
|
"title": "lowAccuracy",
|
|
80
|
-
"description": "lowAccuracy for this behavior request."
|
|
64
|
+
"description": "lowAccuracy for this behavior request.",
|
|
65
|
+
"wireId": 4
|
|
81
66
|
},
|
|
82
67
|
{
|
|
83
68
|
"path": [
|
|
@@ -89,7 +74,8 @@ export const workflowDefinition = {
|
|
|
89
74
|
"title": "targetAccuracyMeters",
|
|
90
75
|
"description": "targetAccuracyMeters for this behavior request.",
|
|
91
76
|
"maximum": 10000,
|
|
92
|
-
"minimum": 0
|
|
77
|
+
"minimum": 0,
|
|
78
|
+
"wireId": 5
|
|
93
79
|
},
|
|
94
80
|
{
|
|
95
81
|
"path": [
|
|
@@ -101,7 +87,8 @@ export const workflowDefinition = {
|
|
|
101
87
|
"title": "consecutiveFixes",
|
|
102
88
|
"description": "consecutiveFixes for this behavior request.",
|
|
103
89
|
"maximum": 10,
|
|
104
|
-
"minimum": 1
|
|
90
|
+
"minimum": 1,
|
|
91
|
+
"wireId": 6
|
|
105
92
|
},
|
|
106
93
|
{
|
|
107
94
|
"path": [
|
|
@@ -112,7 +99,8 @@ export const workflowDefinition = {
|
|
|
112
99
|
"kind": "BOOL",
|
|
113
100
|
"default": true,
|
|
114
101
|
"title": "visibility.enabled",
|
|
115
|
-
"description": "visibility.enabled for this behavior request."
|
|
102
|
+
"description": "visibility.enabled for this behavior request.",
|
|
103
|
+
"wireId": 7
|
|
116
104
|
},
|
|
117
105
|
{
|
|
118
106
|
"path": [
|
|
@@ -125,7 +113,8 @@ export const workflowDefinition = {
|
|
|
125
113
|
"title": "visibility.executionSeconds",
|
|
126
114
|
"description": "visibility.executionSeconds for this behavior request.",
|
|
127
115
|
"maximum": 120,
|
|
128
|
-
"minimum": 10
|
|
116
|
+
"minimum": 10,
|
|
117
|
+
"wireId": 8
|
|
129
118
|
},
|
|
130
119
|
{
|
|
131
120
|
"path": [
|
|
@@ -138,7 +127,8 @@ export const workflowDefinition = {
|
|
|
138
127
|
"title": "visibility.minSatellites",
|
|
139
128
|
"description": "visibility.minSatellites for this behavior request.",
|
|
140
129
|
"maximum": 12,
|
|
141
|
-
"minimum": 1
|
|
130
|
+
"minimum": 1,
|
|
131
|
+
"wireId": 9
|
|
142
132
|
}
|
|
143
133
|
],
|
|
144
134
|
"cell": [
|
|
@@ -156,7 +146,8 @@ export const workflowDefinition = {
|
|
|
156
146
|
"gci",
|
|
157
147
|
"neighbors"
|
|
158
148
|
],
|
|
159
|
-
"maximum": 2
|
|
149
|
+
"maximum": 2,
|
|
150
|
+
"wireId": 1
|
|
160
151
|
},
|
|
161
152
|
{
|
|
162
153
|
"path": [
|
|
@@ -168,7 +159,8 @@ export const workflowDefinition = {
|
|
|
168
159
|
"title": "gciCount",
|
|
169
160
|
"description": "gciCount for this behavior request.",
|
|
170
161
|
"maximum": 5,
|
|
171
|
-
"minimum": 0
|
|
162
|
+
"minimum": 0,
|
|
163
|
+
"wireId": 2
|
|
172
164
|
}
|
|
173
165
|
],
|
|
174
166
|
"wifi": [
|
|
@@ -185,7 +177,8 @@ export const workflowDefinition = {
|
|
|
185
177
|
"active",
|
|
186
178
|
"passive"
|
|
187
179
|
],
|
|
188
|
-
"maximum": 1
|
|
180
|
+
"maximum": 1,
|
|
181
|
+
"wireId": 1
|
|
189
182
|
},
|
|
190
183
|
{
|
|
191
184
|
"path": [
|
|
@@ -197,7 +190,8 @@ export const workflowDefinition = {
|
|
|
197
190
|
"title": "activeMinMs",
|
|
198
191
|
"description": "activeMinMs for this behavior request.",
|
|
199
192
|
"maximum": 1500,
|
|
200
|
-
"minimum": 1
|
|
193
|
+
"minimum": 1,
|
|
194
|
+
"wireId": 2
|
|
201
195
|
},
|
|
202
196
|
{
|
|
203
197
|
"path": [
|
|
@@ -209,7 +203,8 @@ export const workflowDefinition = {
|
|
|
209
203
|
"title": "activeMaxMs",
|
|
210
204
|
"description": "activeMaxMs for this behavior request.",
|
|
211
205
|
"maximum": 1500,
|
|
212
|
-
"minimum": 1
|
|
206
|
+
"minimum": 1,
|
|
207
|
+
"wireId": 3
|
|
213
208
|
},
|
|
214
209
|
{
|
|
215
210
|
"path": [
|
|
@@ -221,7 +216,8 @@ export const workflowDefinition = {
|
|
|
221
216
|
"title": "passiveMs",
|
|
222
217
|
"description": "passiveMs for this behavior request.",
|
|
223
218
|
"maximum": 1500,
|
|
224
|
-
"minimum": 1
|
|
219
|
+
"minimum": 1,
|
|
220
|
+
"wireId": 4
|
|
225
221
|
},
|
|
226
222
|
{
|
|
227
223
|
"path": [
|
|
@@ -233,7 +229,8 @@ export const workflowDefinition = {
|
|
|
233
229
|
"title": "channelMask",
|
|
234
230
|
"description": "channelMask for this behavior request.",
|
|
235
231
|
"maximum": 16383,
|
|
236
|
-
"minimum": 0
|
|
232
|
+
"minimum": 0,
|
|
233
|
+
"wireId": 5
|
|
237
234
|
},
|
|
238
235
|
{
|
|
239
236
|
"path": [
|
|
@@ -245,54 +242,9 @@ export const workflowDefinition = {
|
|
|
245
242
|
"title": "budgetMs",
|
|
246
243
|
"description": "budgetMs for this behavior request.",
|
|
247
244
|
"maximum": 60000,
|
|
248
|
-
"minimum": 100
|
|
245
|
+
"minimum": 100,
|
|
246
|
+
"wireId": 6
|
|
249
247
|
}
|
|
250
248
|
]
|
|
251
|
-
}
|
|
252
|
-
"operations": [
|
|
253
|
-
{
|
|
254
|
-
"symbol": "CAPTURE",
|
|
255
|
-
"name": "capture"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"symbol": "MQTT_OPEN",
|
|
259
|
-
"name": "mqttOpen"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"symbol": "PUBLISH",
|
|
263
|
-
"name": "publish"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"symbol": "LISTEN",
|
|
267
|
-
"name": "listen"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"symbol": "MODEM_ONLINE",
|
|
271
|
-
"name": "modemOnline"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"symbol": "MODEM_EDRX",
|
|
275
|
-
"name": "modemEdrx"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"symbol": "MODEM_PSM",
|
|
279
|
-
"name": "modemPsm"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"symbol": "MODEM_OFFLINE",
|
|
283
|
-
"name": "modemOffline"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"symbol": "DISCONNECT_MQTT",
|
|
287
|
-
"name": "disconnectMqtt"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"symbol": "PREPARE_CONNECTION",
|
|
291
|
-
"name": "prepareConnection"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"symbol": "CONNECT",
|
|
295
|
-
"name": "connect"
|
|
296
|
-
}
|
|
297
|
-
]
|
|
249
|
+
}
|
|
298
250
|
};
|