Skip to content

Commit

Permalink
define used types before their use
Browse files Browse the repository at this point in the history
Familiarizes the reader with the context of what they're about to get into.
  • Loading branch information
michaeldjeffrey committed Aug 30, 2024
1 parent 243354c commit 7e0c821
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/hex_boosting.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ syntax = "proto3";

package helium;

enum boosted_hex_device_type_v1 {
all = 0;
cbrs_indoor = 1;
cbrs_outdoor = 2;
wifi_indoor = 3;
wifi_outdoor = 4;
}

message boosted_hex_info_v1 {
// The res12 h3 index of the boosted hex
uint64 location = 1;
Expand Down Expand Up @@ -33,11 +41,3 @@ message boosted_hex_update_v1 {
// Details of the updated hex
boosted_hex_info_v1 update = 2;
}

enum boosted_hex_device_type_v1 {
all = 0;
cbrs_indoor = 1;
cbrs_outdoor = 2;
wifi_indoor = 3;
wifi_outdoor = 4;
}

0 comments on commit 7e0c821

Please sign in to comment.