Skip to content

Commit

Permalink
Adds a slot field to the cellular messages to allow for multi-sim o…
Browse files Browse the repository at this point in the history
…r multi-radio support
  • Loading branch information
christianrowlands committed Dec 13, 2023
1 parent 22ed819 commit 4e95cdc
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/asyncapi/network_survey_messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ components:
provider:
$ref: '#/components/schemas/provider'
example: "ATT"
slot:
$ref: '#/components/schemas/slot'
cdmaRecordPayload:
type: object
required:
Expand Down Expand Up @@ -414,6 +416,8 @@ components:
$ref: '#/components/schemas/servingCell'
provider:
$ref: '#/components/schemas/provider'
slot:
$ref: '#/components/schemas/slot'
umtsRecordPayload:
type: object
required:
Expand Down Expand Up @@ -498,6 +502,8 @@ components:
provider:
$ref: '#/components/schemas/provider'
example: "T-Mobile"
slot:
$ref: '#/components/schemas/slot'
lteRecordPayload:
type: object
required:
Expand Down Expand Up @@ -590,6 +596,8 @@ components:
$ref: '#/components/schemas/lteBandwidth'
provider:
$ref: '#/components/schemas/provider'
slot:
$ref: '#/components/schemas/slot'
nrRecordPayload:
type: object
required:
Expand Down Expand Up @@ -684,6 +692,8 @@ components:
$ref: '#/components/schemas/servingCell'
provider:
$ref: '#/components/schemas/provider'
slot:
$ref: '#/components/schemas/slot'
wifiBeaconRecordPayload:
type: object
required:
Expand Down Expand Up @@ -1951,6 +1961,10 @@ components:
servingCell:
type: boolean
description: Boolean indicating if this record represents a serving cell record, or a neighbor cell record. If the field is unset then it is unknown if this record is for the serving cell or a neighbor cell. A value of true indicates that the record represents a serving cell, a value of false indicates a neighbor record.
slot:
type: integer
description: The slot number of the SIM card or radio slot that this record was captured from. This enables support for multiple SIM cards in a single device or multiple radios in a single device. This field is optional, and if it is not present that is an indication that the device only has a single SIM card or radio (but the presence of this field does not indicate multiple SIM cards or radios). Added in version 0.15.0.
example: 2
# GSM specific fields
lac:
type: integer
Expand Down
1 change: 1 addition & 0 deletions src/main/proto/com/craxiom/messaging/cdma_record.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ message CdmaRecordData {
google.protobuf.FloatValue ecio = 23;
google.protobuf.BoolValue servingCell = 25;
string provider = 27;
google.protobuf.Int32Value slot = 28;
}
1 change: 1 addition & 0 deletions src/main/proto/com/craxiom/messaging/gsm_record.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ message GsmRecordData {
google.protobuf.Int32Value ta = 24;
google.protobuf.BoolValue servingCell = 25;
string provider = 27;
google.protobuf.Int32Value slot = 28;
}
1 change: 1 addition & 0 deletions src/main/proto/com/craxiom/messaging/lte_record.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ message LteRecordData {
string provider = 27;
google.protobuf.FloatValue signalStrength = 28;
google.protobuf.Int32Value cqi = 29;
google.protobuf.Int32Value slot = 30;
}
1 change: 1 addition & 0 deletions src/main/proto/com/craxiom/messaging/nr_record.proto
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ message NrRecordData {
google.protobuf.Int32Value ta = 28;
google.protobuf.BoolValue servingCell = 29;
string provider = 30;
google.protobuf.Int32Value slot = 31;
}
1 change: 1 addition & 0 deletions src/main/proto/com/craxiom/messaging/umts_record.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ message UmtsRecordData {
google.protobuf.FloatValue ecno = 24;
google.protobuf.BoolValue servingCell = 25;
string provider = 27;
google.protobuf.Int32Value slot = 28;
}

0 comments on commit 4e95cdc

Please sign in to comment.