Skip to content

Commit

Permalink
Add seniority update as alternative to adding seniority ts to heartbe…
Browse files Browse the repository at this point in the history
…at (#356)
  • Loading branch information
Matthew Plant authored Jul 18, 2023
1 parent 7f7bb9b commit cce72e5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,20 @@ enum heartbeat_validity {
heartbeat_validity_too_far_from_coverage = 9;
}

message seniority_update {
string cbsd_id = 1;
// Timestamp of the new seniority for the radio
uint64 new_seniority_timestamp = 2;
seniority_update_reason reason = 3;
}

enum seniority_update_reason {
// We haven't seen a heartbeat for 72 hours
seniority_update_reason_heartbeat_not_seen = 0;
// A new coverage object replaces the old seniority
seniority_update_reason_new_coverage_claim_time = 1;
}

message speedtest_avg {
bytes pub_key = 1;
/// bytes/sec
Expand Down

0 comments on commit cce72e5

Please sign in to comment.