Skip to content

Commit

Permalink
Add location_source to wifi heartbeats
Browse files Browse the repository at this point in the history
  • Loading branch information
bbalser committed May 15, 2024
1 parent fdb83a3 commit 45a2ec8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ message cell_heartbeat_ingest_report_v1 {
cell_heartbeat_req_v1 report = 2;
}

enum wifi_location_source {
unknown = 0;
asserted = 1;
gps = 2;
skyhook = 3;
}

message wifi_heartbeat_req_v1 {
// Public key of the hotspot
bytes pub_key = 1;
Expand All @@ -82,6 +89,7 @@ message wifi_heartbeat_req_v1 {
bool operation_mode = 6;
bytes coverage_object = 7;
bytes signature = 8;
wifi_location_source location_source = 9;
}

message wifi_heartbeat_resp_v1 { string id = 1; }
Expand Down Expand Up @@ -329,6 +337,7 @@ message heartbeat {
// only used for wifi radios, all others should have a value of 1.0
// value is 0.0 to 1.0 multiplied by 1000
uint32 location_trust_score_multiplier = 12;
wifi_location_source location_source = 13;
}

enum heartbeat_validity {
Expand Down

0 comments on commit 45a2ec8

Please sign in to comment.