docs site preview: repository link

This commit is contained in:
tth committed 2026-12-02 01:05:26 +01:00
1 parent 31492ac499
commit a543fd7016
25 files changed
+576 -61

No files matched your search

+1 -1
View File
@@ -1 +1 @@
{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"About this fork (meshcore-tth) \u010cesk\u00e1 verze . Warning Experimental firmware -- not meant for regular users. This fork and all its releases are a personal development branch for the nodes of one small network: a rolling release on upstream dev , built automatically about twice a day, with no stable channel, no support, and tried only on our own boards. It may carry bugs that take a node out of service, and getting one back then needs USB or BLE in hand. For everyday use flash the official MeshCore ( flasher.meshcore.io ). A fork of meshcore-dev/MeshCore that runs the repeaters, sensors and bench boards of a small Czech network on the CZ mesh (869.432 MHz). Upstream main and dev are merged automatically twice a day; everything below is on top of that. Our code is marked CUSTOM (TeTeHacko) in the source. Nothing here changes the wire protocol. Repeater: antispam (all of it off-switchable, none of it upstream) After flashing only the FairnessLimiter is on , with limits about twice above 30 days of real CZ mesh traffic: per channel a burst of 100 messages, then one per 30 s; per sender 150 and one per 10 s; per advert origin 30 and one per 10 min. It is a net for runaway floods, not a quota; fairness off switches it off for good. The advert window, the filters and dry-run stay off until you turn them on. FairnessLimiter -- token buckets on forwarded floods, keyed on the 1-byte ids already in the clear (channel hash, sender hash, advert origin). Port of Beanow's proposal #1502 , limits re-sized from 30 days of real CZ traffic. fairness <on|off> , fairness cap , fairness refill , fairness grid ; direct-routed traffic is never limited. Per-origin advert window -- each node's flood advert forwarded at most once per N hours ( fairness advert <hours> , fairness advert clear ), ported from DutchMeshCore 's AdvertLimiter. Aimed at nodes that re-advertise every minute. Dry-run -- fairness dryrun on counts every verdict but forwards anyway; fairness air reports the airtime shed (or that would be) per reason. Channel filter -- on channels whose key the repeater knows (Public and #hashtag channels), stop forwarding messages of listed sender names ( filter add <name> , filter del <name> , filter list ). Names are spoofable: it contains a runaway bot, it is not security. Channel-hash deny-forward -- filter hash add <hex> [secs] : keyless, works on private channels too; reception is unaffected, only forwarding. With secs the channel is throttled (one packet per secs ) instead of cut. Message age limit -- filter age <minutes> / filter age off (opt-in, 1-10080 min): do not forward group texts on the decrypted channels whose sender timestamp is older; inactive while the repeater clock is unset. It judges the sender's clock, so companions without a time sync are dropped too -- keep it in days. filter dryrun on counts every filter verdict but forwards anyway. Diagnostics and operations Every command of the fork, which builds have it and the defaults: docs/tth-commands.md . Repeater, room server and sensor (everything with a text console) have: Radio watchdogs. The hardware watchdog only catches a frozen loop; two of our nodes were found deaf with the loop running, and only a reboot helped. set radio.silence <min> -- deaf receiver : when the received-frame counter does not move for <min> minutes (a frame with a CRC error counts), the node re-arms its receiver first and reboots if that does not help either. Each such reboot doubles the threshold for the next boot (up to 16x) and the first frame received resets it, so a quiet site does not end in a reboot loop. Saved; off by default ( 0 ) -- pick a threshold well above the longest normal quiet spell of the site. Stalled TX (repeater only): packets wait in the queue and the sent counter does not move -> re-arm the radio, then reboot. An empty queue never counts. On, 15 min ( RADIO_TXSTALL_MIN ); set radio.txstall <min>|off holds until the next reboot. get radio.reboots -- reboots done by the watchdogs (survives power loss); get boot -- why the board last reset, and the hardfault record (also printed at boot). dfu [uf2|serial|ota] -- a deterministic reboot into the bootloader (local console only); i2c -- bus scan. The repeater also has: blink (flashes the LED, also over the mesh -- finds a node on a mast), txpwr (TX power until reboot, with RadioLib's verdict), TX-failure counters in the status reply. Observer variants only ( *-observer ): text console over BLE next to USB, ble <on|off> saved across reboots ( RPT_BLE_DEFAULT_OFF : starts off), own BLE PIN ( ble pin ), persisted connection TX power ( blepwr ), bleconn , a non-blocking BLE TX pump and connection parameters that hold on a weak link. Also observer variants only: a passive analyzer in the console -- nodes (heard repeaters/rooms, multi-path join key), rxlog (every frame hearLine truncated
{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"About this fork (meshcore-tth) \u010cesk\u00e1 verze . Warning Experimental firmware -- not meant for regular users. This fork and all its releases are a personal development branch for the nodes of one small network: a rolling release on upstream dev , built automatically about twice a day, with no stable channel, no support, and tried only on our own boards. It may carry bugs that take a node out of service, and getting one back then needs USB or BLE in hand. For everyday use flash the official MeshCore ( flasher.meshcore.io ). A fork of meshcore-dev/MeshCore that runs the repeaters, sensors and bench boards of a small Czech network on the CZ mesh (869.432 MHz). Upstream main and dev are merged automatically twice a day; everything below is on top of that. Our code is marked CUSTOM (TeTeHacko) in the source. Nothing here changes the wire protocol. The fork's and upstream's docs as a website: https://tth-pub.pages.rfa.cz/meshcore-tth/ Repeater: antispam (all of it off-switchable, none of it upstream) After flashing only the FairnessLimiter is on , with limits about twice above 30 days of real CZ mesh traffic: per channel a burst of 100 messages, then one per 30 s; per sender 150 and one per 10 s; per advert origin 30 and one per 10 min. It is a net for runaway floods, not a quota; fairness off switches it off for good. The advert window, the filters and dry-run stay off until you turn them on. FairnessLimiter -- token buckets on forwarded floods, keyed on the 1-byte ids already in the clear (channel hash, sender hash, advert origin). Port of Beanow's proposal #1502 , limits re-sized from 30 days of real CZ traffic. fairness <on|off> , fairness cap , fairness refill , fairness grid ; direct-routed traffic is never limited. Per-origin advert window -- each node's flood advert forwarded at most once per N hours ( fairness advert <hours> , fairness advert clear ), ported from DutchMeshCore 's AdvertLimiter. Aimed at nodes that re-advertise every minute. Dry-run -- fairness dryrun on counts every verdict but forwards anyway; fairness air reports the airtime shed (or that would be) per reason. Channel filter -- on channels whose key the repeater knows (Public and #hashtag channels), stop forwarding messages of listed sender names ( filter add <name> , filter del <name> , filter list ). Names are spoofable: it contains a runaway bot, it is not security. Channel-hash deny-forward -- filter hash add <hex> [secs] : keyless, works on private channels too; reception is unaffected, only forwarding. With secs the channel is throttled (one packet per secs ) instead of cut. Message age limit -- filter age <minutes> / filter age off (opt-in, 1-10080 min): do not forward group texts on the decrypted channels whose sender timestamp is older; inactive while the repeater clock is unset. It judges the sender's clock, so companions without a time sync are dropped too -- keep it in days. filter dryrun on counts every filter verdict but forwards anyway. Diagnostics and operations Every command of the fork, which builds have it and the defaults: docs/tth-commands.md . Repeater, room server and sensor (everything with a text console) have: Radio watchdogs. The hardware watchdog only catches a frozen loop; two of our nodes were found deaf with the loop running, and only a reboot helped. set radio.silence <min> -- deaf receiver : when the received-frame counter does not move for <min> minutes (a frame with a CRC error counts), the node re-arms its receiver first and reboots if that does not help either. Each such reboot doubles the threshold for the next boot (up to 16x) and the first frame received resets it, so a quiet site does not end in a reboot loop. Saved; off by default ( 0 ) -- pick a threshold well above the longest normal quiet spell of the site. Stalled TX (repeater only): packets wait in the queue and the sent counter does not move -> re-arm the radio, then reboot. An empty queue never counts. On, 15 min ( RADIO_TXSTALL_MIN ); set radio.txstall <min>|off holds until the next reboot. get radio.reboots -- reboots done by the watchdogs (survives power loss); get boot -- why the board last reset, and the hardfault record (also printed at boot). dfu [uf2|serial|ota] -- a deterministic reboot into the bootloader (local console only); i2c -- bus scan. The repeater also has: blink (flashes the LED, also over the mesh -- finds a node on a mast), txpwr (TX power until reboot, with RadioLib's verdict), TX-failure counters in the status reply. Observer variants only ( *-observer ): text console over BLE next to USB, ble <on|off> saved across reboots ( RPT_BLE_DEFAULT_OFF : starts off), own BLE PIN ( ble pin ), persisted connection TX power ( blepwr ), bleconn , a non-blocking BLE TX pump and connection parameters that hold on a weak link. Also observer variants only: a passive analyzer in thLine truncated