Skip to content

Commit

Permalink
Update floats to uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
bbalser committed Dec 6, 2023
1 parent 63b4c92 commit d64910b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ message heartbeat {
// at the time of heartbeat verification
uint64 distance_to_asserted = 11;
// only used for wifi indoor radios, all others should have a value of 1.0
float location_trust_score_multiplier = 13;
// value is 0.0 to 1.0 multiplied by 1000
uint32 location_trust_score_multiplier = 12;
}

enum heartbeat_validity {
Expand Down Expand Up @@ -325,10 +326,12 @@ message radio_reward {
// UUID of the coverage object used to reward this radio
bytes coverage_object = 7;
// only used for wifi indoor radios, all others should have a value of 1.0
float location_trust_score_multiplier = 9;
// value is 0.0 to 1.0 multiplied by 1000
uint32 location_trust_score_multiplier = 8;
// based on speedtest averages of speedtests during 48 hour period from end of
// rewardable period
float speedtest_multiplier = 10;
// value is 0.0 to 1.0 multiplied by 1000
uint32 speedtest_multiplier = 9;
}

message gateway_reward {
Expand Down

0 comments on commit d64910b

Please sign in to comment.