diff options
author | Jason Reiss <jreiss@multitech.com> | 2021-01-20 17:24:10 -0600 |
---|---|---|
committer | Jason Reiss <jreiss@multitech.com> | 2021-01-21 08:46:34 -0600 |
commit | 6de6dd75a232f9abb5aaffba3aba5a67c7b91576 (patch) | |
tree | c98a1d2529f38e5e4f0a065e27a415e4d5fd5874 /libloragw/inc | |
parent | ea028e8048d55367a52365087f9e3928746c55a5 (diff) | |
download | lora_gateway_mtac_full-5.0.1-mts-7.tar.gz lora_gateway_mtac_full-5.0.1-mts-7.tar.bz2 lora_gateway_mtac_full-5.0.1-mts-7.zip |
Allow dig_gain to be set in txpkt for 64 tx output options5.0.1-mts-7
Diffstat (limited to 'libloragw/inc')
-rw-r--r-- | libloragw/inc/loragw_hal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libloragw/inc/loragw_hal.h b/libloragw/inc/loragw_hal.h index f6dc8dc..41faec7 100644 --- a/libloragw/inc/loragw_hal.h +++ b/libloragw/inc/loragw_hal.h @@ -260,7 +260,8 @@ struct lgw_pkt_tx_s { uint8_t tx_mode; /*!> select on what event/time the TX is triggered */ uint32_t count_us; /*!> timestamp or delay in microseconds for TX trigger */ uint8_t rf_chain; /*!> through which RF chain will the packet be sent */ - float rf_power; /*!> TX power, in dBm */ + float rf_power; /*!> TX power index */ + int8_t dig_gain; /*!> DIG gain based on current temperature */ uint8_t modulation; /*!> modulation to use for the packet */ uint8_t bandwidth; /*!> modulation bandwidth (LoRa only) */ uint32_t datarate; /*!> TX datarate (baudrate for FSK, SF for LoRa) */ |