Skip to content

Commit

Permalink
Add reports
Browse files Browse the repository at this point in the history
  • Loading branch information
macpie committed Oct 1, 2024
1 parent 6da647c commit a2ba4e4
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ message rle_event_v1 {

message radio_location_estimate_v1 {
Decimal radius = 1;
// TODO: lat long
Decimal confidence = 2;
repeated rle_event_v1 events = 3;
}
Expand All @@ -832,8 +833,26 @@ message radio_location_estimates_req_v1 {
// unix epoch timestamp in seconds
uint64 timestamp = 3;
// pubkey binary of the signing keypair
bytes signer = 4;
bytes carrier_key = 4;
bytes signature = 5;
}

message radio_location_estimates_resp_v1 { string id = 1; }
message radio_location_estimates_resp_v1 { string id = 1; }

message radio_location_estimates_ingest_report_v1 {
// unix epoch timestamp in seconds
uint64 received_timestamp = 1;
radio_location_estimates_req_v1 report = 2;
}

enum radio_location_estimates_verification_status {
radio_location_estimates_verification_status_valid = 0;
radio_location_estimates_verification_status_invalid_key = 1;
}

message verified_radio_location_estimates_report_v1 {
radio_location_estimates_ingest_report_v1 report = 1;
radio_location_estimates_verification_status status = 2;
// unix epoch timestamp in seconds
uint64 timestamp = 3;
}

0 comments on commit a2ba4e4

Please sign in to comment.