summaryrefslogtreecommitdiff
path: root/libloragw/inc
diff options
context:
space:
mode:
authorHarsh Sharma <92harshsharma@gmail.com>2018-06-13 15:20:25 -0500
committerHarsh Sharma <92harshsharma@gmail.com>2018-06-13 15:20:25 -0500
commit04036d3f88d5fa2077cbd9f3c59c1f2811b08ae3 (patch)
tree1a990ddfd8c0f6a9a9d0d2de169ea9ea1f035f76 /libloragw/inc
parent5fcc4427d13bf20d6cbd5fc2a5d6420e1baf7467 (diff)
downloadlora_gateway_mtac_full-04036d3f88d5fa2077cbd9f3c59c1f2811b08ae3.tar.gz
lora_gateway_mtac_full-04036d3f88d5fa2077cbd9f3c59c1f2811b08ae3.tar.bz2
lora_gateway_mtac_full-04036d3f88d5fa2077cbd9f3c59c1f2811b08ae3.zip
Compiler warning fixes
Diffstat (limited to 'libloragw/inc')
-rw-r--r--libloragw/inc/loragw_reg.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libloragw/inc/loragw_reg.h b/libloragw/inc/loragw_reg.h
index 2a944a7..8cfc053 100644
--- a/libloragw/inc/loragw_reg.h
+++ b/libloragw/inc/loragw_reg.h
@@ -393,6 +393,19 @@ this file is autogenerated from registers description
/* --- PUBLIC FUNCTIONS PROTOTYPES ------------------------------------------ */
/**
+@brief Read LoRa FPGA Version
+@return FPGA version
+*/
+uint8_t read_fpga_version();
+
+/**
+@brief Check if the LoRa FPGA Version is supported by loRa Gateway
+@param version number provided to check through the validated list
+@return status true/false
+*/
+bool check_fpga_version(uint8_t version)
+
+/**
@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)