From b659aa00d54d0be346e8b38eb9ac947ab96805a0 Mon Sep 17 00:00:00 2001 From: theshaun Date: Mon, 15 Jun 2026 22:42:49 +1000 Subject: [PATCH 1/3] Update Femtofox radio settings, remove gpiod requirement and set 1w as 22db (boosts to 30db anyway on hardware) --- radio-settings.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/radio-settings.json b/radio-settings.json index bd955e7..82c8ba7 100644 --- a/radio-settings.json +++ b/radio-settings.json @@ -136,7 +136,6 @@ "cs_id": 0, "cs_pin": 16, "gpio_chip": 1, - "use_gpiod_backend": true, "reset_pin": 25, "busy_pin": 22, "irq_pin": 23, @@ -144,7 +143,7 @@ "rxen_pin": 24, "txled_pin": -1, "rxled_pin": -1, - "tx_power": 30, + "tx_power": 22, "use_dio3_tcxo": true, "preamble_length": 32 }, @@ -154,7 +153,6 @@ "cs_id": 0, "cs_pin": 16, "gpio_chip": 1, - "use_gpiod_backend": true, "reset_pin": 25, "busy_pin": 22, "irq_pin": 23, From b9c82b57783c954104d67f8860eeab251e5340c2 Mon Sep 17 00:00:00 2001 From: theshaun Date: Mon, 15 Jun 2026 23:21:12 +1000 Subject: [PATCH 2/3] Resolve gpio_chip + use_gpiod_backend not being set during setup --- GITpyMC_core | 1 + repeater/web/api_endpoints.py | 6 ++++++ 2 files changed, 7 insertions(+) create mode 160000 GITpyMC_core diff --git a/GITpyMC_core b/GITpyMC_core new file mode 160000 index 0000000..5649ffe --- /dev/null +++ b/GITpyMC_core @@ -0,0 +1 @@ +Subproject commit 5649ffe04ccec3febef2b0d2d5509e1b4ed21ad2 diff --git a/repeater/web/api_endpoints.py b/repeater/web/api_endpoints.py index 5dad39a..f8f26c3 100644 --- a/repeater/web/api_endpoints.py +++ b/repeater/web/api_endpoints.py @@ -1342,6 +1342,12 @@ class APIEndpoints: config_yaml["sx1262"]["use_dio2_rf"] = hw_config.get("use_dio2_rf", False) if "is_waveshare" in hw_config: config_yaml["sx1262"]["is_waveshare"] = hw_config.get("is_waveshare", False) + if "gpio_chip" in hw_config: + config_yaml["sx1262"]["gpio_chip"] = hw_config.get("gpio_chip", 0) + if "use_gpiod_backend" in hw_config: + config_yaml["sx1262"]["use_gpiod_backend"] = hw_config.get( + "use_gpiod_backend", False + ) # Write updated config with open(self._config_path, "w") as f: yaml.dump(config_yaml, f, default_flow_style=False, sort_keys=False) From 8b948e1305b1e2a7352a1271d84fee466320cb84 Mon Sep 17 00:00:00 2001 From: theshaun Date: Mon, 15 Jun 2026 23:28:35 +1000 Subject: [PATCH 3/3] dont be silly shaun --- GITpyMC_core | 1 - 1 file changed, 1 deletion(-) delete mode 160000 GITpyMC_core diff --git a/GITpyMC_core b/GITpyMC_core deleted file mode 160000 index 5649ffe..0000000 --- a/GITpyMC_core +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5649ffe04ccec3febef2b0d2d5509e1b4ed21ad2