Skip to content

Commit

Permalink
Adds the appVersion field to the device status message
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrowlands committed Aug 5, 2024
1 parent 7587baa commit 8a98dc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/asyncapi/network_survey_messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1572,6 +1572,8 @@ components:
$ref: '#/components/schemas/speed'
deviceModel:
$ref: '#/components/schemas/deviceModel'
appVersion:
$ref: '#/components/schemas/appVersion'
accuracy:
$ref: '#/components/schemas/accuracy'
heading:
Expand Down Expand Up @@ -2168,6 +2170,10 @@ components:
type: string
description: The model number of the device that this message originated from.
example: Pixel 5
appVersion:
type: string
description: The version of the software application that this message originated from (most likely the Network Survey Android app, but could be any other app). Added in version 1.3.0.
example: 1.28
accuracy:
type: integer
format: int32
Expand Down
1 change: 1 addition & 0 deletions src/main/proto/com/craxiom/messaging/device_status.proto
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ message DeviceStatusData {
google.protobuf.Int32Value batteryLevelPercent = 7;
Error error = 10;
google.protobuf.BoolValue mdmOverride = 11;
string appVersion = 12;

double gnssLatitude = 15;
double gnssLongitude = 16;
Expand Down

0 comments on commit 8a98dc6

Please sign in to comment.