GPS working with LoRa code - can't transmit faster that once every 6 seconds
Dependencies: mbed LoRaWAN-lib_gps_lora SingleFrequencyLora
Diff: app/main.cpp
- Revision:
- 14:9e41438308eb
- Parent:
- 13:66d854ad31d8
- Child:
- 15:b4d11baea8bc
diff -r 66d854ad31d8 -r 9e41438308eb app/main.cpp --- a/app/main.cpp Fri Nov 24 15:20:12 2017 +0000 +++ b/app/main.cpp Fri Nov 24 15:39:51 2017 +0000 @@ -103,7 +103,7 @@ void LoRaSend(){ if(GPS_data_ready == 1){ sending = 1; - char AppDatas[APPDATA_SIZE+2]="h"; + char AppDatas[APPDATA_SIZE];//="h"; strcat(AppDatas, GPS_parse.Latitude); strcat(AppDatas, ","); strcat(AppDatas, GPS_parse.Longitude);