-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add PGNSS appID #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
coleHafner
wants to merge
4
commits into
v1
Choose a base branch
from
coha/#IRIS-7364-add-pgnss-mqtt
base: v1
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"appId": "PGNSS", | ||
"messageType": "DATA", | ||
"err": 42200 | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"title":"PGNSS Position Error Response", | ||
"description":"Responds with error. Successful response is documented in 'pgnss' directory.", | ||
"type":"object", | ||
"properties":{ | ||
"appId":{ | ||
"type":"string", | ||
"const":"PGNSS" | ||
}, | ||
"messageType":{ | ||
"type":"string", | ||
"const":"DATA" | ||
}, | ||
"err": { | ||
"type":"integer" | ||
} | ||
}, | ||
"additionalProperties":false, | ||
"required":[ | ||
"appId", | ||
"messageType", | ||
"err" | ||
] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[ | ||
"pgps.nrfcloud.com", | ||
"public/15286-79200_15293-64800.bin" | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"title": "PGNSS Success Response", | ||
"description": "Responds with link to PGNSS file on success.", | ||
"type": "array", | ||
"prefixItems": [ | ||
{ | ||
"type": "string", | ||
"description": "Host. The protocol agnostic URL for accessing PGNSS prediction files.", | ||
"pattern": "pgps\\.nrfcloud\\.com" | ||
coleHafner marked this conversation as resolved.
Show resolved
Hide resolved
|
||
}, | ||
{ | ||
"type": "string", | ||
"description": "Path. The path to the file that contains PGNSS prediction data.", | ||
"pattern": "public\\/.+.bin" | ||
} | ||
], | ||
"minItems": 2, | ||
"items": false | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"appId": "PGNSS", | ||
"messageType": "DATA", | ||
"data": { | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"appId": "PGNSS", | ||
"messageType": "DATA", | ||
"data": { | ||
"startGpsDay": 234234, | ||
"startGpsTimeOfDaySeconds": 85399, | ||
"predictionCount": 84, | ||
"predictionIntervalMinutes": 240 | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"title": "PGNSS", | ||
"description": "PGNSS request", | ||
"type": "object", | ||
"properties": { | ||
"appId": { | ||
"type": "string", | ||
"const": "PGNSS" | ||
}, | ||
"messageType": { | ||
"type": "string", | ||
"const": "DATA" | ||
}, | ||
"data": { | ||
"type": "object", | ||
"properties": { | ||
"startGpsDay": { | ||
"$ref": "#/definitions/StartGpsDay" | ||
}, | ||
"startGpsTimeOfDaySeconds": { | ||
"$ref": "#/definitions/StartGpsTimeOfDaySeconds" | ||
}, | ||
"predictionCount": { | ||
"$ref": "#/definitions/PredictionCount" | ||
}, | ||
"predictionIntervalMinutes": { | ||
"$ref": "#/definitions/PredictionIntervalMinutes" | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"StartGpsDay": { | ||
"type": "integer", | ||
"description": "GPS day to start the predictions." | ||
}, | ||
"StartGpsTimeOfDaySeconds": { | ||
"type": "integer", | ||
"description": "Time of day (in seconds) to start collecting the GPS predictions.", | ||
"minimum": 0, | ||
"maximum": 86400 | ||
}, | ||
"PredictionCount": { | ||
"type": "integer", | ||
"description": "Number of GPS predictions (4 hour periods) to return. There are 6 predictions per day. You can request up to 14 days.", | ||
"minimum": 1, | ||
"maximum": 84 | ||
}, | ||
"PredictionIntervalMinutes": { | ||
"type": "integer", | ||
"description": "The interval (in minutes) at which predictions are spaced.", | ||
"minimum": 120, | ||
"maximum": 480, | ||
"multipleOf": 60 | ||
} | ||
}, | ||
"required":[ | ||
"appId", | ||
"messageType", | ||
"data" | ||
], | ||
"additionalProperties": false | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.