summaryrefslogtreecommitdiff
path: root/libloragw/inc/loragw_hal.h
diff options
context:
space:
mode:
authorSylvain Miermont <smiermont@semtech.com>2013-12-19 17:41:02 +0100
committerSylvain Miermont <smiermont@semtech.com>2013-12-19 17:41:02 +0100
commitf9203f1a4a9b635cbe96670ed5a5e5309bb10697 (patch)
tree1c57c1cc7d61a52e02b0948e36930639f1b52583 /libloragw/inc/loragw_hal.h
parentb665027754e4a050b5c3ea2da999dce8bf3ab710 (diff)
downloadlora_gateway-f9203f1a4a9b635cbe96670ed5a5e5309bb10697.tar.gz
lora_gateway-f9203f1a4a9b635cbe96670ed5a5e5309bb10697.tar.bz2
lora_gateway-f9203f1a4a9b635cbe96670ed5a5e5309bb10697.zip
v1.2.0v1.2.0
- Added feature: new GPS module in the library for synchronization - Removed feature: no more missed deadline detection in TX because of incompatibility with GPS - Added documentation for GPS and legal notice - Added flags in Makefiles for easier cross-compilation
Diffstat (limited to 'libloragw/inc/loragw_hal.h')
-rw-r--r--libloragw/inc/loragw_hal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libloragw/inc/loragw_hal.h b/libloragw/inc/loragw_hal.h
index 41d1d98..022313f 100644
--- a/libloragw/inc/loragw_hal.h
+++ b/libloragw/inc/loragw_hal.h
@@ -278,6 +278,13 @@ int lgw_send(struct lgw_pkt_tx_s pkt_data);
int lgw_status(uint8_t select, uint8_t *code);
/**
+@brief Return value of internal counter when latest event (eg GPS pulse) was captured
+@param trig_cnt_us pointer to receive timestamp value
+@return LGW_HAL_ERROR id the operation failed, LGW_HAL_SUCCESS else
+*/
+int lgw_get_trigcnt(uint32_t* trig_cnt_us);
+
+/**
@brief Allow user to check the version/options of the library once compiled
@return pointer on a human-readable null terminated string
*/