This is an example application based on Mbed-OS LoRaWAN protocol APIs. The Mbed-OS LoRaWAN stack implementation is compliant with LoRaWAN v1.0.2 specification.

Dependencies:   Lorawan_Version_0_1

Dependents:   Lorawan_Version_0_1

Revision:
62:35d41c8b9419
Parent:
61:2b30d8e75fe7
Child:
63:2bfceda4c30c
diff -r 2b30d8e75fe7 -r 35d41c8b9419 GPS/GPS.cpp
--- a/GPS/GPS.cpp	Thu Nov 28 15:44:17 2019 +0000
+++ b/GPS/GPS.cpp	Tue Dec 03 16:02:12 2019 +0000
@@ -22,7 +22,7 @@
  */
  
 #include "GPS.h"
- 
+ int i ;
 GPS::GPS(PinName tx, PinName rx, int Baud) : _gps(tx, rx)
 {
     _gps.baud(Baud);
@@ -36,8 +36,11 @@
     int lock;
  
     while(1) {
+        printf("GPS 1");
         getline();
- 
+        printf("GPS 2");
+        i=i+1;
+        printf("%d",i);
         // Check if it is a GPGGA msg (matches both locked and non-locked msg)
         if(sscanf(msg, "GPGGA,%f,%f,%c,%f,%c,%d,%d,%f,%f,%c,%f", &time, &latitude, &ns, &longitude, &ew, &lock, &sats, &hdop, &alt, &unit, &geoid) >= 1) {
             if(!lock) {