GPS working with LoRa code - can't transmit faster that once every 6 seconds
Dependencies: mbed LoRaWAN-lib_gps_lora SingleFrequencyLora
Diff: app/l86.hpp
- Revision:
- 15:b4d11baea8bc
- Parent:
- 13:66d854ad31d8
--- a/app/l86.hpp Fri Nov 24 15:39:51 2017 +0000 +++ b/app/l86.hpp Wed Nov 29 15:01:09 2017 +0000 @@ -10,6 +10,10 @@ #define DEBUGGER // uncomment to output serial data to PC + +#define TEST_NODE_ID "666" +#define TEST_NODE_TYPE "R" + /* PIN DEFINITIONS */ // #define RESET_PIN PB_14 // #define FORCE_ON_PIN PB_15 @@ -61,8 +65,10 @@ char Longitude[12]; char Speed_Over_Ground[5]; char Course_Over_Ground[7]; - char Date[7]; + // char Date[7]; char Valid[2]; + char Node_ID[4]; + char Node_Type[2]; }GPS_data; RMC_data Parse_RMC_sentence(char RMC_sentence[MAX_NMEA_LENGTH]);