code base MDOT lorawan
Dependencies: Servo Cayenne-LPP
Diff: main.cpp
- Revision:
- 63:cd8ab5860303
- Parent:
- 62:10ba6387b44c
diff -r 10ba6387b44c -r cd8ab5860303 main.cpp --- a/main.cpp Sun Sep 27 15:34:16 2020 +0000 +++ b/main.cpp Tue Oct 20 13:21:32 2020 +0000 @@ -216,7 +216,7 @@ Payload.reset(); size = Payload.addTemperature(1, (float) fTemp); - size =size+ Payload.addRelativeHumidity(1, fRH); + size =size+ Payload.addRelativeHumidity(2, fRH); // send complete message with cayenne format retcode = lorawan.send(MBED_CONF_LORA_APP_PORT, Payload.getBuffer(), Payload.getSize(),