Prototyping the Adaptable Emergency System on an C027 board.

Dependencies:   C027_Support mbed

Fork of c027_prototyping by Philémon Favrod

Committer:
aroulin
Date:
Sun Oct 05 12:38:04 2014 +0000
Revision:
17:726bbc1b73ee
Parent:
16:2b2f2a3bde5a
PIN in argument of sms_init;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
aroulin 3:12e1c2c71cf2 1 #ifndef __GPS_LOCATE_H__
aroulin 3:12e1c2c71cf2 2 #define __GPS_LOCATE_H__
aroulin 3:12e1c2c71cf2 3
aroulin 3:12e1c2c71cf2 4 struct gps_data_t {
aroulin 3:12e1c2c71cf2 5 double la;
aroulin 3:12e1c2c71cf2 6 double lo;
aroulin 3:12e1c2c71cf2 7 double altitude;
aroulin 3:12e1c2c71cf2 8 double speed;
aroulin 16:2b2f2a3bde5a 9 };
aroulin 3:12e1c2c71cf2 10
aroulin 16:2b2f2a3bde5a 11 /*
aroulin 16:2b2f2a3bde5a 12 Get GPS Location, blocks until received
aroulin 17:726bbc1b73ee 13 all informations needed, Timeout after timeout seconds
aroulin 16:2b2f2a3bde5a 14
aroulin 16:2b2f2a3bde5a 15 returns: 1 if gps infos are correct, 0 otherwise
aroulin 16:2b2f2a3bde5a 16 */
aroulin 17:726bbc1b73ee 17 int gps_locate(struct gps_data_t* gps_data, int timeout);
aroulin 3:12e1c2c71cf2 18
aroulin 3:12e1c2c71cf2 19 #endif