Index: trunk/firmware/sources/timeEngined/libte/gnss.h =================================================================== diff --git a/trunk/firmware/sources/timeEngined/libte/gnss.h b/trunk/firmware/sources/timeEngined/libte/gnss.h --- a/trunk/firmware/sources/timeEngined/libte/gnss.h (revision 175) +++ b/trunk/firmware/sources/timeEngined/libte/gnss.h (revision 176) @@ -1,14 +1,14 @@ /* * gnss.h * - * Created on: Nov 4, 2014 - * Author: Alan Aguilar Sologuren + * Created on: Dec 29, 2014 + * Author: aras */ -#ifndef GNSS_H_ -#define GNSS_H_ +#ifndef LIBTE_GNSS_H_ +#define LIBTE_GNSS_H_ -namespace te_gnss { +#include "te_structs.h" //pin ports to GNSS #define PPS 2 /*!< PE4 AVR <> 2 Arduino */ @@ -16,6 +16,18 @@ #define RX0_GNSS RX0 #define TX0_GNSS TX0 PE1 -} -#endif /* GNSS_H_ */ +class gnss { +public: + gnss(); + virtual ~gnss(); + + bool te_gnss_configure(gnss_config_struct*); + bool te_gnss_activate(); + bool te_gnss_deactivate(); + bool te_gnss_sync_pps(); + bool te_gnss_get_time_info(gnss_precise_time*); + bool te_gnss_is_locked(); +}; + +#endif /* LIBTE_GNSS_H_ */