LoRaWAN - manually set TX Power level? #1074
-
Greetings! Using an example sketch such as LoRaWAN_ABP, I am in search of the 'correct' way to lock in the TX Power level. In There is also a specific command parameter (sorry if not the correct term) in Lastly, associated with each module (sx1276, in my case) there the standard directive radio.setOutputPower What I do NOT know is, which setting gets the "last word" - i.e., has the highest priority. The context here is 2-fold... for experimentation purposes I would like to be able to guarantee that my device is transmitting at its maximum RF power level (without regard to any setting established by the LoRaWAN bandplan selected) -and- I need to be able to impose a much LOWER TX power level to safely use an external RF amp. Many thanks for any guidance on how to lock in a single, specific RF TX power level using RadioLib's LoRaWAN capabilities. -Scott, K4KDR |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks a million for the reply - that is very helpful! And thanks also for the cautionary and very important note about staying within legal power limits. I'll continue testing now without having to wonder if I am adjusting TX Power in the proper way! |
Beta Was this translation helpful? Give feedback.
node.setTxPower()
overrulesradio.setOutputPower()
, but is limited byband.powerMax
. Make sure that you comply with local regulations & laws (the actual, real laws that may earn you a visit from police) before increasing thepowerMax
value. Otherwise just usesetTxPower()
.