Set Antenna Gain in the LoRaWAN stack

Simon_Moser
Wed, 20 Oct 2021 14:04:11 +0000
Best practice

Hi

How can I set the antenna gain in the LoRaWAN stack without editing the libraries directly?

I have a project where I use a 868 MHz patch antenna with -3 dBi gain. I want to be able to send with the max allowed EIRP. The TX power in the LoRaWAN stack is calculated from the max allowed EIRP and the antenna gain. Since the max EIRP is 16 dBm, the respective max tx power should be 19 dBm because of the negative antenna gain. But the antenna gain inside the stack is set to the default calue of 2.15 dBi. I want to change that value without changing defaults inside libraries.

Thanks for your help!
Simon

3 posts - 2 participants