From 69da9a553e16fc4ce8a709d08a53bd78763bab62 Mon Sep 17 00:00:00 2001 From: Anatolii Kurotych Date: Mon, 18 Nov 2024 13:21:53 +0200 Subject: [PATCH] Add deployment info to gateway_metadata --- src/service/mobile_config.proto | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/service/mobile_config.proto b/src/service/mobile_config.proto index 0d354051..bdc55494 100644 --- a/src/service/mobile_config.proto +++ b/src/service/mobile_config.proto @@ -21,10 +21,36 @@ import "reward_manifest.proto"; // - Keypair fields are binary encoded public keys, Rust encoding example here: // https://github.com/helium/helium-crypto-rs/blob/main/src/public_key.rs#L347-L354 + +message wifi_deployment_info { + // antenna id + uint32 antenna = 1; + // The height of the hotspot above ground level in whole meters + uint32 elevation = 2; + uint16 azimuth = 3; + uint16 mechanical_down_tilt = 4; + uint16 electrical_down_tilt = 5; +} + +message cbrs_deployment_info { + repeated radio_deployment_info = 1; +} + +message radio_deployment_info { + // CBSD_ID or radio + string radio_id = 1; + // The asserted elevation of the gateway above ground level in whole meters + uint32 elevation = 2; +} + message gateway_metadata { // The res12 h3 index asserted address of the gateway as a string // where an unasserted gateway returns an empty string string location = 2; + oneof deployment_info { + wifi_deployment_info wifi_deployment_info = 1; + cbrs_deployment_info cbrs_deployment_info = 2; + } } message gateway_info {