diff --git a/src/hex_boosting.proto b/src/hex_boosting.proto index dbc135c9..3062cf96 100644 --- a/src/hex_boosting.proto +++ b/src/hex_boosting.proto @@ -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; @@ -23,6 +31,8 @@ message boosted_hex_info_v1 { bytes boost_config_pubkey = 7; uint32 version = 8; + // The device type(s) this boost applies to. + boosted_hex_device_type_v1 device_type = 9; } message boosted_hex_update_v1 { diff --git a/src/lib.rs b/src/lib.rs index 6c84d431..dda3a50e 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,9 +9,9 @@ pub use prost::{DecodeError, EncodeError, Message}; #[cfg(feature = "services")] pub mod services { use crate::{ - BlockchainRegionParamsV1, BlockchainTokenTypeV1, BlockchainTxn, BoostedHexInfoV1, DataRate, - Decimal, EntropyReportV1, GatewayStakingMode, MapperAttach, Region, RoutingAddress, - ServiceProvider, + BlockchainRegionParamsV1, BlockchainTokenTypeV1, BlockchainTxn, BoostedHexDeviceTypeV1, + BoostedHexInfoV1, BoostedHexUpdateV1, DataRate, Decimal, EntropyReportV1, + GatewayStakingMode, MapperAttach, Region, RoutingAddress, ServiceProvider, }; pub mod iot_config {