I see that the RFM69 library has the Initialize method that allows a nodeID and networkID parameter, while the RH_RF95 library has no such feature.
Is there a way to use a networkID with the RH_RF95 library or any other way to limit received transmissions to a specific group or network?
I'm just starting to dig into RH_RF95.h and .cpp, but I thought if someone else has already solved this then I'm happy to not re-invent the wheel.
Regards,
Jerry
Did you get the LowPowerLab (https://lowpowerlab.com/RadioHead_LowPowerLab.zip)version or the Radiohead version ?
I'm not a 100% sure but I think this is handled it the LowPowerLab version Checkout this link:
https://lowpowerlab.com/moteino/#lora
Sid
There is no specific NetworkID. Instead, the radioHead Lib supply 2 others "meta" lib which are RHReliableDatagram or RHDatagram. They allows you to specify NodeID & GatewayID
Thanks! I should be able to use those libs.
Another question I have: If you use an address, i.e., network ID and/or node ID, will the receivers that are also set to that ID be woken up from from radio.sleep when a message targeting them is available? Or does the device have to not be in radio.sleep and lowPower sleep modes?
Also, will they be woken up from radio.sleep if a message not targeted for them comes through the airwaves on the same frequency?
-Jerry
radio.sleep != radio.recv :)
From the doc :
Sets the radio into low-power sleep mode. If successful, the transport will stay in sleep mode until woken by changing mode it idle, transmit or receive (eg by calling send(), recv(), available() etc) Caution: there is a time penalty as the radio takes a finite time to wake from sleep mode.