diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2018-08-09 15:10:43 -0500 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2018-08-09 15:10:43 -0500 |
commit | 1e66084295f37f0d7f5f0a3518e43ae0cc613898 (patch) | |
tree | 3b6fcae715309aeec4f39c2b59f5945a18542c18 /libloragw/inc/loragw_fpga.h | |
parent | 4a262a7c7e76e118cefb0cc7569a9597f230c888 (diff) | |
download | lora_gateway_mtac_full-1e66084295f37f0d7f5f0a3518e43ae0cc613898.tar.gz lora_gateway_mtac_full-1e66084295f37f0d7f5f0a3518e43ae0cc613898.tar.bz2 lora_gateway_mtac_full-1e66084295f37f0d7f5f0a3518e43ae0cc613898.zip |
Changed attenuation setup to be the difference between the LUT power and the tx packet power and make it automatically set
Diffstat (limited to 'libloragw/inc/loragw_fpga.h')
-rw-r--r-- | libloragw/inc/loragw_fpga.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libloragw/inc/loragw_fpga.h b/libloragw/inc/loragw_fpga.h index 07418e4..46246b6 100644 --- a/libloragw/inc/loragw_fpga.h +++ b/libloragw/inc/loragw_fpga.h @@ -99,7 +99,7 @@ float lgw_fpga_get_tx_notch_delay(void); @param tx_notch_freq TX notch filter frequency, in Hertz @return status of register operation (LGW_REG_SUCCESS/LGW_REG_ERROR) */ -int lgw_fpga_configure(uint32_t tx_notch_freq, bool fpga_attn_used); +int lgw_fpga_configure(uint32_t tx_notch_freq); /** @brief LoRa concentrator FPGA register write @@ -135,5 +135,7 @@ int lgw_fpga_reg_wb(uint16_t register_id, uint8_t *data, uint16_t size); */ int lgw_fpga_reg_rb(uint16_t register_id, uint8_t *data, uint16_t size); +int lgw_set_attenuation(float attenuation); + #endif /* --- EOF ------------------------------------------------------------------ */ |