GPS working with LoRa code - can't transmit faster that once every 6 seconds

Dependencies:   mbed LoRaWAN-lib_gps_lora SingleFrequencyLora

Revision:
7:1c90f51096fe
Parent:
6:670ff1507ff4
Child:
10:0b5a507b4a4d
--- a/l86.hpp	Mon Nov 13 15:44:11 2017 +0000
+++ b/l86.hpp	Mon Nov 13 18:37:05 2017 +0000
@@ -29,7 +29,7 @@
 #define PMTK_HOT_START              "$PMTK101*32\r\n"
 #define PMTK_ALWAYS_LOCATE_STANDDBY "$PMTK225,8*23\r\n"
 #define PMTK_ALWAYS_LOCATE_BACKUP   "$PMTK225,922\r\n*"
-#define PMTK_STANDBY_MODE           "$PMTK161,0*28\r\n"
+#define PMTK_STANDBY_MODE           "$PMTK161,0*28\r\n" // Any UART data will retrun to Full-on mode
 #define PMTK_BACKUP_MODE            "$PMTK225,4*2F\r\n" // Force_on must be low before entering backup mode!
                                                         // Pull Force_on high to exit backup mode 
 
@@ -51,12 +51,11 @@
     char Speed_Over_Ground[5];      /* In Knots */
     char Course_Over_Ground[7];     /* Degrees */
     char Date[7];                   /* ddmmyy */
-    char Magnetic_Variation[1];     /* Not being output */
-    char Magnetic_E_W_Indicator[1]; /* Not being outupt */
     char Mode[5];                   /* N = No Fix, A = autonomous mode, D = Differential mode + checksum */
-}RMC_Data;
+}RMC_data;
 
-void Parse_RMC_data(RMC_data *RMC_data_parse);
+RMC_data Parse_RMC_data(char RMC_sentence[MAX_NMEA_LENGTH]);
+void Print_RMC_data(RMC_data *RMC_data_print);
 
 // struct RMC_msg l86_retreive_RMC(void) <= e.g.