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
Diff: GPS/GPS.h
- Revision:
- 69:316fee01f5d9
- Parent:
- 66:a11c79073f1f
- Child:
- 70:65b2f1cc2859
diff -r 41fff9c3fb4f -r 316fee01f5d9 GPS/GPS.h --- a/GPS/GPS.h Fri Jan 17 13:46:31 2020 +0000 +++ b/GPS/GPS.h Sun Jan 19 15:53:57 2020 +0000 @@ -42,7 +42,8 @@ */ int sample(); - void GPS_OFF(); + void idle(bool idle); +void GPS_aktiv(); /** Beijig time format(shi,fen,miao) **/ int hour; @@ -76,6 +77,9 @@ /** The geoid (call sample() to set) */ float geoid; + bool is_idle; + uint32_t idle_time; + /** The NMEA sentence */ char msg[256];