Skip to content

Commit

Permalink
Adds the slot field to the phone state message to enable multi SIM su…
Browse files Browse the repository at this point in the history
…pport
  • Loading branch information
christianrowlands committed Aug 8, 2024
1 parent dc8d907 commit fb3901c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.4.0](https://github.com/christianrowlands/network-survey-messaging/releases/tag/v1.4.0) - 2024-08-08
* Adds the slot field to the phone state record. See the docs for more information on the slot field.
* Upgrade to the latest protobuf (4.27.3) and gRPC (1.65.1) library versions.

## [1.3.0](https://github.com/christianrowlands/network-survey-messaging/releases/tag/v1.3.0) - 2024-08-05
* Adds the appVersion field to the device status message.

Expand Down
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ version "1.3.0"

// Configure the wrapper and ALL distro so IJ has additional context
wrapper {
gradleVersion = '8.3'
gradleVersion = '8.9'
distributionType = Wrapper.DistributionType.ALL
}

Expand All @@ -33,8 +33,8 @@ repositories {
}

ext {
grpcVersion = '1.58.0'
protobufVersion = '3.24.3'
grpcVersion = '1.65.1'
protobufVersion = '4.27.3'
protocVersion = protobufVersion

sonatypeUsername = findCredentialValue('Username')
Expand All @@ -50,9 +50,9 @@ dependencies {

implementation "javax.annotation:javax.annotation-api:1.3.2"

testImplementation "com.google.protobuf:protobuf-java-util:3.24.3"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
testImplementation "com.google.protobuf:protobuf-java-util:$protobufVersion"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.3'
}

test {
Expand Down
2 changes: 2 additions & 0 deletions src/main/asyncapi/network_survey_messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,8 @@ components:
$ref: '#/components/schemas/simState'
simOperator:
$ref: '#/components/schemas/simOperator'
slot:
$ref: '#/components/schemas/slot'
networkRegistrationInfo:
type: array
items:
Expand Down
1 change: 1 addition & 0 deletions src/main/proto/com/craxiom/messaging/phone_state.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ message PhoneStateData {
string simOperator = 10;
repeated NetworkRegistrationInfo networkRegistrationInfo = 11;
int32 accuracy = 12;
google.protobuf.Int32Value slot = 13;
}

// Used to report the details of a registered network
Expand Down

0 comments on commit fb3901c

Please sign in to comment.