From e3029de6e4b520f045fa4e15c1b12677dc22e784 Mon Sep 17 00:00:00 2001 From: TeTeHacko Date: Mon, 2 Nov 2026 14:22:13 +0100 Subject: [PATCH] pub-release: build the repeater's channel filter in (empty list) Co-Authored-By: Claude Opus 5.5 --- .github/workflows/pub-release.yml | 4 ++++ README.md | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pub-release.yml b/.github/workflows/pub-release.yml index ad43b95b..c9979452 100644 --- a/.github/workflows/pub-release.yml +++ b/.github/workflows/pub-release.yml @@ -41,10 +41,14 @@ env: # 869.432/62.5/SF7/CR5; repeater + room server: zero-hop advert off, flood # advert 25 h, af 9 (= 10 % duty cycle); repeater: regions cz,cs next to *. # Path hash 2 B is this fork's default anyway. TX power stays the board's. + # FILTER_CHANNEL_PSKS = [channel_filter] in platformio.ini (#meshcore, Public, + # #test -- public keys): compiles the repeater's `filter` (deny-forward by + # sender name); inert until an operator adds a name. PUB_FLAGS: >- -D LORA_FREQ=869.432 -D LORA_BW=62.5 -D LORA_SF=7 -D LORA_CR=5 -D ADVERT_INTERVAL_DEFAULT=0 -D FLOOD_ADVERT_INTERVAL_DEFAULT=25 -D AIRTIME_FACTOR_DEFAULT=9.0 -D DEFAULT_REGIONS=\"cz,cs\" + -D FILTER_CHANNEL_PSKS=\"2fa78a5aef618e7c2a78f0ab5c8869b3,8b3387e9c5cdea6ac9e5edbaa115cd72,9cd8fcf22a47333b591d96a2b848b73f\" ENVS: >- Xiao_nrf52_repeater Xiao_nrf52_companion_radio_ble Xiao_nrf52_room_server Xiao_nrf52_sensor SenseCap_Solar_repeater SenseCap_Solar_companion_radio_ble diff --git a/README.md b/README.md index 16bf883a..4b8dbf3f 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,10 @@ freshly flashed node does not need the usual round of settings: `af 9` (10 % duty cycle); * repeater: regions `cz` and `cs` next to `*` -- add your own `cz-` with `region put cz-xxx cz` + `region save`; -* 2-byte path hashes (this fork's default). +* 2-byte path hashes (this fork's default); +* repeater: the channel filter (`filter add `) is built in for Public, + `#meshcore` and `#test`, with an empty list -- it does nothing until you + add a name. They apply only to a node with no saved settings (new, or after an erase): a reflash keeps whatever the node already has, and regions you removed and