diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2018-06-13 15:35:43 -0500 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2018-06-13 15:35:43 -0500 |
commit | f00b429890bf342b1e3d41413cd5a2b8a37cddc6 (patch) | |
tree | 1a990ddfd8c0f6a9a9d0d2de169ea9ea1f035f76 /libloragw/inc | |
parent | dbe7ab10123eda8a4aaba5f66476da73e84a465f (diff) | |
download | lora_gateway_mtac_full-f00b429890bf342b1e3d41413cd5a2b8a37cddc6.tar.gz lora_gateway_mtac_full-f00b429890bf342b1e3d41413cd5a2b8a37cddc6.tar.bz2 lora_gateway_mtac_full-f00b429890bf342b1e3d41413cd5a2b8a37cddc6.zip |
Revert "Revert "Compiler warning fixes""
This reverts commit dbe7ab10123eda8a4aaba5f66476da73e84a465f
Diffstat (limited to 'libloragw/inc')
-rw-r--r-- | libloragw/inc/loragw_reg.h | 13 |
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) |