mcci-catena / arduino-lmic

LoraWAN-MAC-in-C library, adapted to run under the Arduino environment
https://forum.mcci.io/c/device-software/arduino-lmic/
MIT License
638 stars 208 forks source link

Setting LMIC.txpow does not effect the actualt TX power #881

Open BartJansseune opened 2 years ago

BartJansseune commented 2 years ago

While debugging I noticed that even though the LMIC.txpow was set to 27, the REG_PA_CONFIG register contained value 0x80. When changing LMIC.txpow to another value, REG_PA_CONFIG stayed the same. Also found no code that actually writes LMIC.txpow to REG_PA_CONFIG. Is this a bug or is there another way of setting the TX power.

T365 commented 2 years ago

You have to build your own factory firmware, go to Espressif, somewhere on there site you can build the factory firmware yourself including a higher power TX output