-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
bugSomething isn't workingSomething isn't workinginternal bug trackerIssue confirmed and logged into the internal bug tracking systemIssue confirmed and logged into the internal bug tracking systemmwMiddleware-related issue or pull-request.Middleware-related issue or pull-request.subghzSub-GHz radioSub-GHz radio
Description
The bug is in Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio_driver.h:
SUBGRF_SetRfTxPower expects Tx power level [0..15]. It does checks on power > 15 to select RFO_HP and then it calls SUBGRF_SetTxParams that expects RF 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/ uses SUBGRF_SetRfTxPower providing power in dBm.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginternal bug trackerIssue confirmed and logged into the internal bug tracking systemIssue confirmed and logged into the internal bug tracking systemmwMiddleware-related issue or pull-request.Middleware-related issue or pull-request.subghzSub-GHz radioSub-GHz radio