SUBGRF_SetRfTxPower
interprets power
argument incorrectly.
#64
Labels
bug
Something isn't working
internal bug tracker
Issue confirmed and reported into a ticket in the internal bug tracking system
mw
Middleware-related issue or pull-request.
subghz
SubGHz-related issue or pull-request.
The bug is in
Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio_driver.h
:SUBGRF_SetRfTxPower
expectsTx power level [0..15]
. It does checks onpower > 15
to selectRFO_HP
and then it callsSUBGRF_SetTxParams
that expectsRF output power [-18..13] dBm
.So it interprets
power
argument incorrectly as it it's index, not dBm while later it's used as dBm. All the client code in https://github.com/stm32duino/STM32LoRaWAN/ usesSUBGRF_SetRfTxPower
providing power in dBm.The text was updated successfully, but these errors were encountered: