Hi there
We just purchased 10 Whisper Node Lora modules a few weeks ago and we're just getting around to playing with them.
The documentation mentions that the talk2 library needs the radiohead and low-power libraries. I've gone ahead and installed them, and all seems okay. However, I see no reference to the radiohead library in the examples. Does the line:
#include <T2WhisperNode.h>
also pull in the radiohead library, or should I explicitly include it?
Also, I would appreciate some examples of Lora communication using radiohead.
While I'm at it, is there any documentation on the T2Message class anywhere:
Am I correct in thinking this is a wrapper around the RadioHead library?
Regards from the UK
Mark Wills
We just purchased 10 Whisper Node Lora modules a few weeks ago and we're just getting around to playing with them.
The documentation mentions that the talk2 library needs the radiohead and low-power libraries. I've gone ahead and installed them, and all seems okay. However, I see no reference to the radiohead library in the examples. Does the line:
#include <T2WhisperNode.h>
also pull in the radiohead library, or should I explicitly include it?
Also, I would appreciate some examples of Lora communication using radiohead.
While I'm at it, is there any documentation on the T2Message class anywhere:
Code: Select all
T2Message myMsg;
// Send Node ID on start-up as Event
myMsg.cmd = 0x00;
myMsg.idx = 0x06;
myMsg.sdx = 0x01;
myMsg.src = clientAddr;
myMsg.dst = testAddr;
memcpy(myMsg.data, myFlash.uniqueId, 8);
myMsg.len = 8; //Update length
radioBufLen = 0;
myMsg.getSerializedMessage(radioBuf, &radioBufLen);
myRadio.send(radioBuf, radioBufLen);
myRadio.waitPacketSent(1000);
Regards from the UK
Mark Wills
