Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bbalser/wifi location source #412

Merged
merged 2 commits into from
Aug 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ message cell_heartbeat_ingest_report_v1 {
cell_heartbeat_req_v1 report = 2;
}

enum 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 @@ -83,6 +90,7 @@ message wifi_heartbeat_req_v1 {
bool operation_mode = 6;
bytes coverage_object = 7;
bytes signature = 8;
location_source location_source = 9;
}

message wifi_heartbeat_resp_v1 { string id = 1; }
Expand Down Expand Up @@ -333,6 +341,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;
location_source location_source = 13;
}

enum heartbeat_validity {
Expand Down
Loading