summaryrefslogtreecommitdiff
path: root/libloragw/inc
diff options
context:
space:
mode:
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)