diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2019-10-31 11:17:13 -0500 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2019-10-31 11:17:13 -0500 |
commit | 408ecd322635e37c710006c95a22dddc455e7f08 (patch) | |
tree | 61ed109f272710d2a50abb008a2bfd3bee697940 /libloragw/inc/loragw_hal.h | |
parent | 963a35fe0d6668e5b66d6bd1ff9659be8bf7d7bd (diff) | |
download | lora_gateway_mtac_full-408ecd322635e37c710006c95a22dddc455e7f08.tar.gz lora_gateway_mtac_full-408ecd322635e37c710006c95a22dddc455e7f08.tar.bz2 lora_gateway_mtac_full-408ecd322635e37c710006c95a22dddc455e7f08.zip |
Fixed lora attenuator mode5.0.1-mts-2
Diffstat (limited to 'libloragw/inc/loragw_hal.h')
-rw-r--r-- | libloragw/inc/loragw_hal.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libloragw/inc/loragw_hal.h b/libloragw/inc/loragw_hal.h index fda8908..f5a6183 100644 --- a/libloragw/inc/loragw_hal.h +++ b/libloragw/inc/loragw_hal.h @@ -260,7 +260,7 @@ 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 */ - int8_t rf_power; /*!> TX power, in dBm */ + float rf_power; /*!> TX power, in dBm */ 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) */ @@ -415,13 +415,6 @@ const char* lgw_version_info(void); */ uint32_t lgw_time_on_air(struct lgw_pkt_tx_s *packet); -/** -@brief Set the attenuation for sending packets to get the exact power level -@param attenuation is in dB, it can be between 0-31.75 -@return LGW_HAL_ERROR if the operation failed, LGW_HAL_SUCCESS else -*/ -int lgw_set_attenuation(float attenuation); - #endif /* --- EOF ------------------------------------------------------------------ */ |