A demo application for HXC900 LoRaWAN module using Nucleo-L053R8.

Dependencies:   mbed

Revision:
32:2d0678039a09
Parent:
5:53302861bfea
--- a/Utilities/time_server.h	Mon Dec 10 19:54:23 2018 +0000
+++ b/Utilities/time_server.h	Thu Jan 24 21:57:23 2019 +0000
@@ -98,32 +98,36 @@
  * \param [IN] obj          Structure containing the timer object parameters
  * \param [IN] callback     Function callback called at the end of the timeout
  */
-void TimerInit( TimerEvent_t *obj, void ( *callback )( void ) );
+void TimerInit(TimerEvent_t *obj, void ( *callback )( void ));
 
-
+/*!
+ * \brief Set timer new timeout value
+ *
+ * \param [IN] obj   Structure containing the timer object parameters
+ * \param [IN] value New timer timeout value
+ */
+void TimerSetValue( TimerEvent_t *obj, uint32_t value );
 
 /*!
  * \brief Starts and adds the timer object to the list of timer events
  *
  * \param [IN] obj Structure containing the timer object parameters
- * \param [IN] timeoutMs timeout value in millisecond
  */
-void TimerStart( TimerEvent_t *obj, uint32_t timeoutMs );
+void TimerStart(TimerEvent_t *obj);
 
 /*!
  * \brief Stops and removes the timer object from the list of timer events
  *
  * \param [IN] obj Structure containing the timer object parameters
  */
-void TimerStop( TimerEvent_t *obj );
+void TimerStop(TimerEvent_t *obj);
 
 /*!
  * \brief Resets the timer object
  *
  * \param [IN] obj Structure containing the timer object parameters
  */
-//void TimerReset( TimerEvent_t *obj );
-
+void TimerReset( TimerEvent_t *obj );
 
 /*!
  * \brief Read the current time
@@ -138,7 +142,7 @@
  * \param [IN] savedTime    fix moment in Time
  * \retval time             returns elapsed time in ms
  */
-uint32_t TimerGetElapsedTime( uint32_t savedTime );
+uint32_t TimerGetElapsedTime(uint32_t savedTime);
 
 #ifdef __cplusplus
 }