sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.64k stars 627 forks source link

No higher value than 17 in LoRa.setTxPower() function #275

Closed linuxtrainer closed 5 years ago

linuxtrainer commented 5 years ago

Using the ArduinoIDE with the LoRa-Library Version 5.0.5 installed will use the old setTxPower()-function, where no higher values than 17 will be used. This only happens when you install the LoRa-Library in the ArduinoIDE over 'Tools' ->'Manage Libraries ...' --> 'Library Manager'

The old setTxPower()-Function does not consider register 0x4D, therefor no higher values than 17dBm will used. In the newest code on github this problem is solved but using the arduinoIDE will deliver the old code. This problem can only be bypassed if the newest library-code is manually installed in the arduinoIDE downloading ZIP-File and then install! Perhaps version-number should be changed from 0.5.0 to 0.6.0??

I have testet this with three brand-new ArduinoIDE-Installations, I always got the old code! THX for helping!

morganrallen commented 5 years ago

Version 0.6.0 has been release. Give it a try and let me know if this solves your issue.

linuxtrainer commented 5 years ago

THX - works for me! Thank you for the valuable work you do!