summaryrefslogtreecommitdiff
path: root/libloragw/inc/loragw_reg.h
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-03-20 09:11:25 -0500
committerJason Reiss <jreiss@multitech.com>2020-03-20 09:11:25 -0500
commitea028e8048d55367a52365087f9e3928746c55a5 (patch)
treed3c28fb745071653bcf35bff7f05c93051796390 /libloragw/inc/loragw_reg.h
parentb3a4461b3dfc5588111a88fd735d058888b8d3d4 (diff)
parentdea57d6f29246434173c33c56850708c51fc5b23 (diff)
downloadlora_gateway_mtac_full-ea028e8048d55367a52365087f9e3928746c55a5.tar.gz
lora_gateway_mtac_full-ea028e8048d55367a52365087f9e3928746c55a5.tar.bz2
lora_gateway_mtac_full-ea028e8048d55367a52365087f9e3928746c55a5.zip
Merge branch 'master' of gitlab.multitech.net:lora_enterprise/lora_gateway_mtac_full5.0.1-mts-5
Diffstat (limited to 'libloragw/inc/loragw_reg.h')
-rw-r--r--libloragw/inc/loragw_reg.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/libloragw/inc/loragw_reg.h b/libloragw/inc/loragw_reg.h
index 1e98efa..4dd9edb 100644
--- a/libloragw/inc/loragw_reg.h
+++ b/libloragw/inc/loragw_reg.h
@@ -403,14 +403,17 @@ uint8_t read_fpga_version();
@param version number provided to check through the validated list
@return status true/false
*/
-bool check_fpga_version(uint8_t version);
+bool fpga_version_supported();
+
+/**
+@brief Check if the LoRa FPGA uses an attenuator for transmitting packets
+@return status true/false
+*/
+bool fpga_supports_attenuator();
/**
@brief Connect LoRa concentrator by opening SPI link
-@param spi_only indicates if we only want to create the SPI connexion to the
concentrator, or if we also want to reset it and configure the FPGA (if present)
-@param tx_notch_filter TX notch filter frequency to be set in the FPGA (only
-used with SX1301AP2 reference design).
@return status of register operation (LGW_REG_SUCCESS/LGW_REG_ERROR)
*/
int lgw_connect(bool spi_only, uint32_t tx_notch_freq);