diff --git a/src/main/asyncapi/network_survey_messaging.yaml b/src/main/asyncapi/network_survey_messaging.yaml index 7300bb5..52cc156 100644 --- a/src/main/asyncapi/network_survey_messaging.yaml +++ b/src/main/asyncapi/network_survey_messaging.yaml @@ -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: @@ -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 diff --git a/src/main/proto/com/craxiom/messaging/device_status.proto b/src/main/proto/com/craxiom/messaging/device_status.proto index a081ce4..9c9cba1 100644 --- a/src/main/proto/com/craxiom/messaging/device_status.proto +++ b/src/main/proto/com/craxiom/messaging/device_status.proto @@ -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;