UNLEASHED:: TX Power setting to SubGhz App

* Works in Read, and Read RAW.
* You can now adjust the TX power for testing devices without desyncing them from inside
* Lets you do RTL testing etc on very low power.

CODE REFACTORED, subghz_txrx_set_tx_power added.
This commit is contained in:
Leeroy
2026-02-04 17:11:03 +11:00
parent 30d48c112b
commit a515f435fc
11 changed files with 167 additions and 23 deletions

View File

@@ -165,11 +165,15 @@ void subghz_scene_receiver_on_enter(void* context) {
if(subghz_rx_key_state_get(subghz) == SubGhzRxKeyStateIDLE) {
subghz_txrx_set_preset_internal(
subghz->txrx, subghz->last_settings->frequency, subghz->last_settings->preset_index);
subghz->txrx,
subghz->last_settings->frequency,
subghz->last_settings->preset_index,
subghz->last_settings->tx_power);
subghz->filter = subghz->last_settings->filter;
subghz_txrx_receiver_set_filter(subghz->txrx, subghz->filter);
subghz->ignore_filter = subghz->last_settings->ignore_filter;
subghz->tx_power = subghz->last_settings->tx_power;
subghz_history_reset(history);
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateStart);