{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"O tomto forku (meshcore-tth) English version below -- experimental firmware, not meant for regular users. Warning Experiment\u00e1ln\u00ed firmware \u2013 nen\u00ed ur\u010den\u00fd pro b\u011b\u017en\u00e9 u\u017eivatele. Tenhle fork i v\u0161echny jeho releasy jsou osobn\u00ed v\u00fdvojov\u00e1 v\u011btev pro uzly jedn\u00e9 mal\u00e9 s\u00edt\u011b: rolling release nad upstreamovou v\u011btv\u00ed dev , sestavovan\u00fd automaticky zhruba dvakr\u00e1t denn\u011b, bez stabiln\u00edho kan\u00e1lu, bez podpory a vyzkou\u0161en\u00fd jen na na\u0161ich desk\u00e1ch. M\u016f\u017ee obsahovat chyby, kter\u00e9 uzel vy\u0159ad\u00ed z provozu, a vr\u00e1tit ho pak jde jen s USB nebo BLE v ruce. Pro b\u011b\u017en\u00fd provoz nahrajte ofici\u00e1ln\u00ed MeshCore ( flasher.meshcore.io ). Fork projektu meshcore-dev/MeshCore , na kter\u00e9m b\u011b\u017e\u00ed repeatery, senzory a testovac\u00ed desky mal\u00e9 \u010desk\u00e9 s\u00edt\u011b na CZ meshi (869,432 MHz). Upstreamov\u00e9 v\u011btve main a dev se slu\u010duj\u00ed automaticky dvakr\u00e1t denn\u011b; v\u0161echno n\u00ed\u017ee je nav\u00edc nad nimi. N\u00e1\u0161 k\u00f3d je ve zdroj\u00e1c\u00edch ozna\u010den\u00fd CUSTOM (TeTeHacko) . Nic z toho nem\u011bn\u00ed protokol na r\u00e1diu. Repeater: antispam (v\u0161echno vyp\u00ednateln\u00e9, nic z toho nen\u00ed v upstreamu) Po nahr\u00e1n\u00ed je zapnut\u00fd jen FairnessLimiter , s limity se zhruba dvojn\u00e1sobnou rezervou nad 30 dn\u00ed skute\u010dn\u00e9ho provozu CZ meshe: na kan\u00e1l d\u00e1vka 100 zpr\u00e1v a pak jedna za 30 s, na odes\u00edlatele 150 a jedna za 10 s, na p\u016fvodce advertu 30 a jeden za 10 min. Je to s\u00ed\u0165 na utr\u017een\u00e9 floody, ne kv\u00f3ta; fairness off ho vypne natrvalo. Okno na adverty, filtry a dry-run jsou vypnut\u00e9, dokud je nezapnete. FairnessLimiter \u2013 token buckety na p\u0159epos\u00edlan\u00e9 floody podle 1bajtov\u00fdch identifik\u00e1tor\u016f, kter\u00e9 jsou v paketu stejn\u011b v \u010diteln\u00e9 podob\u011b (hash kan\u00e1lu, hash odes\u00edlatele, p\u016fvodce advertu). Port n\u00e1vrhu Beanowa #1502 , limity p\u0159epo\u010d\u00edtan\u00e9 z 30 dn\u00ed skute\u010dn\u00e9ho provozu CZ meshe. fairness [on|off|grid|cap|refill] ; p\u0159\u00edmo sm\u011brovan\u00fd provoz se neomezuje nikdy. Okno na adverty podle p\u016fvodce \u2013 flood advert ka\u017ed\u00e9ho uzlu se p\u0159epo\u0161le nejv\u00fd\u0161 jednou za N hodin ( fairness advert |clear ), p\u0159evzato z AdvertLimiteru DutchMeshCore . M\u00ed\u0159\u00ed na uzly, kter\u00e9 advertuj\u00ed ka\u017edou minutu. Dry-run \u2013 fairness dryrun on zapo\u010d\u00edt\u00e1 ka\u017ed\u00fd verdikt, ale p\u0159epo\u0161le i tak; fairness air uk\u00e1\u017ee u\u0161et\u0159en\u00fd (nebo u\u0161et\u0159iteln\u00fd) airtime podle d\u016fvodu. Filtr kan\u00e1l\u016f \u2013 na kan\u00e1lech, jejich\u017e kl\u00ed\u010d repeater zn\u00e1 (Public a #hashtag kan\u00e1ly), p\u0159estane p\u0159epos\u00edlat zpr\u00e1vy uveden\u00fdch jmen odes\u00edlatel\u016f ( filter add|del|list ). Jm\u00e9no se d\u00e1 podvrhnout: je to brzda na utr\u017een\u00e9ho bota, ne bezpe\u010dnost. Blokace p\u0159epos\u00edl\u00e1n\u00ed podle hashe kan\u00e1lu \u2013 filter hash add [s] : bez kl\u00ed\u010de, tak\u017ee funguje i na soukrom\u00fdch kan\u00e1lech; p\u0159\u00edjem se nem\u011bn\u00ed, jen p\u0159epos\u00edl\u00e1n\u00ed. S s se kan\u00e1l neod\u0159\u00edzne, ale p\u0159i\u0161krt\u00ed (jeden paket za s sekund). Limit st\u00e1\u0159\u00ed zpr\u00e1vy \u2013 filter age |off (voliteln\u00e9, 1\u201310080 min): nep\u0159epos\u00edl\u00e1 skupinov\u00e9 zpr\u00e1vy na de\u0161ifrovan\u00fdch kan\u00e1lech, jejich\u017e \u010das od odes\u00edlatele je star\u0161\u00ed; bez nastaven\u00fdch hodin repeateru neplat\u00ed. Posuzuje hodiny odes\u00edlatele, tak\u017ee zahod\u00ed i companiony bez synchronizace \u010dasu \u2013 nastavuj ho na dny. filter dryrun on zapo\u010d\u00edt\u00e1 ka\u017ed\u00fd verdikt filter , ale p\u0159epo\u0161le i tak. Diagnostika a provoz V\u0161echny p\u0159\u00edkazy forku, kde je kter\u00fd build m\u00e1 a v\u00fdchoz\u00ed hodnoty: docs/tth-commands.md . Repeater, room server i senzor (v\u0161echno s textovou konzol\u00ed) maj\u00ed: Watchdogy r\u00e1dia. Hardwarov\u00fd watchdog chyt\u00ed jen zamrzlou smy\u010dku; dva na\u0161e uzly ale byly nalezeny hluch\u00e9 s b\u011b\u017e\u00edc\u00ed smy\u010dkou a pomohl a\u017e restart. set radio.silence \u2013 hluch\u00fd p\u0159ij\u00edma\u010d : kdy\u017e se za minut nepohne \u010d\u00edta\u010d p\u0159ijat\u00fdch r\u00e1mc\u016f (po\u010d\u00edt\u00e1 se i r\u00e1mec s chybou CRC), uzel nap\u0159ed znovu nahod\u00ed p\u0159\u00edjem, a kdy\u017e ani to nepom\u016f\u017ee, restartuje se. Ka\u017ed\u00fd takov\u00fd restart zdvojn\u00e1sob\u00ed pr\u00e1h pro p\u0159\u00ed\u0161t\u00ed start (a\u017e 16\u00d7), prvn\u00ed p\u0159ijat\u00fd r\u00e1mec ho vr\u00e1t\u00ed, tak\u017ee tich\u00e9 m\u00edsto neskon\u010d\u00ed ve smy\u010dce restart\u016f. Ulo\u017e\u00ed se; ve v\u00fdchoz\u00edm stavu vypnut\u00fd ( 0 ) \u2013 pr\u00e1h volte s rezervou nad nejdel\u0161\u00ed b\u011b\u017en\u00e9 ticho na m\u00edst\u011b. Zaseknut\u00e9 vys\u00edl\u00e1n\u00ed (jen repeater): pakety \u010dekaj\u00ed ve front\u011b a \u010d\u00edta\u010d odeslan\u00fdch se neh\u00fdbe \u2192 znovu nahod\u00ed r\u00e1dio, pak restart. Pr\u00e1zdn\u00e1 fronta se nepo\u010d\u00edt\u00e1. Zapnut\u00fd, 15 min ( RADIO_TXSTALL_MIN ); set radio.txstall |off plat\u00ed jen do restartu. get radio.reboots \u2013 kolik restart\u016f watchdogy ud\u011blaly (p\u0159e\u017eije i v\u00fdpadek nap\u00e1jen\u00ed); get boot \u2013 pro\u010d se deska naposledy resetovala a z\u00e1znam o hardfaultu (vyp\u00ed\u0161e se i p\u0159i startu). dfu [uf2|serial|ota] \u2013 spolehliv\u00fd reboot do bootloaderu (jen z lok\u00e1ln\u00ed konzole); i2c \u2013 sken sb\u011brnice. Repeater nav\u00edc: blink (rozblik\u00e1 LED, i p\u0159es mesh \u2013 najdete uzel na sto\u017e\u00e1ru), txpwr (vys\u00edlac\u00ed v\u00fdkon do restartu, s verdiktem RadioLibu), \u010d\u00edta\u010de chyb vys\u00edl\u00e1n\u00ed ve stavov\u00e9 odpov\u011bdi. Jen observer varianty ( *-observer ): textov\u00e1 konzole p\u0159es BLE vedle USB, ble on|off ulo\u017een\u00e9 p\u0159es reboot ( RPT_BLE_DEFAULT_OFF : startuje vypnut\u00e9), vlastn\u00ed BLE PIN ( ble pin ), ulo\u017een\u00fd vys\u00edlac\u00ed v\u00fdkon spojen\u00ed ( blepwr ), bleconn , neblokuj\u00edc\u00ed BLE vys\u00edl\u00e1n\u00ed a parametry spojen\u00ed, kter\u00e9 vydr\u017e\u00ed i na slab\u00e9m linku. Taky jen observer varianty: pasivn\u00ed analyz\u00e1tor v konzoli \u2013 nodes (sly\u0161en\u00e9 repeatery a roomy, kl\u00ed\u010d pro spojen\u00ed v\u00edce cest), rxlog (ka\u017ed\u00fd sly\u0161en\u00fd r\u00e1mec: typ, cesta, SNR, RSSI), pktlog (surov\u00e9 r\u00e1mce pro feed observeru), velk\u00e9 str\u00e1nkovan\u00e9 odpov\u011bdi. Jen vlastn\u00ed buildy, ne releasy: kan\u00e1lov\u00fd bot ( BOT_CHANNEL_PSK : !link , !path , !snr , !heard , !noise , !ping , !help , v\u00fdb\u011br p\u0159es BOT_COMMANDS , cooldown na odes\u00edlatele, ignore list) \u2013 odpov\u00edd\u00e1, ani\u017e by p\u0159epos\u00edlal; RADIO_DIAG : radiostat (stav p\u0159ij\u00edma\u010de SX1262 bez z\u00e1sahu) a radiokick rx|clrirq|standby|agc (jeden krok obnovy, od nejjemn\u011bj\u0161\u00edho \u2013 prvn\u00ed, kter\u00fd pom\u016f\u017ee, uk\u00e1\u017ee rozbitou vrstvu); PIN_DIAG : dio1 (stav p\u0159eru\u0161en\u00ed v \u010dipu proti \u00farovni na pinu \u2013 kter\u00fd konec mrtv\u00e9 linky DIO1 je p\u0159eru\u0161en\u00fd); LORA_POLL_IRQ : provoz bez DIO1 pro desku s mrtvou linkou p\u0159eru\u0161en\u00ed. Opravy j\u00e1dra Ochrana proti p\u0159ehr\u00e1n\u00ed admin p\u0159\u00edkaz\u016f p\u0159e\u017eije reboot. Upstream si posledn\u00ed timestamp klienta dr\u017e\u00ed jen v RAM, tak\u017ee po ka\u017ed\u00e9m restartu projde libovoln\u00fd zachycen\u00fd p\u0159\u00edkaz znovu \u2013 zachycen\u00fd reboot uzel restartuje po\u0159\u00e1d dokola. Repeater, room server i sensor ho te\u010f zap\u00ed\u0161ou do flash d\u0159\u00edv, ne\u017e p\u0159\u00edkaz provedou ( /s_acl_ts0|1 , st\u0159\u00eddav\u011b s kontroln\u00edm sou\u010dtem, tak\u017ee ho nesma\u017ee ani v\u00fdpadek nap\u00e1jen\u00ed p\u0159i z\u00e1pisu). Timestamp v\u00edc ne\u017e den p\u0159ed hodinami uzlu ( ACL_TS_MAX_AHEAD ) se p\u0159ijme, ale neulo\u017e\u00ed, aby companion s rozhozen\u00fdmi hodinami nezamkl admina. Ukl\u00e1d\u00e1 se jen u admin\u016f: host sm\u00ed jen \u010d\u00edst a s pr\u00e1zdn\u00fdm guest heslem se j\u00edm stane kdokoli, tak\u017ee by ka\u017ed\u00fd jeho dotaz znamenal z\u00e1pis do flash. Klient\u016f se to nijak net\u00fdk\u00e1. Hesla nejde h\u00e1dat p\u0159es \u00e9ter plnou rychlost\u00ed. Upstream kontroluje ka\u017ed\u00fd login bez omezen\u00ed a na \u0161patn\u00e9 heslo ani neodpov\u00ed. Po 4 \u0161patn\u00fdch heslech b\u011bhem 3 minut ( LOGIN_FAIL_MAX , LOGIN_FAIL_SECS ) se hesla do konce okna nekontroluj\u00ed. Klient, kter\u00fd u\u017e je v ACL jako admin, projde v\u017edy \u2013 login jeho jm\u00e9nem nikdo jin\u00fd poslat nedok\u00e1\u017ee, tak\u017ee \u00fatok adminy nezamkne. P\u0159ehran\u00fd login bez hesla u\u017e nevyvol\u00e1 flood odpov\u011b\u010f. Login klienta z ACL s pr\u00e1zdn\u00fdm heslem nem\u011bl ochranu proti p\u0159ehr\u00e1n\u00ed; \u00fato\u010dn\u00edk t\u00edm nic nez\u00edskal, ale ka\u017ed\u00e1 kopie donutila uzel poslat odpov\u011b\u010f floodem p\u0159es cel\u00fd mesh. TRACE u\u017e nep\u0159ipisuje cestu za konec payloadu; parsov\u00e1n\u00ed TRACE/PATH a Packet::readFrom hl\u00eddaj\u00ed meze. markSeen je zase idempotentn\u00ed (odes\u00edlac\u00ed cesta uj\u00eddala okno deduplikace). Z\u00e1lo\u017en\u00ed v\u00fdpo\u010det v calcMaxPacketMillis u\u017e nepodte\u010de (uzel na tom ohluchl). \u0160\u00ed\u0159ka path hashe se bere z nastaven\u00ed uzlu na v\u0161ech cest\u00e1ch vys\u00edl\u00e1n\u00ed v\u010detn\u011b sendZeroHop ; v\u00fdchoz\u00ed jsou 2bajtov\u00e9 path hashe ( PATH_HASH_MODE_DEFAULT ). Nepoveden\u00e9 vys\u00edl\u00e1n\u00ed se za\u0159ad\u00ed znovu s odstupem, m\u00edsto aby se zahodilo. RSSI ka\u017ed\u00e9ho paketu se zaznamen\u00e1 p\u0159i p\u0159\u00edjmu; ContactInfo se p\u0159ed \u010d\u00e1ste\u010dn\u00fdm vypln\u011bn\u00edm vynuluje. Nap\u00e1jen\u00ed, hodiny, GPS GPS duty cycle ( gps duty ), i na T1000-E, kde nebyl: p\u0159ij\u00edma\u010d b\u011b\u017e\u00ed jen kolem synchronizace hodin (jednou denn\u011b, po ne\u00fasp\u011b\u0161n\u00e9m okn\u011b znovu za 6 h). Dotaz na polohu p\u0159ij\u00edma\u010d probud\u00ed pro p\u0159\u00ed\u0161t\u00ed dotaz. Uzel bez GPS startuje na \u010dase sestaven\u00ed firmwaru, ne v roce 2024; hodiny a z\u00e1znam o hardfaultu p\u0159e\u017eij\u00ed tepl\u00fd reset ( .noinit ); clkreboot . Na sol\u00e1rn\u00edch uzlech \u017e\u00e1dn\u00e1 blikaj\u00edc\u00ed LED a pomalej\u0161\u00ed BLE advertising. Stav baterie jako ikona na konci advertovan\u00e9ho jm\u00e9na: set batt.icon on , prahy set batt.icon.lo|hi (v\u00fdchoz\u00ed vypnut\u00e9; dlouh\u00e9 jm\u00e9no ikonu nepojme a p\u0159\u00edkaz na to upozorn\u00ed). Voliteln\u00fd RX duty cycle ( set radio.rxps off|on|balanced|max , jemn\u011bji level <1-10> ; port PowerSaving z EasySkyMesh): SX1262 mezi kr\u00e1tk\u00fdmi okny poslechu sp\u00ed. Ve ve\u0159ejn\u00fdch buildech je zabudovan\u00fd a vypnut\u00fd ; max na lavici u\u0161et\u0159il ~2,3 mA bez ztr\u00e1ty paket\u016f ( docs/power.md ), na ostr\u00e9m meshi ale jeden n\u00e1\u0161 sto\u017e\u00e1r ztratil 16 % p\u0159\u00edjmu \u2013 zap\u00ednat s rozmyslem. Jen SX1262, ne LR1110 (T1000-E). Podp\u011b\u0165ov\u00e1 pojistka p\u0159i startu ( PWRMGT_VOLTAGE_BOOTLOCK ) je na nRF52 vypnut\u00e1 , stejn\u011b jako v upstreamu od v1.18.0 ( #2377 ): pevn\u00fd pr\u00e1h 3,3 V nepou\u0161t\u011bl k \u017eivotu uzly na LiFePO4 nebo LTO. Firmware tak nab\u011bhne na jak\u00e9koli chemii \u010dl\u00e1nku; p\u0159ed hlubok\u00fdm vybit\u00edm m\u00e1 chr\u00e1nit BMS nebo ochrann\u00e1 desti\u010dka \u010dl\u00e1nku. Konfigurovateln\u00e1 pojistka podle chemie \u010dek\u00e1 na upstream ( #2088 ). V\u00fdjimkou je SenseCap_Solar_repeater (Li-ion, na\u0161e sto\u017e\u00e1ry): pojistka je zapnut\u00e1 a oba prahy jdou nastavit za b\u011bhu, i p\u0159es mesh jako admin \u2013 set pwr.bootlock |off (v\u00fdchoz\u00ed 3300, pod n\u00edm uzel nenab\u011bhne a sp\u00ed, dokud se \u010dl\u00e1nek nezotav\u00ed) a set pwr.cutoff |off (v\u00fdchoz\u00ed vypnuto, pod n\u00edm se b\u011b\u017e\u00edc\u00ed uzel vypne); get pwr ( docs/power.md ). Senzory a companiony simple_sensor : telemetrie z extern\u00ed stanice po UART ( BudkaLinkSensorManager , jeden LPP kan\u00e1l na veli\u010dinu), sensor read . Senzory, kter\u00e9 jinak m\u011b\u0159\u00ed nep\u0159etr\u017eit\u011b (INA219, INA226, INA260, INA3221, BMP280), mezi \u010dten\u00edmi telemetrie sp\u00ed a m\u011b\u0159\u00ed jen na vy\u017e\u00e1d\u00e1n\u00ed (n\u00e1pad a prvn\u00ed patch pro INA219: Alkel Brostl). \u010cipy INA se rozli\u0161uj\u00ed podle ID, tak\u017ee INA226 u\u017e se nedetekuje jako INA219. Odpor bo\u010dn\u00edku se nastavuje za b\u011bhu a ukl\u00e1d\u00e1 se: sensor set ina.shunt . Companion: gps duty p\u0159e\u017eije reboot, kopie data sestaven\u00ed m\u00e1 hl\u00eddanou d\u00e9lku. Export priv\u00e1tn\u00edho kl\u00ed\u010de, \u010dten\u00ed BLE PINu a jeho zm\u011bna (i p\u0159es CLI set pin ) jdou jen p\u0159es sp\u00e1rovan\u00e9 BLE, ne p\u0159es USB, UART ani WiFi/TCP, a odpov\u011b\u010f s kl\u00ed\u010dem \u010di PINem jde jen tam, odkud p\u0159i\u0161el dotaz. (Merge v1.17 tu kontrolu potichu vy\u0159adil; build bez BLE bere sv\u00e9 jedin\u00e9 rozhran\u00ed d\u00e1l jako d\u016fv\u011bryhodn\u00e9.) KISS modem: oprava o jedna vedle p\u0159i zkracov\u00e1n\u00ed jm\u00e9na. Ve\u0159ejn\u00e9 buildy: v\u00fdchoz\u00ed nastaven\u00ed pro \u010desk\u00fd mesh Releasy z tohoto repozit\u00e1\u0159e ( pub-release ) jsou p\u0159ednastaven\u00e9 pro \u010desk\u00fd mesh podle wiki meshcore.cz , tak\u017ee \u010derstv\u011b nahran\u00fd uzel nepot\u0159ebuje obvykl\u00e9 kole\u010dko nastavov\u00e1n\u00ed: r\u00e1dio 869,432 MHz / 62,5 kHz / SF7 / CR5 (v\u0161echny buildy); repeater a room server: zero-hop advert vypnut\u00fd, flood advert ka\u017ed\u00fdch 25 h, duty cycle 10 % ( get dutycycle \u2192 10.0% ; zastaral\u00e9 af je 9); repeater: regiony cz a cs vedle * \u2013 vlastn\u00ed cz- p\u0159id\u00e1\u0161 p\u0159es region put cz-xxx cz + region save ; 2bajtov\u00e9 path hashe (v\u00fdchoz\u00ed v tomto forku); repeater: filtr kan\u00e1l\u016f ( filter add ) je zabudovan\u00fd pro Public, #meshcore a #test , s pr\u00e1zdn\u00fdm seznamem \u2013 ned\u011bl\u00e1 nic, dokud do n\u011bj nep\u0159id\u00e1\u0161 jm\u00e9no. Plat\u00ed jen pro uzel bez ulo\u017een\u00e9ho nastaven\u00ed (nov\u00fd nebo po erase ): nov\u00e9 nahr\u00e1n\u00ed ponech\u00e1, co u\u017e uzel m\u00e1, a regiony, kter\u00e9 jsi smazal a ulo\u017eil, z\u016fstanou smazan\u00e9. Jm\u00e9no a admin heslo si nastav s\u00e1m. BLE PIN companionu je ve\u0159ejn\u00fd 123456 (desky s displejem si losuj\u00ed vlastn\u00ed a uk\u00e1\u017eou ho). Kdo se s n\u00edm sp\u00e1ruje, m\u00e1 companion cel\u00fd: zpr\u00e1vy, kontakty, export priv\u00e1tn\u00edho kl\u00ed\u010de. Po prvn\u00edm sp\u00e1rov\u00e1n\u00ed ho proto zm\u011b\u0148 v aplikaci. A s deskou v ruce nechr\u00e1n\u00ed nic ani PIN, ani heslo: flash nen\u00ed zam\u010den\u00e1 a bootloader p\u0159ijme jak\u00fdkoli firmware. Ztracen\u00fd nebo ukraden\u00fd uzel ber jako vyzrazen\u00fd \u2013 u repeateru zm\u011b\u0148 admin heslo v\u0161ude, kde bylo stejn\u00e9, a vyho\u010f jeho kl\u00ed\u010d z ACL; u companionu ber kan\u00e1ly, kter\u00e9 na n\u011bm byly, jako zn\u00e1m\u00e9. Varianty observer ( *_repeater-observer-* ) nRF52 repeater\u016f (XIAO, SenseCAP Solar, RAK4631, T1000-E, Heltec T114) p\u0159id\u00e1vaj\u00ed buffery nodes / rxlog / pktlog a textovou konzoli p\u0159es BLE, aby \u0161el repeater \u010d\u00edst p\u0159es USB nebo BLE ( meshcore-repeater-observer ). BLE konzole je po nahr\u00e1n\u00ed vypnut\u00e1 ( RPT_BLE_DEFAULT_OFF ). Nem\u00e1 vlastn\u00ed p\u0159ihl\u00e1\u0161en\u00ed, jen BLE PIN, a PIN v buildu je ve\u0159ejn\u00fd z\u00e1stupn\u00fd 123456 . Nejd\u0159\u00edv si proto nastav vlastn\u00ed \u2013 v USB konzoli, nebo jako admin p\u0159es mesh (vzd\u00e1len\u00e9 CLI v aplikaci): ble pin <6 \u010d\u00edslic> (ulo\u017e\u00ed se a p\u0159e\u017eije reboot i nov\u00e9 nahr\u00e1n\u00ed; z\u00e1rove\u0148 sma\u017ee v\u0161echny bondy, tak\u017ee sp\u00e1rovan\u00e1 za\u0159\u00edzen\u00ed se p\u00e1ruj\u00ed znovu). Teprve pak ble on \u2013 dokud je PIN z\u00e1stupn\u00fd, tyhle buildy ho odm\u00edtnou. ble uk\u00e1\u017ee, jestli je PIN own nebo build default , samotn\u00fd PIN nikdy. Releasy do tth-654d53f3 ble pin nemaj\u00ed: BLE tam nech vypnut\u00e9 a pou\u017e\u00edvej USB. Nahr\u00e1n\u00ed releasu Ka\u017ed\u00fd release je automatick\u00fd build nad upstreamov\u00fdm dev (viz upozorn\u011bn\u00ed naho\u0159e), ne stabiln\u00ed verze. Nahr\u00e1vejte ho jen na uzly, na kter\u00e9 dos\u00e1hnete, a nov\u00fd release v\u017edy nejd\u0159\u00edv na jeden z nich. Soubory jsou v Releases . Release se jmenuje podle upstreamov\u00e9 verze a data, nap\u0159. v1.18.0+tth.20261112 (druh\u00fd t\u00e9ho\u017e dne .2 ), a v popisu m\u00e1 zm\u011bny od p\u0159edchoz\u00edho releasu. Pro ka\u017edou desku a roli je jedna sada ( _- , nap\u0159. Xiao_nrf52_repeater-v1.18.0+tth.20261112.zip ): .zip a .uf2 pro nRF52, .bin pro ESP32 ( -merged.bin je cel\u00fd obraz pro pr\u00e1zdnou desku, oby\u010dejn\u00fd .bin aktualizace). Kontroln\u00ed sou\u010dty jsou v SHA256SUMS . Releasy do 12. 11. 2026 se jmenovaly tth- . nRF52 (XIAO, RAK4631, SenseCAP Solar, T1000-E, T114) p\u0159es webov\u00fd flasher MeshCore \u2013 Chrome, Edge nebo Chromium na po\u010d\u00edta\u010di (Web Serial; ne Firefox ani Safari): P\u0159ipoj desku p\u0159es USB. Klikni na Custom Firmware a vyber .zip pro svou desku. Klikni na Enter DFU mode a vyber s\u00e9riov\u00fd port desky. Deska se restartuje do bootloaderu a objev\u00ed se jako nov\u00fd port. Klikni na Flash! a vyber ten nov\u00fd port. Zhruba 30 s, pak se deska restartuje do nov\u00e9ho firmwaru. Console ve flasheru (nebo jak\u00fdkoli s\u00e9riov\u00fd termin\u00e1l, 115200) ov\u011b\u0159\u00ed v\u00fdsledek: ver uk\u00e1\u017ee v1.xx.x-tth , stejn\u011b jako \u0159\u00e1dek \u201eVerze v uzlu\u201c v popisu releasu. Neklikej na Erase Flash , pokud nechce\u0161 nov\u00fd uzel: sma\u017ee identitu (kl\u00ed\u010d uzlu a v\u0161echno, co ho zn\u00e1) i ve\u0161ker\u00e9 nastaven\u00ed. Oby\u010dejn\u00e9 nahr\u00e1n\u00ed je zachov\u00e1. Vyzkou\u0161eno na XIAO (repeater-observer, 3. 11. 2026). ESP32 .bin p\u0159es stejn\u00e9 tla\u010d\u00edtko Custom Firmware tu vyzkou\u0161en\u00e9 nen\u00ed. Bez webov\u00e9ho flasheru: na v\u011bt\u0161in\u011b desek otev\u0159e dvoj\u00ed stisk resetu bootloader jako USB disk; zkop\u00edruj na n\u011bj .uf2 . Nebo adafruit-nrfutil dfu serial -pkg .zip -p -b 115200 s deskou v bootloaderu. Nov\u00fd uzel po nahr\u00e1n\u00ed nastav v konzoli: set name , password (nejv\u00fd\u0161 15 znak\u016f), vlastn\u00ed region p\u0159es region put cz- cz + region save . Repeater p\u0159epos\u00edl\u00e1 od prvn\u00edho startu (v\u00fdchoz\u00ed v upstreamu) a tyhle buildy jsou na ostr\u00e9 CZ frekvenci: na stole bez ant\u00e9ny dej set repeat off , dokud nen\u00ed na m\u00edst\u011b. Experiment\u00e1ln\u00ed: aktualizace firmwaru od admina ( *-ota ) Ka\u017ed\u00fd nRF52 build s textovou konzol\u00ed (repeater, observer, room server, senzor) je v releasu je\u0161t\u011b jednou jako experiment\u00e1ln\u00ed *-ota / *-observer-ota . Ten um\u00ed p\u0159ijmout nov\u00fd firmware od admina p\u0159\u00edkazy fw \u2026 : v USB nebo BLE konzoli, nebo p\u0159es mesh jako vzd\u00e1len\u00e9 admin CLI . Bez zm\u011bny bootloaderu a bez druh\u00e9 banky: uzel si bal\u00ed\u010dek ulo\u017e\u00ed do voln\u00e9 flash, zkontroluje ho cel\u00fd (podpis, hashe, nane\u010disto proveden\u00e1 delta) a p\u0159ep\u00ed\u0161e se a\u017e na fw apply , rutinou b\u011b\u017e\u00edc\u00ed z RAM. Kdy\u017e b\u011bhem p\u0159episu vypadne nap\u00e1jen\u00ed, z\u016fstane v bootloaderu a vr\u00e1t\u00ed se p\u0159es USB/BLE DFU. V releasu je ke ka\u017ed\u00e9mu *-ota obrazu pln\u00fd bal\u00ed\u010dek _-ota-.mcfw (jen p\u0159es USB/BLE) a delta \u2026.from-.mcfw od ka\u017ed\u00e9ho dr\u017een\u00e9ho p\u0159edchoz\u00edho releasu, typicky jednotky kB. P\u0159es mesh uzel p\u0159ijme jen deltu, a nikdy ne star\u0161\u00ed verzi, ne\u017e m\u00e1 \u2013 vynucuje to uzel, ne n\u00e1stroj. Pln\u00fd obraz nebo n\u00e1vrat ke star\u0161\u00ed verzi jen lok\u00e1ln\u011b ( fw apply downgrade ). fw apply \u010dek\u00e1 na baterii \u2265 3,8 V, pokud uzel neb\u011b\u017e\u00ed z USB. Bal\u00ed\u010dky i SHA256SUMS jsou podepsan\u00e9 kl\u00ed\u010dem meshcore-ota@tth-pub a *-ota obraz jin\u00fd podpis nep\u0159ijme. Ov\u011b\u0159en\u00ed sta\u017een\u00fdch soubor\u016f: ssh-keygen -Y verify -f tools/ota_allowed_signers -I meshcore-ota@tth-pub -n meshcore-ota -s SHA256SUMS.sig < SHA256SUMS . Vlastn\u00ed build s vlastn\u00edm kl\u00ed\u010dem: [ota] pubkey v platformio.local.ini . Prvn\u00ed *-ota obraz se nahraje oby\u010dejn\u011b (viz v\u00fd\u0161e), dal\u0161\u00ed u\u017e jako delta. N\u00e1stroje: tools/ota_push.py (USB), tools/ota_mesh_push.py (p\u0159es mesh skrz companion; pot\u0159ebuje pythonovou knihovnu meshcore , admin heslo bere z [secrets] admin_pw v platformio.local.ini ; s --side jde p\u0159enos po vedlej\u0161\u00edm kan\u00e1lu mimo sd\u00edlen\u00fd mesh), tools/ota_pack.py info . P\u0159enos samotn\u00fd je OTA engine kolekce tth.meshcore (modul meshcore_fw_ota ), stejn\u00fd k\u00f3d pro n\u00e1stroje i Ansible. Z telefonu: fork aplikace meshcore-open , spr\u00e1va repeateru \u2192 Firmware update (OTA), deltu si najde v releasu s\u00e1m. Postup a \u010d\u00edsla: docs/ota.md . Experiment\u00e1ln\u00ed i v r\u00e1mci tohoto forku : obrazy p\u0159ich\u00e1zej\u00ed s ka\u017ed\u00fdm releasem (viz upozorn\u011bn\u00ed naho\u0159e) a nemaj\u00ed druhou banku ani automatick\u00fd n\u00e1vrat. Vadn\u00fd firmware, kter\u00fd nabootuje, b\u011b\u017e\u00ed, dokud nepo\u0161lete dal\u0161\u00ed; takov\u00fd, kter\u00fd nenabootuje, chce USB/BLE DFU v ruce. Vyzkou\u0161eno na lavici (XIAO, USB, mesh, vedlej\u0161\u00ed kan\u00e1l) a od 13. 11. 2026 na dvou na\u0161ich sto\u017e\u00e1rech. Proti obrazu, kter\u00fd nabootuje s mrtv\u00fdm r\u00e1diem, jsou watchdogy r\u00e1dia (viz Diagnostika a provoz): pro uzly, kam pos\u00edl\u00e1te OTA, zapn\u011bte set radio.silence . Stoj\u00ed ~10 kB RAM nav\u00edc. Sestaven\u00ed Raz\u00edtko verze v ka\u017ed\u00e9m nRF52 envu ( v1.18.0-tth , + = neuklizen\u00fd strom), z\u00e1kladn\u00ed verze z upstreamov\u00e9ho tagu ( tools/build_version.py ). tools/ : n\u00e1stroje na uzly \u2013 konzole (USB, BLE), flashov\u00e1n\u00ed, testy na lavici, diagnostika ( tools/README.md ). Desky podle jm\u00e9na bere z lok\u00e1ln\u00edho configu mimo repo ( tools/config.example.ini ). hardware/cavity-box : parametrick\u00e1 krabi\u010dka pro dutinov\u00fd filtr na sto\u017e\u00e1r.","title":"O forku"},{"location":"#o-tomto-forku-meshcore-tth","text":"English version below -- experimental firmware, not meant for regular users. Warning Experiment\u00e1ln\u00ed firmware \u2013 nen\u00ed ur\u010den\u00fd pro b\u011b\u017en\u00e9 u\u017eivatele. Tenhle fork i v\u0161echny jeho releasy jsou osobn\u00ed v\u00fdvojov\u00e1 v\u011btev pro uzly jedn\u00e9 mal\u00e9 s\u00edt\u011b: rolling release nad upstreamovou v\u011btv\u00ed dev , sestavovan\u00fd automaticky zhruba dvakr\u00e1t denn\u011b, bez stabiln\u00edho kan\u00e1lu, bez podpory a vyzkou\u0161en\u00fd jen na na\u0161ich desk\u00e1ch. M\u016f\u017ee obsahovat chyby, kter\u00e9 uzel vy\u0159ad\u00ed z provozu, a vr\u00e1tit ho pak jde jen s USB nebo BLE v ruce. Pro b\u011b\u017en\u00fd provoz nahrajte ofici\u00e1ln\u00ed MeshCore ( flasher.meshcore.io ). Fork projektu meshcore-dev/MeshCore , na kter\u00e9m b\u011b\u017e\u00ed repeatery, senzory a testovac\u00ed desky mal\u00e9 \u010desk\u00e9 s\u00edt\u011b na CZ meshi (869,432 MHz). Upstreamov\u00e9 v\u011btve main a dev se slu\u010duj\u00ed automaticky dvakr\u00e1t denn\u011b; v\u0161echno n\u00ed\u017ee je nav\u00edc nad nimi. N\u00e1\u0161 k\u00f3d je ve zdroj\u00e1c\u00edch ozna\u010den\u00fd CUSTOM (TeTeHacko) . Nic z toho nem\u011bn\u00ed protokol na r\u00e1diu.","title":"O tomto forku (meshcore-tth)"},{"location":"#repeater-antispam-vsechno-vypinatelne-nic-z-toho-neni-v-upstreamu","text":"Po nahr\u00e1n\u00ed je zapnut\u00fd jen FairnessLimiter , s limity se zhruba dvojn\u00e1sobnou rezervou nad 30 dn\u00ed skute\u010dn\u00e9ho provozu CZ meshe: na kan\u00e1l d\u00e1vka 100 zpr\u00e1v a pak jedna za 30 s, na odes\u00edlatele 150 a jedna za 10 s, na p\u016fvodce advertu 30 a jeden za 10 min. Je to s\u00ed\u0165 na utr\u017een\u00e9 floody, ne kv\u00f3ta; fairness off ho vypne natrvalo. Okno na adverty, filtry a dry-run jsou vypnut\u00e9, dokud je nezapnete. FairnessLimiter \u2013 token buckety na p\u0159epos\u00edlan\u00e9 floody podle 1bajtov\u00fdch identifik\u00e1tor\u016f, kter\u00e9 jsou v paketu stejn\u011b v \u010diteln\u00e9 podob\u011b (hash kan\u00e1lu, hash odes\u00edlatele, p\u016fvodce advertu). Port n\u00e1vrhu Beanowa #1502 , limity p\u0159epo\u010d\u00edtan\u00e9 z 30 dn\u00ed skute\u010dn\u00e9ho provozu CZ meshe. fairness [on|off|grid|cap|refill] ; p\u0159\u00edmo sm\u011brovan\u00fd provoz se neomezuje nikdy. Okno na adverty podle p\u016fvodce \u2013 flood advert ka\u017ed\u00e9ho uzlu se p\u0159epo\u0161le nejv\u00fd\u0161 jednou za N hodin ( fairness advert |clear ), p\u0159evzato z AdvertLimiteru DutchMeshCore . M\u00ed\u0159\u00ed na uzly, kter\u00e9 advertuj\u00ed ka\u017edou minutu. Dry-run \u2013 fairness dryrun on zapo\u010d\u00edt\u00e1 ka\u017ed\u00fd verdikt, ale p\u0159epo\u0161le i tak; fairness air uk\u00e1\u017ee u\u0161et\u0159en\u00fd (nebo u\u0161et\u0159iteln\u00fd) airtime podle d\u016fvodu. Filtr kan\u00e1l\u016f \u2013 na kan\u00e1lech, jejich\u017e kl\u00ed\u010d repeater zn\u00e1 (Public a #hashtag kan\u00e1ly), p\u0159estane p\u0159epos\u00edlat zpr\u00e1vy uveden\u00fdch jmen odes\u00edlatel\u016f ( filter add|del|list ). Jm\u00e9no se d\u00e1 podvrhnout: je to brzda na utr\u017een\u00e9ho bota, ne bezpe\u010dnost. Blokace p\u0159epos\u00edl\u00e1n\u00ed podle hashe kan\u00e1lu \u2013 filter hash add [s] : bez kl\u00ed\u010de, tak\u017ee funguje i na soukrom\u00fdch kan\u00e1lech; p\u0159\u00edjem se nem\u011bn\u00ed, jen p\u0159epos\u00edl\u00e1n\u00ed. S s se kan\u00e1l neod\u0159\u00edzne, ale p\u0159i\u0161krt\u00ed (jeden paket za s sekund). Limit st\u00e1\u0159\u00ed zpr\u00e1vy \u2013 filter age |off (voliteln\u00e9, 1\u201310080 min): nep\u0159epos\u00edl\u00e1 skupinov\u00e9 zpr\u00e1vy na de\u0161ifrovan\u00fdch kan\u00e1lech, jejich\u017e \u010das od odes\u00edlatele je star\u0161\u00ed; bez nastaven\u00fdch hodin repeateru neplat\u00ed. Posuzuje hodiny odes\u00edlatele, tak\u017ee zahod\u00ed i companiony bez synchronizace \u010dasu \u2013 nastavuj ho na dny. filter dryrun on zapo\u010d\u00edt\u00e1 ka\u017ed\u00fd verdikt filter , ale p\u0159epo\u0161le i tak.","title":"Repeater: antispam (v\u0161echno vyp\u00ednateln\u00e9, nic z toho nen\u00ed v upstreamu)"},{"location":"#diagnostika-a-provoz","text":"V\u0161echny p\u0159\u00edkazy forku, kde je kter\u00fd build m\u00e1 a v\u00fdchoz\u00ed hodnoty: docs/tth-commands.md . Repeater, room server i senzor (v\u0161echno s textovou konzol\u00ed) maj\u00ed: Watchdogy r\u00e1dia. Hardwarov\u00fd watchdog chyt\u00ed jen zamrzlou smy\u010dku; dva na\u0161e uzly ale byly nalezeny hluch\u00e9 s b\u011b\u017e\u00edc\u00ed smy\u010dkou a pomohl a\u017e restart. set radio.silence \u2013 hluch\u00fd p\u0159ij\u00edma\u010d : kdy\u017e se za minut nepohne \u010d\u00edta\u010d p\u0159ijat\u00fdch r\u00e1mc\u016f (po\u010d\u00edt\u00e1 se i r\u00e1mec s chybou CRC), uzel nap\u0159ed znovu nahod\u00ed p\u0159\u00edjem, a kdy\u017e ani to nepom\u016f\u017ee, restartuje se. Ka\u017ed\u00fd takov\u00fd restart zdvojn\u00e1sob\u00ed pr\u00e1h pro p\u0159\u00ed\u0161t\u00ed start (a\u017e 16\u00d7), prvn\u00ed p\u0159ijat\u00fd r\u00e1mec ho vr\u00e1t\u00ed, tak\u017ee tich\u00e9 m\u00edsto neskon\u010d\u00ed ve smy\u010dce restart\u016f. Ulo\u017e\u00ed se; ve v\u00fdchoz\u00edm stavu vypnut\u00fd ( 0 ) \u2013 pr\u00e1h volte s rezervou nad nejdel\u0161\u00ed b\u011b\u017en\u00e9 ticho na m\u00edst\u011b. Zaseknut\u00e9 vys\u00edl\u00e1n\u00ed (jen repeater): pakety \u010dekaj\u00ed ve front\u011b a \u010d\u00edta\u010d odeslan\u00fdch se neh\u00fdbe \u2192 znovu nahod\u00ed r\u00e1dio, pak restart. Pr\u00e1zdn\u00e1 fronta se nepo\u010d\u00edt\u00e1. Zapnut\u00fd, 15 min ( RADIO_TXSTALL_MIN ); set radio.txstall |off plat\u00ed jen do restartu. get radio.reboots \u2013 kolik restart\u016f watchdogy ud\u011blaly (p\u0159e\u017eije i v\u00fdpadek nap\u00e1jen\u00ed); get boot \u2013 pro\u010d se deska naposledy resetovala a z\u00e1znam o hardfaultu (vyp\u00ed\u0161e se i p\u0159i startu). dfu [uf2|serial|ota] \u2013 spolehliv\u00fd reboot do bootloaderu (jen z lok\u00e1ln\u00ed konzole); i2c \u2013 sken sb\u011brnice. Repeater nav\u00edc: blink (rozblik\u00e1 LED, i p\u0159es mesh \u2013 najdete uzel na sto\u017e\u00e1ru), txpwr (vys\u00edlac\u00ed v\u00fdkon do restartu, s verdiktem RadioLibu), \u010d\u00edta\u010de chyb vys\u00edl\u00e1n\u00ed ve stavov\u00e9 odpov\u011bdi. Jen observer varianty ( *-observer ): textov\u00e1 konzole p\u0159es BLE vedle USB, ble on|off ulo\u017een\u00e9 p\u0159es reboot ( RPT_BLE_DEFAULT_OFF : startuje vypnut\u00e9), vlastn\u00ed BLE PIN ( ble pin ), ulo\u017een\u00fd vys\u00edlac\u00ed v\u00fdkon spojen\u00ed ( blepwr ), bleconn , neblokuj\u00edc\u00ed BLE vys\u00edl\u00e1n\u00ed a parametry spojen\u00ed, kter\u00e9 vydr\u017e\u00ed i na slab\u00e9m linku. Taky jen observer varianty: pasivn\u00ed analyz\u00e1tor v konzoli \u2013 nodes (sly\u0161en\u00e9 repeatery a roomy, kl\u00ed\u010d pro spojen\u00ed v\u00edce cest), rxlog (ka\u017ed\u00fd sly\u0161en\u00fd r\u00e1mec: typ, cesta, SNR, RSSI), pktlog (surov\u00e9 r\u00e1mce pro feed observeru), velk\u00e9 str\u00e1nkovan\u00e9 odpov\u011bdi. Jen vlastn\u00ed buildy, ne releasy: kan\u00e1lov\u00fd bot ( BOT_CHANNEL_PSK : !link , !path , !snr , !heard , !noise , !ping , !help , v\u00fdb\u011br p\u0159es BOT_COMMANDS , cooldown na odes\u00edlatele, ignore list) \u2013 odpov\u00edd\u00e1, ani\u017e by p\u0159epos\u00edlal; RADIO_DIAG : radiostat (stav p\u0159ij\u00edma\u010de SX1262 bez z\u00e1sahu) a radiokick rx|clrirq|standby|agc (jeden krok obnovy, od nejjemn\u011bj\u0161\u00edho \u2013 prvn\u00ed, kter\u00fd pom\u016f\u017ee, uk\u00e1\u017ee rozbitou vrstvu); PIN_DIAG : dio1 (stav p\u0159eru\u0161en\u00ed v \u010dipu proti \u00farovni na pinu \u2013 kter\u00fd konec mrtv\u00e9 linky DIO1 je p\u0159eru\u0161en\u00fd); LORA_POLL_IRQ : provoz bez DIO1 pro desku s mrtvou linkou p\u0159eru\u0161en\u00ed.","title":"Diagnostika a provoz"},{"location":"#opravy-jadra","text":"Ochrana proti p\u0159ehr\u00e1n\u00ed admin p\u0159\u00edkaz\u016f p\u0159e\u017eije reboot. Upstream si posledn\u00ed timestamp klienta dr\u017e\u00ed jen v RAM, tak\u017ee po ka\u017ed\u00e9m restartu projde libovoln\u00fd zachycen\u00fd p\u0159\u00edkaz znovu \u2013 zachycen\u00fd reboot uzel restartuje po\u0159\u00e1d dokola. Repeater, room server i sensor ho te\u010f zap\u00ed\u0161ou do flash d\u0159\u00edv, ne\u017e p\u0159\u00edkaz provedou ( /s_acl_ts0|1 , st\u0159\u00eddav\u011b s kontroln\u00edm sou\u010dtem, tak\u017ee ho nesma\u017ee ani v\u00fdpadek nap\u00e1jen\u00ed p\u0159i z\u00e1pisu). Timestamp v\u00edc ne\u017e den p\u0159ed hodinami uzlu ( ACL_TS_MAX_AHEAD ) se p\u0159ijme, ale neulo\u017e\u00ed, aby companion s rozhozen\u00fdmi hodinami nezamkl admina. Ukl\u00e1d\u00e1 se jen u admin\u016f: host sm\u00ed jen \u010d\u00edst a s pr\u00e1zdn\u00fdm guest heslem se j\u00edm stane kdokoli, tak\u017ee by ka\u017ed\u00fd jeho dotaz znamenal z\u00e1pis do flash. Klient\u016f se to nijak net\u00fdk\u00e1. Hesla nejde h\u00e1dat p\u0159es \u00e9ter plnou rychlost\u00ed. Upstream kontroluje ka\u017ed\u00fd login bez omezen\u00ed a na \u0161patn\u00e9 heslo ani neodpov\u00ed. Po 4 \u0161patn\u00fdch heslech b\u011bhem 3 minut ( LOGIN_FAIL_MAX , LOGIN_FAIL_SECS ) se hesla do konce okna nekontroluj\u00ed. Klient, kter\u00fd u\u017e je v ACL jako admin, projde v\u017edy \u2013 login jeho jm\u00e9nem nikdo jin\u00fd poslat nedok\u00e1\u017ee, tak\u017ee \u00fatok adminy nezamkne. P\u0159ehran\u00fd login bez hesla u\u017e nevyvol\u00e1 flood odpov\u011b\u010f. Login klienta z ACL s pr\u00e1zdn\u00fdm heslem nem\u011bl ochranu proti p\u0159ehr\u00e1n\u00ed; \u00fato\u010dn\u00edk t\u00edm nic nez\u00edskal, ale ka\u017ed\u00e1 kopie donutila uzel poslat odpov\u011b\u010f floodem p\u0159es cel\u00fd mesh. TRACE u\u017e nep\u0159ipisuje cestu za konec payloadu; parsov\u00e1n\u00ed TRACE/PATH a Packet::readFrom hl\u00eddaj\u00ed meze. markSeen je zase idempotentn\u00ed (odes\u00edlac\u00ed cesta uj\u00eddala okno deduplikace). Z\u00e1lo\u017en\u00ed v\u00fdpo\u010det v calcMaxPacketMillis u\u017e nepodte\u010de (uzel na tom ohluchl). \u0160\u00ed\u0159ka path hashe se bere z nastaven\u00ed uzlu na v\u0161ech cest\u00e1ch vys\u00edl\u00e1n\u00ed v\u010detn\u011b sendZeroHop ; v\u00fdchoz\u00ed jsou 2bajtov\u00e9 path hashe ( PATH_HASH_MODE_DEFAULT ). Nepoveden\u00e9 vys\u00edl\u00e1n\u00ed se za\u0159ad\u00ed znovu s odstupem, m\u00edsto aby se zahodilo. RSSI ka\u017ed\u00e9ho paketu se zaznamen\u00e1 p\u0159i p\u0159\u00edjmu; ContactInfo se p\u0159ed \u010d\u00e1ste\u010dn\u00fdm vypln\u011bn\u00edm vynuluje.","title":"Opravy j\u00e1dra"},{"location":"#napajeni-hodiny-gps","text":"GPS duty cycle ( gps duty ), i na T1000-E, kde nebyl: p\u0159ij\u00edma\u010d b\u011b\u017e\u00ed jen kolem synchronizace hodin (jednou denn\u011b, po ne\u00fasp\u011b\u0161n\u00e9m okn\u011b znovu za 6 h). Dotaz na polohu p\u0159ij\u00edma\u010d probud\u00ed pro p\u0159\u00ed\u0161t\u00ed dotaz. Uzel bez GPS startuje na \u010dase sestaven\u00ed firmwaru, ne v roce 2024; hodiny a z\u00e1znam o hardfaultu p\u0159e\u017eij\u00ed tepl\u00fd reset ( .noinit ); clkreboot . Na sol\u00e1rn\u00edch uzlech \u017e\u00e1dn\u00e1 blikaj\u00edc\u00ed LED a pomalej\u0161\u00ed BLE advertising. Stav baterie jako ikona na konci advertovan\u00e9ho jm\u00e9na: set batt.icon on , prahy set batt.icon.lo|hi (v\u00fdchoz\u00ed vypnut\u00e9; dlouh\u00e9 jm\u00e9no ikonu nepojme a p\u0159\u00edkaz na to upozorn\u00ed). Voliteln\u00fd RX duty cycle ( set radio.rxps off|on|balanced|max , jemn\u011bji level <1-10> ; port PowerSaving z EasySkyMesh): SX1262 mezi kr\u00e1tk\u00fdmi okny poslechu sp\u00ed. Ve ve\u0159ejn\u00fdch buildech je zabudovan\u00fd a vypnut\u00fd ; max na lavici u\u0161et\u0159il ~2,3 mA bez ztr\u00e1ty paket\u016f ( docs/power.md ), na ostr\u00e9m meshi ale jeden n\u00e1\u0161 sto\u017e\u00e1r ztratil 16 % p\u0159\u00edjmu \u2013 zap\u00ednat s rozmyslem. Jen SX1262, ne LR1110 (T1000-E). Podp\u011b\u0165ov\u00e1 pojistka p\u0159i startu ( PWRMGT_VOLTAGE_BOOTLOCK ) je na nRF52 vypnut\u00e1 , stejn\u011b jako v upstreamu od v1.18.0 ( #2377 ): pevn\u00fd pr\u00e1h 3,3 V nepou\u0161t\u011bl k \u017eivotu uzly na LiFePO4 nebo LTO. Firmware tak nab\u011bhne na jak\u00e9koli chemii \u010dl\u00e1nku; p\u0159ed hlubok\u00fdm vybit\u00edm m\u00e1 chr\u00e1nit BMS nebo ochrann\u00e1 desti\u010dka \u010dl\u00e1nku. Konfigurovateln\u00e1 pojistka podle chemie \u010dek\u00e1 na upstream ( #2088 ). V\u00fdjimkou je SenseCap_Solar_repeater (Li-ion, na\u0161e sto\u017e\u00e1ry): pojistka je zapnut\u00e1 a oba prahy jdou nastavit za b\u011bhu, i p\u0159es mesh jako admin \u2013 set pwr.bootlock |off (v\u00fdchoz\u00ed 3300, pod n\u00edm uzel nenab\u011bhne a sp\u00ed, dokud se \u010dl\u00e1nek nezotav\u00ed) a set pwr.cutoff |off (v\u00fdchoz\u00ed vypnuto, pod n\u00edm se b\u011b\u017e\u00edc\u00ed uzel vypne); get pwr ( docs/power.md ).","title":"Nap\u00e1jen\u00ed, hodiny, GPS"},{"location":"#senzory-a-companiony","text":"simple_sensor : telemetrie z extern\u00ed stanice po UART ( BudkaLinkSensorManager , jeden LPP kan\u00e1l na veli\u010dinu), sensor read . Senzory, kter\u00e9 jinak m\u011b\u0159\u00ed nep\u0159etr\u017eit\u011b (INA219, INA226, INA260, INA3221, BMP280), mezi \u010dten\u00edmi telemetrie sp\u00ed a m\u011b\u0159\u00ed jen na vy\u017e\u00e1d\u00e1n\u00ed (n\u00e1pad a prvn\u00ed patch pro INA219: Alkel Brostl). \u010cipy INA se rozli\u0161uj\u00ed podle ID, tak\u017ee INA226 u\u017e se nedetekuje jako INA219. Odpor bo\u010dn\u00edku se nastavuje za b\u011bhu a ukl\u00e1d\u00e1 se: sensor set ina.shunt . Companion: gps duty p\u0159e\u017eije reboot, kopie data sestaven\u00ed m\u00e1 hl\u00eddanou d\u00e9lku. Export priv\u00e1tn\u00edho kl\u00ed\u010de, \u010dten\u00ed BLE PINu a jeho zm\u011bna (i p\u0159es CLI set pin ) jdou jen p\u0159es sp\u00e1rovan\u00e9 BLE, ne p\u0159es USB, UART ani WiFi/TCP, a odpov\u011b\u010f s kl\u00ed\u010dem \u010di PINem jde jen tam, odkud p\u0159i\u0161el dotaz. (Merge v1.17 tu kontrolu potichu vy\u0159adil; build bez BLE bere sv\u00e9 jedin\u00e9 rozhran\u00ed d\u00e1l jako d\u016fv\u011bryhodn\u00e9.) KISS modem: oprava o jedna vedle p\u0159i zkracov\u00e1n\u00ed jm\u00e9na.","title":"Senzory a companiony"},{"location":"#verejne-buildy-vychozi-nastaveni-pro-cesky-mesh","text":"Releasy z tohoto repozit\u00e1\u0159e ( pub-release ) jsou p\u0159ednastaven\u00e9 pro \u010desk\u00fd mesh podle wiki meshcore.cz , tak\u017ee \u010derstv\u011b nahran\u00fd uzel nepot\u0159ebuje obvykl\u00e9 kole\u010dko nastavov\u00e1n\u00ed: r\u00e1dio 869,432 MHz / 62,5 kHz / SF7 / CR5 (v\u0161echny buildy); repeater a room server: zero-hop advert vypnut\u00fd, flood advert ka\u017ed\u00fdch 25 h, duty cycle 10 % ( get dutycycle \u2192 10.0% ; zastaral\u00e9 af je 9); repeater: regiony cz a cs vedle * \u2013 vlastn\u00ed cz- p\u0159id\u00e1\u0161 p\u0159es region put cz-xxx cz + region save ; 2bajtov\u00e9 path hashe (v\u00fdchoz\u00ed v tomto forku); repeater: filtr kan\u00e1l\u016f ( filter add ) je zabudovan\u00fd pro Public, #meshcore a #test , s pr\u00e1zdn\u00fdm seznamem \u2013 ned\u011bl\u00e1 nic, dokud do n\u011bj nep\u0159id\u00e1\u0161 jm\u00e9no. Plat\u00ed jen pro uzel bez ulo\u017een\u00e9ho nastaven\u00ed (nov\u00fd nebo po erase ): nov\u00e9 nahr\u00e1n\u00ed ponech\u00e1, co u\u017e uzel m\u00e1, a regiony, kter\u00e9 jsi smazal a ulo\u017eil, z\u016fstanou smazan\u00e9. Jm\u00e9no a admin heslo si nastav s\u00e1m. BLE PIN companionu je ve\u0159ejn\u00fd 123456 (desky s displejem si losuj\u00ed vlastn\u00ed a uk\u00e1\u017eou ho). Kdo se s n\u00edm sp\u00e1ruje, m\u00e1 companion cel\u00fd: zpr\u00e1vy, kontakty, export priv\u00e1tn\u00edho kl\u00ed\u010de. Po prvn\u00edm sp\u00e1rov\u00e1n\u00ed ho proto zm\u011b\u0148 v aplikaci. A s deskou v ruce nechr\u00e1n\u00ed nic ani PIN, ani heslo: flash nen\u00ed zam\u010den\u00e1 a bootloader p\u0159ijme jak\u00fdkoli firmware. Ztracen\u00fd nebo ukraden\u00fd uzel ber jako vyzrazen\u00fd \u2013 u repeateru zm\u011b\u0148 admin heslo v\u0161ude, kde bylo stejn\u00e9, a vyho\u010f jeho kl\u00ed\u010d z ACL; u companionu ber kan\u00e1ly, kter\u00e9 na n\u011bm byly, jako zn\u00e1m\u00e9. Varianty observer ( *_repeater-observer-* ) nRF52 repeater\u016f (XIAO, SenseCAP Solar, RAK4631, T1000-E, Heltec T114) p\u0159id\u00e1vaj\u00ed buffery nodes / rxlog / pktlog a textovou konzoli p\u0159es BLE, aby \u0161el repeater \u010d\u00edst p\u0159es USB nebo BLE ( meshcore-repeater-observer ). BLE konzole je po nahr\u00e1n\u00ed vypnut\u00e1 ( RPT_BLE_DEFAULT_OFF ). Nem\u00e1 vlastn\u00ed p\u0159ihl\u00e1\u0161en\u00ed, jen BLE PIN, a PIN v buildu je ve\u0159ejn\u00fd z\u00e1stupn\u00fd 123456 . Nejd\u0159\u00edv si proto nastav vlastn\u00ed \u2013 v USB konzoli, nebo jako admin p\u0159es mesh (vzd\u00e1len\u00e9 CLI v aplikaci): ble pin <6 \u010d\u00edslic> (ulo\u017e\u00ed se a p\u0159e\u017eije reboot i nov\u00e9 nahr\u00e1n\u00ed; z\u00e1rove\u0148 sma\u017ee v\u0161echny bondy, tak\u017ee sp\u00e1rovan\u00e1 za\u0159\u00edzen\u00ed se p\u00e1ruj\u00ed znovu). Teprve pak ble on \u2013 dokud je PIN z\u00e1stupn\u00fd, tyhle buildy ho odm\u00edtnou. ble uk\u00e1\u017ee, jestli je PIN own nebo build default , samotn\u00fd PIN nikdy. Releasy do tth-654d53f3 ble pin nemaj\u00ed: BLE tam nech vypnut\u00e9 a pou\u017e\u00edvej USB.","title":"Ve\u0159ejn\u00e9 buildy: v\u00fdchoz\u00ed nastaven\u00ed pro \u010desk\u00fd mesh"},{"location":"#nahrani-releasu","text":"Ka\u017ed\u00fd release je automatick\u00fd build nad upstreamov\u00fdm dev (viz upozorn\u011bn\u00ed naho\u0159e), ne stabiln\u00ed verze. Nahr\u00e1vejte ho jen na uzly, na kter\u00e9 dos\u00e1hnete, a nov\u00fd release v\u017edy nejd\u0159\u00edv na jeden z nich. Soubory jsou v Releases . Release se jmenuje podle upstreamov\u00e9 verze a data, nap\u0159. v1.18.0+tth.20261112 (druh\u00fd t\u00e9ho\u017e dne .2 ), a v popisu m\u00e1 zm\u011bny od p\u0159edchoz\u00edho releasu. Pro ka\u017edou desku a roli je jedna sada ( _- , nap\u0159. Xiao_nrf52_repeater-v1.18.0+tth.20261112.zip ): .zip a .uf2 pro nRF52, .bin pro ESP32 ( -merged.bin je cel\u00fd obraz pro pr\u00e1zdnou desku, oby\u010dejn\u00fd .bin aktualizace). Kontroln\u00ed sou\u010dty jsou v SHA256SUMS . Releasy do 12. 11. 2026 se jmenovaly tth- . nRF52 (XIAO, RAK4631, SenseCAP Solar, T1000-E, T114) p\u0159es webov\u00fd flasher MeshCore \u2013 Chrome, Edge nebo Chromium na po\u010d\u00edta\u010di (Web Serial; ne Firefox ani Safari): P\u0159ipoj desku p\u0159es USB. Klikni na Custom Firmware a vyber .zip pro svou desku. Klikni na Enter DFU mode a vyber s\u00e9riov\u00fd port desky. Deska se restartuje do bootloaderu a objev\u00ed se jako nov\u00fd port. Klikni na Flash! a vyber ten nov\u00fd port. Zhruba 30 s, pak se deska restartuje do nov\u00e9ho firmwaru. Console ve flasheru (nebo jak\u00fdkoli s\u00e9riov\u00fd termin\u00e1l, 115200) ov\u011b\u0159\u00ed v\u00fdsledek: ver uk\u00e1\u017ee v1.xx.x-tth , stejn\u011b jako \u0159\u00e1dek \u201eVerze v uzlu\u201c v popisu releasu. Neklikej na Erase Flash , pokud nechce\u0161 nov\u00fd uzel: sma\u017ee identitu (kl\u00ed\u010d uzlu a v\u0161echno, co ho zn\u00e1) i ve\u0161ker\u00e9 nastaven\u00ed. Oby\u010dejn\u00e9 nahr\u00e1n\u00ed je zachov\u00e1. Vyzkou\u0161eno na XIAO (repeater-observer, 3. 11. 2026). ESP32 .bin p\u0159es stejn\u00e9 tla\u010d\u00edtko Custom Firmware tu vyzkou\u0161en\u00e9 nen\u00ed. Bez webov\u00e9ho flasheru: na v\u011bt\u0161in\u011b desek otev\u0159e dvoj\u00ed stisk resetu bootloader jako USB disk; zkop\u00edruj na n\u011bj .uf2 . Nebo adafruit-nrfutil dfu serial -pkg .zip -p -b 115200 s deskou v bootloaderu. Nov\u00fd uzel po nahr\u00e1n\u00ed nastav v konzoli: set name , password (nejv\u00fd\u0161 15 znak\u016f), vlastn\u00ed region p\u0159es region put cz- cz + region save . Repeater p\u0159epos\u00edl\u00e1 od prvn\u00edho startu (v\u00fdchoz\u00ed v upstreamu) a tyhle buildy jsou na ostr\u00e9 CZ frekvenci: na stole bez ant\u00e9ny dej set repeat off , dokud nen\u00ed na m\u00edst\u011b.","title":"Nahr\u00e1n\u00ed releasu"},{"location":"#experimentalni-aktualizace-firmwaru-od-admina-ota","text":"Ka\u017ed\u00fd nRF52 build s textovou konzol\u00ed (repeater, observer, room server, senzor) je v releasu je\u0161t\u011b jednou jako experiment\u00e1ln\u00ed *-ota / *-observer-ota . Ten um\u00ed p\u0159ijmout nov\u00fd firmware od admina p\u0159\u00edkazy fw \u2026 : v USB nebo BLE konzoli, nebo p\u0159es mesh jako vzd\u00e1len\u00e9 admin CLI . Bez zm\u011bny bootloaderu a bez druh\u00e9 banky: uzel si bal\u00ed\u010dek ulo\u017e\u00ed do voln\u00e9 flash, zkontroluje ho cel\u00fd (podpis, hashe, nane\u010disto proveden\u00e1 delta) a p\u0159ep\u00ed\u0161e se a\u017e na fw apply , rutinou b\u011b\u017e\u00edc\u00ed z RAM. Kdy\u017e b\u011bhem p\u0159episu vypadne nap\u00e1jen\u00ed, z\u016fstane v bootloaderu a vr\u00e1t\u00ed se p\u0159es USB/BLE DFU. V releasu je ke ka\u017ed\u00e9mu *-ota obrazu pln\u00fd bal\u00ed\u010dek _-ota-.mcfw (jen p\u0159es USB/BLE) a delta \u2026.from-.mcfw od ka\u017ed\u00e9ho dr\u017een\u00e9ho p\u0159edchoz\u00edho releasu, typicky jednotky kB. P\u0159es mesh uzel p\u0159ijme jen deltu, a nikdy ne star\u0161\u00ed verzi, ne\u017e m\u00e1 \u2013 vynucuje to uzel, ne n\u00e1stroj. Pln\u00fd obraz nebo n\u00e1vrat ke star\u0161\u00ed verzi jen lok\u00e1ln\u011b ( fw apply downgrade ). fw apply \u010dek\u00e1 na baterii \u2265 3,8 V, pokud uzel neb\u011b\u017e\u00ed z USB. Bal\u00ed\u010dky i SHA256SUMS jsou podepsan\u00e9 kl\u00ed\u010dem meshcore-ota@tth-pub a *-ota obraz jin\u00fd podpis nep\u0159ijme. Ov\u011b\u0159en\u00ed sta\u017een\u00fdch soubor\u016f: ssh-keygen -Y verify -f tools/ota_allowed_signers -I meshcore-ota@tth-pub -n meshcore-ota -s SHA256SUMS.sig < SHA256SUMS . Vlastn\u00ed build s vlastn\u00edm kl\u00ed\u010dem: [ota] pubkey v platformio.local.ini . Prvn\u00ed *-ota obraz se nahraje oby\u010dejn\u011b (viz v\u00fd\u0161e), dal\u0161\u00ed u\u017e jako delta. N\u00e1stroje: tools/ota_push.py (USB), tools/ota_mesh_push.py (p\u0159es mesh skrz companion; pot\u0159ebuje pythonovou knihovnu meshcore , admin heslo bere z [secrets] admin_pw v platformio.local.ini ; s --side jde p\u0159enos po vedlej\u0161\u00edm kan\u00e1lu mimo sd\u00edlen\u00fd mesh), tools/ota_pack.py info . P\u0159enos samotn\u00fd je OTA engine kolekce tth.meshcore (modul meshcore_fw_ota ), stejn\u00fd k\u00f3d pro n\u00e1stroje i Ansible. Z telefonu: fork aplikace meshcore-open , spr\u00e1va repeateru \u2192 Firmware update (OTA), deltu si najde v releasu s\u00e1m. Postup a \u010d\u00edsla: docs/ota.md . Experiment\u00e1ln\u00ed i v r\u00e1mci tohoto forku : obrazy p\u0159ich\u00e1zej\u00ed s ka\u017ed\u00fdm releasem (viz upozorn\u011bn\u00ed naho\u0159e) a nemaj\u00ed druhou banku ani automatick\u00fd n\u00e1vrat. Vadn\u00fd firmware, kter\u00fd nabootuje, b\u011b\u017e\u00ed, dokud nepo\u0161lete dal\u0161\u00ed; takov\u00fd, kter\u00fd nenabootuje, chce USB/BLE DFU v ruce. Vyzkou\u0161eno na lavici (XIAO, USB, mesh, vedlej\u0161\u00ed kan\u00e1l) a od 13. 11. 2026 na dvou na\u0161ich sto\u017e\u00e1rech. Proti obrazu, kter\u00fd nabootuje s mrtv\u00fdm r\u00e1diem, jsou watchdogy r\u00e1dia (viz Diagnostika a provoz): pro uzly, kam pos\u00edl\u00e1te OTA, zapn\u011bte set radio.silence . Stoj\u00ed ~10 kB RAM nav\u00edc.","title":"Experiment\u00e1ln\u00ed: aktualizace firmwaru od admina (*-ota)"},{"location":"#sestaveni","text":"Raz\u00edtko verze v ka\u017ed\u00e9m nRF52 envu ( v1.18.0-tth , + = neuklizen\u00fd strom), z\u00e1kladn\u00ed verze z upstreamov\u00e9ho tagu ( tools/build_version.py ). tools/ : n\u00e1stroje na uzly \u2013 konzole (USB, BLE), flashov\u00e1n\u00ed, testy na lavici, diagnostika ( tools/README.md ). Desky podle jm\u00e9na bere z lok\u00e1ln\u00edho configu mimo repo ( tools/config.example.ini ). hardware/cavity-box : parametrick\u00e1 krabi\u010dka pro dutinov\u00fd filtr na sto\u017e\u00e1r.","title":"Sestaven\u00ed"},{"location":"ble-lora-coexistence/","text":"BLE/LoRa coexistence \u2014 bench reproduction attempt Working notes for the DIRECT-forward loss seen on mast-three (SenseCap Solar, SenseCap_Solar_repeater_ble ). Written down because the result is mostly negative , and a negative result is only worth anything if the method and its limits are recorded with it. The claim under test Commit f6e9aeca widened the BLE connection interval from 15\u201330 ms to 60\u201380 ms after an A/B on the mast showed ~40 % of DIRECT-route forwards silently lost with an idle BLE connection at 15\u201330 ms. The stated mechanism is that the SoftDevice's per-connection-event preemption disturbs the SX126x TX path ( startTransmit fail / send-complete timeout). The fix is deployed. What was never established is whether a bench rig can detect the effect at all \u2014 a measurement that reads zero in both the treatment and the control has shown nothing. Rig Isolated test mesh on 866.5 MHz (BW 62.5, SF 8, CR 5). Isolation is by frequency, not by tx power: a hilltop repeater with RX_BOOSTED_GAIN hears a few mW just fine. The override is compile-time ( platformio.local.ini ) because MyMesh.cpp seeds _prefs.freq from LORA_FREQ , so the firmware cannot come up on the production frequency even after erase . node board role bench-board XIAO nRF52840 + Wio-SX1262 forwarder under test bench-board same paired control / radiating witness bench-board , bench-board same probe sources bench-rpt SenseCap Solar Node forwarder, mast-identical hardware tth-s2-rpt same paired control Paired controls differ only in ADVERT_NAME , verified by diffing strings in the ELF. Any other difference invalidates them. Oracle The measured quantity is the node's own direct_rx \u2212 direct_tx from stats-packets : how many DIRECT packets it accepted for forwarding versus how many it actually sent. This is self-normalising \u2014 it does not depend on channel conditions or on a receiver hearing anything. tx_start_fail and tx_timeout are the mechanism-level counters. A second repeater with repeat off acts as a radiating witness, so \"counted a TX\" can be distinguished from \"actually radiated\". Route forcing: a contact is injected into the sender's companion with an explicit out_path , so the DM must traverse the node under test. out_path_len is not a hop count \u2014 it is a packed byte, top two bits = hash size \u2212 1, low six = hop count ( Packet.h:85 ). One hop with a 2-byte hash is 0x41 , not 1 . The receiver reads the size out of the packet ( Mesh.cpp:93 ), so a forced path works regardless of the node's path.hash.mode . What was measured All cells at a verified 22.50 ms connection interval \u2014 bleconn reports the parameters actually negotiated, because bleOnSecured() only requests them and the central may refuse. Without that read-back none of the null results below would mean anything. blepwr \u2248RSSI at central link up direct_rx direct_tx lost tx_timeout BLE off \u2014 \u2014 8 8 0 0 0 dBm \u221267 100 % 8 8 0 0 \u22128 \u221275 100 % 8 8 0 0 \u221212 \u221279 100 % 8 8 0 0 \u221216 \u221283 87 % 8 8 0 0 \u221220 \u221287 27 % 8 8 0 0 The \u221220 dBm row is a bonus condition: the link held only a quarter of the window, so the node spent the rest advertising and re-connecting \u2014 close to the reconnect churn the mast reports as HCI 0x3E. Ruled out as the missing factor: BLE link margin. The whole \u221275..\u221290 window the mast sits in is covered, at the known-bad interval, with zero loss. Why idle + weak link does nothing In idle the connection events carry empty PDUs, whose retransmission costs almost no radio time. The cost of a retransmission scales with payload size, and the mast has a bridge actively draining the console. Hence the poll mode in the harness. Direction matters too, and it is the reason to weaken our side rather than the central's: a connection event ends as soon as either side misses a packet, so if the central misses our PDU we must re-send it at the next anchor \u2014 an extra slave TX. If we miss the central's PDU we never transmit in that event at all, and the SoftDevice uses less radio. On mast hardware, with the file log on Two SenseCap Solar nodes ( bench-rpt forwarder, tth-s2-rpt paired control) \u2014 the same board as the mast, so InternalFS logging, INA226/solar telemetry and the SenseCap SPI layout are all in play. Again at a verified 22.50 ms interval ( bleconn ). file log BLE direct_rx direct_tx lost tx_timeout witness off off 8 8 0 0 +39 off idle, 88 % of window 8 8 0 0 +37 on off 8 8 0 0 +39 on idle, 90 % of window 8 8 0 0 +40 The logging condition was real, not nominal: log afterwards held 69 entries with RX/TX lines timestamped inside the measurement window, i.e. an InternalFS write per packet \u2014 the mechanism behind the known deaf windows. Ten cells, 80 forced forwards, zero lost, tx_timeout and tx_start_fail at zero throughout. Against the mast's reported ~40 % loss rate this is not a weak null: a single 8-probe cell would miss a true 40 % effect with probability 0.6\u2078 \u2248 1.7 %, and ten cells make it vanishing. Whatever the mast is doing, it is not reproduced by the connection interval, the BLE link margin, the board, or InternalFS logging \u2014 alone or together. Still open Loaded LoRa channel is the one uncontrolled difference left. Ours is idle; the mast relays flood traffic, so its forwards contend for a busy channel and the TX window lands on a BLE connection event far more often. This cannot be tested legally here: 866.5 is capped at 1 % duty and the 10 % sub-band (869.4\u2013869.65) is where production lives. Practical consequence: f6e9aeca can be neither confirmed nor refuted on the bench. Deciding whether the 60\u201380 ms interval is still needed requires measuring on mast-three itself \u2014 the counters ( stats-packets , and now bleconn to prove which interval is actually in force) are all reachable over its BLE console. Airtime is a hard limit, and the firmware will not enforce it 866.5 MHz sits in 865\u2013868 (CZ VO-R/10): 25 mW ERP, 1 % duty cycle = 36 s of transmission per hour . The firmware does not police this \u2014 airtime_factor defaults to 0 (= 100 %) and is clamped to 9, so the lowest duty MeshCore can enforce is 10 %. The first sweep consumed tx_air_secs 27 s in 18 minutes of uptime, a rate of ~2.5 %. Budget the probes: stats-radio.tx_air_secs is the ground truth, and the harness aborts before crossing a configured cap. stats-core.queue_len and errors are a required control, not decoration: when the airtime budget runs out the Dispatcher defers a forward ( next_tx_time , Dispatcher.cpp:101 ), which looks identical to loss in the counters. Both were zero throughout. Traps worth remembering USB and BLE consoles share one command[160] . Two concurrent consoles interleave into one line and crash the node. The harness keeps a strict sequence: counters over USB \u2192 close USB \u2192 BLE client \u2192 probes \u2192 stop BLE \u2192 counters over USB. Bluefruit.setTxPower() is advertising-only (see the commit message for blepwr ); the connection runs at the SoftDevice default 0 dBm. Weakening the link can lock you out of BLE. Below about \u221216 dBm the node's replies stop arriving and the value is re-applied on every reconnect (and, since 6. 10. 2026, saved). The way back is blepwr over the mesh admin CLI. ~~Runtime set tx does not change radiated LoRa power~~ \u2014 retracted. The original reading (+2 dBm \u2192 RSSI \u221244.1, \u22129 dBm \u2192 \u221244.0) was made with an instrument that could not report failure: RadioLibWrapper::setTxPower() discarded RadioLib's status, so a refused request looked exactly like an accepted one. Re-measured 2026-08-04 on the repeater build with txpwr confirming each step, x1 transmitting and x4 as witness: txpwr witness last_rssi +22 0 dBm (saturated) +14 \u22121 dBm (saturated) +6 \u22127 dBm 0 \u221218 dBm \u22129 \u221228 dBm 31 dB of command produced 28 dB of RSSI, and the witness recv counter rose by one at every step, so no point was missed. Radiated power does follow the setting. The top two points are saturated \u2014 the boards were ~10 cm apart \u2014 so the usable range of that particular rig starts around +6 dBm; characterising the top end needs attenuation or distance, not a bigger number. The lesson is not about tx power. It is that a null result from an instrument which cannot distinguish \"refused\" from \"no effect\" is not a result at all. The two commands this bench added Both live in examples/simple_repeater/main.cpp and are repeater-only. bleconn \u2014 what the link is actually doing bleconn -> BLE conn: interval 75.00 ms (req 60-80), latency 0, sup timeout 4000 ms [live] Reports the negotiated connection parameters, not the requested ones. The central is free to ignore a peripheral's request, so this is the only way to know whether a change like f6e9aeca (widening the requested interval to 60\u201380 ms) is in force on a node you cannot see. The trailing [live] / [last] says whether a client is connected right now or these are the values from the last one; before any client has ever connected it answers nothing seen yet . blepwr [dBm] \u2014 connection TX power, saved blepwr # report: BLE conn tx: 0 dBm, adv tx: 8 dBm blepwr 8 # set, apply to live connections and save blepwr default # forget the saved value, back to RPT_BLE_CONN_TX_POWER The reply carries how many live connections accepted the value ( OK - BLE conn tx 8 dBm (1/1 conn), saved ) because the nRF52840 only takes \u221240, \u221220, \u221216, \u221212, \u22128, \u22124, 0 and 2..8 dBm; anything else is rejected and is not latched or saved, so a typo cannot arm itself for the next reconnect. The value lives in /ble_pwr in InternalFS, so it survives a reboot and also a reflash with a different build default: an explicit value is pinned even when it equals the default (no file = follow RPT_BLE_CONN_TX_POWER , which mast-three's env sets to 8). Sets BLE_GAP_TX_POWER_ROLE_CONN , which is independent of Bluefruit.setTxPower() \u2014 that one only affects advertising, despite reading like a global. The connection otherwise runs at the SoftDevice default of 0 dBm; the compile-time starting value is RPT_BLE_CONN_TX_POWER . The value is re-applied on every 'secured' event and saved, so a setting weak enough to break the link persists across reconnects and reboots \u2014 at \u221240 dBm during this bench it locked the BLE console out. Fix it over the mesh admin CLI ( blepwr 0 ), which does not depend on BLE. Until 6. 10. 2026 a weakening auto-reverted after 5 minutes and nothing was saved; that went away once the value started to be saved, because a revert that the next reboot undoes again only made the state harder to read.","title":"Koexistence BLE/LoRa"},{"location":"ble-lora-coexistence/#blelora-coexistence-bench-reproduction-attempt","text":"Working notes for the DIRECT-forward loss seen on mast-three (SenseCap Solar, SenseCap_Solar_repeater_ble ). Written down because the result is mostly negative , and a negative result is only worth anything if the method and its limits are recorded with it.","title":"BLE/LoRa coexistence \u2014 bench reproduction attempt"},{"location":"ble-lora-coexistence/#the-claim-under-test","text":"Commit f6e9aeca widened the BLE connection interval from 15\u201330 ms to 60\u201380 ms after an A/B on the mast showed ~40 % of DIRECT-route forwards silently lost with an idle BLE connection at 15\u201330 ms. The stated mechanism is that the SoftDevice's per-connection-event preemption disturbs the SX126x TX path ( startTransmit fail / send-complete timeout). The fix is deployed. What was never established is whether a bench rig can detect the effect at all \u2014 a measurement that reads zero in both the treatment and the control has shown nothing.","title":"The claim under test"},{"location":"ble-lora-coexistence/#rig","text":"Isolated test mesh on 866.5 MHz (BW 62.5, SF 8, CR 5). Isolation is by frequency, not by tx power: a hilltop repeater with RX_BOOSTED_GAIN hears a few mW just fine. The override is compile-time ( platformio.local.ini ) because MyMesh.cpp seeds _prefs.freq from LORA_FREQ , so the firmware cannot come up on the production frequency even after erase . node board role bench-board XIAO nRF52840 + Wio-SX1262 forwarder under test bench-board same paired control / radiating witness bench-board , bench-board same probe sources bench-rpt SenseCap Solar Node forwarder, mast-identical hardware tth-s2-rpt same paired control Paired controls differ only in ADVERT_NAME , verified by diffing strings in the ELF. Any other difference invalidates them.","title":"Rig"},{"location":"ble-lora-coexistence/#oracle","text":"The measured quantity is the node's own direct_rx \u2212 direct_tx from stats-packets : how many DIRECT packets it accepted for forwarding versus how many it actually sent. This is self-normalising \u2014 it does not depend on channel conditions or on a receiver hearing anything. tx_start_fail and tx_timeout are the mechanism-level counters. A second repeater with repeat off acts as a radiating witness, so \"counted a TX\" can be distinguished from \"actually radiated\". Route forcing: a contact is injected into the sender's companion with an explicit out_path , so the DM must traverse the node under test. out_path_len is not a hop count \u2014 it is a packed byte, top two bits = hash size \u2212 1, low six = hop count ( Packet.h:85 ). One hop with a 2-byte hash is 0x41 , not 1 . The receiver reads the size out of the packet ( Mesh.cpp:93 ), so a forced path works regardless of the node's path.hash.mode .","title":"Oracle"},{"location":"ble-lora-coexistence/#what-was-measured","text":"All cells at a verified 22.50 ms connection interval \u2014 bleconn reports the parameters actually negotiated, because bleOnSecured() only requests them and the central may refuse. Without that read-back none of the null results below would mean anything. blepwr \u2248RSSI at central link up direct_rx direct_tx lost tx_timeout BLE off \u2014 \u2014 8 8 0 0 0 dBm \u221267 100 % 8 8 0 0 \u22128 \u221275 100 % 8 8 0 0 \u221212 \u221279 100 % 8 8 0 0 \u221216 \u221283 87 % 8 8 0 0 \u221220 \u221287 27 % 8 8 0 0 The \u221220 dBm row is a bonus condition: the link held only a quarter of the window, so the node spent the rest advertising and re-connecting \u2014 close to the reconnect churn the mast reports as HCI 0x3E. Ruled out as the missing factor: BLE link margin. The whole \u221275..\u221290 window the mast sits in is covered, at the known-bad interval, with zero loss.","title":"What was measured"},{"location":"ble-lora-coexistence/#why-idle-weak-link-does-nothing","text":"In idle the connection events carry empty PDUs, whose retransmission costs almost no radio time. The cost of a retransmission scales with payload size, and the mast has a bridge actively draining the console. Hence the poll mode in the harness. Direction matters too, and it is the reason to weaken our side rather than the central's: a connection event ends as soon as either side misses a packet, so if the central misses our PDU we must re-send it at the next anchor \u2014 an extra slave TX. If we miss the central's PDU we never transmit in that event at all, and the SoftDevice uses less radio.","title":"Why idle + weak link does nothing"},{"location":"ble-lora-coexistence/#on-mast-hardware-with-the-file-log-on","text":"Two SenseCap Solar nodes ( bench-rpt forwarder, tth-s2-rpt paired control) \u2014 the same board as the mast, so InternalFS logging, INA226/solar telemetry and the SenseCap SPI layout are all in play. Again at a verified 22.50 ms interval ( bleconn ). file log BLE direct_rx direct_tx lost tx_timeout witness off off 8 8 0 0 +39 off idle, 88 % of window 8 8 0 0 +37 on off 8 8 0 0 +39 on idle, 90 % of window 8 8 0 0 +40 The logging condition was real, not nominal: log afterwards held 69 entries with RX/TX lines timestamped inside the measurement window, i.e. an InternalFS write per packet \u2014 the mechanism behind the known deaf windows. Ten cells, 80 forced forwards, zero lost, tx_timeout and tx_start_fail at zero throughout. Against the mast's reported ~40 % loss rate this is not a weak null: a single 8-probe cell would miss a true 40 % effect with probability 0.6\u2078 \u2248 1.7 %, and ten cells make it vanishing. Whatever the mast is doing, it is not reproduced by the connection interval, the BLE link margin, the board, or InternalFS logging \u2014 alone or together.","title":"On mast hardware, with the file log on"},{"location":"ble-lora-coexistence/#still-open","text":"Loaded LoRa channel is the one uncontrolled difference left. Ours is idle; the mast relays flood traffic, so its forwards contend for a busy channel and the TX window lands on a BLE connection event far more often. This cannot be tested legally here: 866.5 is capped at 1 % duty and the 10 % sub-band (869.4\u2013869.65) is where production lives. Practical consequence: f6e9aeca can be neither confirmed nor refuted on the bench. Deciding whether the 60\u201380 ms interval is still needed requires measuring on mast-three itself \u2014 the counters ( stats-packets , and now bleconn to prove which interval is actually in force) are all reachable over its BLE console.","title":"Still open"},{"location":"ble-lora-coexistence/#airtime-is-a-hard-limit-and-the-firmware-will-not-enforce-it","text":"866.5 MHz sits in 865\u2013868 (CZ VO-R/10): 25 mW ERP, 1 % duty cycle = 36 s of transmission per hour . The firmware does not police this \u2014 airtime_factor defaults to 0 (= 100 %) and is clamped to 9, so the lowest duty MeshCore can enforce is 10 %. The first sweep consumed tx_air_secs 27 s in 18 minutes of uptime, a rate of ~2.5 %. Budget the probes: stats-radio.tx_air_secs is the ground truth, and the harness aborts before crossing a configured cap. stats-core.queue_len and errors are a required control, not decoration: when the airtime budget runs out the Dispatcher defers a forward ( next_tx_time , Dispatcher.cpp:101 ), which looks identical to loss in the counters. Both were zero throughout.","title":"Airtime is a hard limit, and the firmware will not enforce it"},{"location":"ble-lora-coexistence/#traps-worth-remembering","text":"USB and BLE consoles share one command[160] . Two concurrent consoles interleave into one line and crash the node. The harness keeps a strict sequence: counters over USB \u2192 close USB \u2192 BLE client \u2192 probes \u2192 stop BLE \u2192 counters over USB. Bluefruit.setTxPower() is advertising-only (see the commit message for blepwr ); the connection runs at the SoftDevice default 0 dBm. Weakening the link can lock you out of BLE. Below about \u221216 dBm the node's replies stop arriving and the value is re-applied on every reconnect (and, since 6. 10. 2026, saved). The way back is blepwr over the mesh admin CLI. ~~Runtime set tx does not change radiated LoRa power~~ \u2014 retracted. The original reading (+2 dBm \u2192 RSSI \u221244.1, \u22129 dBm \u2192 \u221244.0) was made with an instrument that could not report failure: RadioLibWrapper::setTxPower() discarded RadioLib's status, so a refused request looked exactly like an accepted one. Re-measured 2026-08-04 on the repeater build with txpwr confirming each step, x1 transmitting and x4 as witness: txpwr witness last_rssi +22 0 dBm (saturated) +14 \u22121 dBm (saturated) +6 \u22127 dBm 0 \u221218 dBm \u22129 \u221228 dBm 31 dB of command produced 28 dB of RSSI, and the witness recv counter rose by one at every step, so no point was missed. Radiated power does follow the setting. The top two points are saturated \u2014 the boards were ~10 cm apart \u2014 so the usable range of that particular rig starts around +6 dBm; characterising the top end needs attenuation or distance, not a bigger number. The lesson is not about tx power. It is that a null result from an instrument which cannot distinguish \"refused\" from \"no effect\" is not a result at all.","title":"Traps worth remembering"},{"location":"ble-lora-coexistence/#the-two-commands-this-bench-added","text":"Both live in examples/simple_repeater/main.cpp and are repeater-only.","title":"The two commands this bench added"},{"location":"ble-lora-coexistence/#bleconn-what-the-link-is-actually-doing","text":"bleconn -> BLE conn: interval 75.00 ms (req 60-80), latency 0, sup timeout 4000 ms [live] Reports the negotiated connection parameters, not the requested ones. The central is free to ignore a peripheral's request, so this is the only way to know whether a change like f6e9aeca (widening the requested interval to 60\u201380 ms) is in force on a node you cannot see. The trailing [live] / [last] says whether a client is connected right now or these are the values from the last one; before any client has ever connected it answers nothing seen yet .","title":"bleconn \u2014 what the link is actually doing"},{"location":"ble-lora-coexistence/#blepwr-dbm-connection-tx-power-saved","text":"blepwr # report: BLE conn tx: 0 dBm, adv tx: 8 dBm blepwr 8 # set, apply to live connections and save blepwr default # forget the saved value, back to RPT_BLE_CONN_TX_POWER The reply carries how many live connections accepted the value ( OK - BLE conn tx 8 dBm (1/1 conn), saved ) because the nRF52840 only takes \u221240, \u221220, \u221216, \u221212, \u22128, \u22124, 0 and 2..8 dBm; anything else is rejected and is not latched or saved, so a typo cannot arm itself for the next reconnect. The value lives in /ble_pwr in InternalFS, so it survives a reboot and also a reflash with a different build default: an explicit value is pinned even when it equals the default (no file = follow RPT_BLE_CONN_TX_POWER , which mast-three's env sets to 8). Sets BLE_GAP_TX_POWER_ROLE_CONN , which is independent of Bluefruit.setTxPower() \u2014 that one only affects advertising, despite reading like a global. The connection otherwise runs at the SoftDevice default of 0 dBm; the compile-time starting value is RPT_BLE_CONN_TX_POWER . The value is re-applied on every 'secured' event and saved, so a setting weak enough to break the link persists across reconnects and reboots \u2014 at \u221240 dBm during this bench it locked the BLE console out. Fix it over the mesh admin CLI ( blepwr 0 ), which does not depend on BLE. Until 6. 10. 2026 a weakening auto-reverted after 5 minutes and nothing was saved; that went away once the value started to be saved, because a revert that the next reboot undoes again only made the state harder to read.","title":"blepwr [dBm] \u2014 connection TX power, saved"},{"location":"budka-sensor/","text":"Budka link \u2014 a Chytra Budka as a sensor source A Chytra Budka (ESP32-S3 bird box) sends its readings over a one-way UART line to a XIAO nRF52840 running simple_sensor ; the sensor serves them as CayenneLPP telemetry to anyone on the mesh. The line format and the budka side are documented in the chytra-budka repo, firmware/MESHCORE.md . Build BudkaLinkSensorManager ( src/helpers/sensors/ ) replaces the variant's EnvironmentSensorManager when the env defines BUDKA_LINK_RX_PIN ; every other env is unchanged. [env : Xiao_x1_budka] ; platformio.local.ini extends = env:Xiao_nrf52_sensor build_flags = ${env : Xiao_nrf52_sensor.build_flags} ${test_radio.build_flags} ; bench : test band only -D BUDKA_LINK_RX_PIN = 0 ; D0 = the only pad LoRa + I\u00b2C leave free Optional: BUDKA_LINK_TX_PIN (default LED_GREEN \u2014 nothing is ever sent, the idle-high line keeps that LED dark), BUDKA_LINK_BAUD (115200), BUDKA_LINK_METERS (3), BUDKA_LINK_STALE_MS (120 s). Wiring Budka mc_tx pad \u2192 XIAO D0 , GND \u2194 GND, each board on its own USB. A 1 k\u03a9 series resistor protects against back-powering when one side is off. Telemetry layout channel content 1 the node itself next budka: temperature, humidity, pressure, motion count (generic sensor) next + k UC96 meter k : voltage, current, power (analog input), energy (kWh) A line with a bad checksum is dropped whole; a value not refreshed for 2 min is left out. Meter channels stay reserved while a meter is missing. Read it with .tth/tools/budka_telem.py . The sensor answers only clients in its ACL \u2014 a request from anyone else is dropped ( recv matches no peers in a MESH_DEBUG build). Add the companion from the sensor's USB console with setperm 1 , or log in as admin. The port may be a pyserial URL ( socket://\u2026 for an openHop companion), and the name may be the sensor's public key when the companion does not have it yet. Bench result (13. 10. 2026) x1 (sensor, test band) fed by the bench budka; x4 as USB companion: ch2 temp_C 25.3 humidity_% 59.0 generic 29 ch3 voltage_V 4.94 current_A 0.10 analog_in 0.49 energy_kWh 0.111 ch4 voltage_V 4.94 current_A 0.18 analog_in 0.89 energy_kWh 0.311 Not done Alerts (reed opened, budka WiFi down) and the return direction (mesh \u2192 budka). The sensor build has no dfu console command \u2014 reflash with pio run -t upload , one touch per power session.","title":"Budka jako senzor \u00b7 Budka sensor"},{"location":"budka-sensor/#budka-link-a-chytra-budka-as-a-sensor-source","text":"A Chytra Budka (ESP32-S3 bird box) sends its readings over a one-way UART line to a XIAO nRF52840 running simple_sensor ; the sensor serves them as CayenneLPP telemetry to anyone on the mesh. The line format and the budka side are documented in the chytra-budka repo, firmware/MESHCORE.md .","title":"Budka link \u2014 a Chytra Budka as a sensor source"},{"location":"budka-sensor/#build","text":"BudkaLinkSensorManager ( src/helpers/sensors/ ) replaces the variant's EnvironmentSensorManager when the env defines BUDKA_LINK_RX_PIN ; every other env is unchanged. [env : Xiao_x1_budka] ; platformio.local.ini extends = env:Xiao_nrf52_sensor build_flags = ${env : Xiao_nrf52_sensor.build_flags} ${test_radio.build_flags} ; bench : test band only -D BUDKA_LINK_RX_PIN = 0 ; D0 = the only pad LoRa + I\u00b2C leave free Optional: BUDKA_LINK_TX_PIN (default LED_GREEN \u2014 nothing is ever sent, the idle-high line keeps that LED dark), BUDKA_LINK_BAUD (115200), BUDKA_LINK_METERS (3), BUDKA_LINK_STALE_MS (120 s).","title":"Build"},{"location":"budka-sensor/#wiring","text":"Budka mc_tx pad \u2192 XIAO D0 , GND \u2194 GND, each board on its own USB. A 1 k\u03a9 series resistor protects against back-powering when one side is off.","title":"Wiring"},{"location":"budka-sensor/#telemetry-layout","text":"channel content 1 the node itself next budka: temperature, humidity, pressure, motion count (generic sensor) next + k UC96 meter k : voltage, current, power (analog input), energy (kWh) A line with a bad checksum is dropped whole; a value not refreshed for 2 min is left out. Meter channels stay reserved while a meter is missing. Read it with .tth/tools/budka_telem.py . The sensor answers only clients in its ACL \u2014 a request from anyone else is dropped ( recv matches no peers in a MESH_DEBUG build). Add the companion from the sensor's USB console with setperm 1 , or log in as admin. The port may be a pyserial URL ( socket://\u2026 for an openHop companion), and the name may be the sensor's public key when the companion does not have it yet.","title":"Telemetry layout"},{"location":"budka-sensor/#bench-result-13-10-2026","text":"x1 (sensor, test band) fed by the bench budka; x4 as USB companion: ch2 temp_C 25.3 humidity_% 59.0 generic 29 ch3 voltage_V 4.94 current_A 0.10 analog_in 0.49 energy_kWh 0.111 ch4 voltage_V 4.94 current_A 0.18 analog_in 0.89 energy_kWh 0.311","title":"Bench result (13. 10. 2026)"},{"location":"budka-sensor/#not-done","text":"Alerts (reed opened, budka WiFi down) and the return direction (mesh \u2192 budka). The sensor build has no dfu console command \u2014 reflash with pio run -t upload , one touch per power session.","title":"Not done"},{"location":"cli_commands/","text":"CLI Commands This document provides an overview of CLI commands that can be sent to MeshCore Repeaters, Room Servers and Sensors. Navigation Operational Neighbors Posts Statistics Logging Information Configuration Radio System Routing ACL Region Management Region Examples GPS Sensors Bridge Ethernet Operational Reboot the node Usage: - reboot Note: No reply is sent. Power-off the node Usage: - poweroff , or - shutdown Note: No reply is sent. Reset the clock and reboot Usage: - clkreboot Note: No reply is sent. Resets the clock to the firmware's build epoch (or, on an unstamped build, the upstream 15 May 2024 literal) and reboots. This is the only way to move a clock backwards: time and clock sync both refuse to. Sync the clock with the remote device Usage: - clock sync Takes the time from the packet's sender_timestamp , so it works only over the remote admin CLI , never from the USB or BLE console \u2014 those pass sender_timestamp = 0 (they share one command buffer, see examples/simple_repeater/main.cpp ), and 0 > curr is never true, so a local clock sync always answers ERR: clock cannot go backwards . Use time locally. Display current time in UTC Usage: - clock Reply: HH:MM - D/M/YYYY UTC (epoch ) The epoch is a TeTeHacko addition. The human part is minutes only, so a host comparing clocks cannot see a difference smaller than a minute and has to leave a deadband of over 59 s; the epoch makes the comparison exact. It is appended, so anything that only prints the reply is unaffected. Set the time to a specific timestamp Usage: - time Parameters: - epoch_seconds : Unix epoch time Refuses to go backwards ( secs > curr ), answering (ERR: clock cannot go backwards) . That reply usually means the clock was already right, so treat it as success and judge by reading clock back. Where the clock comes from if nobody sets it. Without GPS and without an I2C RTC the clock is volatile: it starts at the build epoch and only ticks from millis() . It is worth setting, because the RTC stamps every advert the node transmits and a receiver drops a stale timestamp as a replay. Automatic sources, in order of preference: GPS ( gps duty is enough \u2014 see docs/power.md ); an attached host \u2014 tools/ble_cli.py \"time {epoch}\" , the meshcore-ble-bridge / meshcore-serial-bridge scrape, or tools/xiao_uf2_flash.sh , which sets it right after every flash; the build epoch , which is where a freshly flashed board starts, and which needs nothing at all. Send a flood advert Usage: - advert Send a zero-hop advert Usage: - advert.zerohop Start an Over-The-Air (OTA) firmware update Usage: - start ota Erase/Factory Reset Usage: - erase Serial Only: Yes Warning: This is destructive! Neighbors (Repeater Only) List nearby neighbors Usage: - neighbors Note: The output of this command is limited to the 8 most recent adverts. Note: Each line is encoded as {pubkey-prefix}:{timestamp}:{snr*4} Remove a neighbor Usage: - neighbor.remove Parameters: - pubkey_prefix : The public key of the node to remove from the neighbors list. This can be a short prefix or the full key. All neighbors matching the provided prefix will be removed. Note: You can remove all neighbors by sending a space character as the prefix. The space indicates an empty prefix, which matches all existing neighbors. Discover zero hop neighbors Usage: - discover.neighbors Posts (Room Server Only) Post a message as the room server Usage: - room.post Parameters: - message : The text of the post Note: The post is stored and pushed to logged-in clients like a client's post, with the room server as its author. Statistics Clear Stats Usage: clear stats System Stats - Battery, Uptime, Queue Length and Debug Flags Usage: - stats-core Serial Only: Yes Note: Output format: {\"battery_mv\":,\"uptime_secs\":,\"errors\":,\"queue_len\":} Note: errors is a bitmask shown as \"Debug flags\" in the app's repeater status. Value Flag Meaning 1 ERR_EVENT_FULL A packet failed to send because the memory pool was full. 2 ERR_EVENT_CAD_TIMEOUT After waiting 4 seconds for a gap, a packet was transmitted into a busy network. 4 ERR_EVENT_STARTRX_TIMEOUT The radio was out of receive mode for more than 8 seconds. Flags stay set until the node reboots or clear stats is run. Radio Stats - Noise floor, Last RSSI/SNR, Airtime, Receive errors Usage: stats-radio Serial Only: Yes Packet stats - Packet counters: Received, Sent Usage: stats-packets Serial Only: Yes Logging Begin capture of rx log to node storage Usage: log start End capture of rx log to node storage Usage: log stop Erase captured log Usage: log erase Print the captured log to the serial terminal Usage: log Serial Only: Yes Info Get the Version Usage: ver Show the hardware name Usage: board Configuration Radio View or change this node's radio parameters Usage: - get radio - set radio ,,, Parameters: - freq : Frequency in MHz - bw : Bandwidth in kHz - sf : Spreading factor (5-12) - cr : Coding rate (5-8) Set by build flag: LORA_FREQ , LORA_BW , LORA_SF , LORA_CR Default: 869.618,62.5,8,5 Note: Requires reboot to apply Notes: These settings control the setup of the radio parameters. Refer to the node's manual for the correct settings to use. Setting a value too high or too low may violate the laws in your country. View or change this node's transmit power Usage: - get tx - set tx Parameters: - dbm : Power level in dBm (-9 to 22 on SX126x; meshcore-tth refuses values out of range or not taken by the radio) Set by build flag: LORA_TX_POWER Default: Varies by board Notes: This setting only controls the power level of the LoRa chip. Some nodes have an additional power amplifier stage which increases the total output. Refer to the node's manual for the correct setting to use. Setting a value too high may violate the laws in your country. Change the radio parameters for a set duration Usage: - tempradio ,,,, Parameters: - freq : Frequency in MHz (300-2500) - bw : Bandwidth in kHz (7.8-500) - sf : Spreading factor (5-12) - cr : Coding rate (5-8) - timeout_mins : Duration in minutes (must be > 0) Notes: These settings control the setup of the radio parameters. Refer to the node's manual for the correct settings to use. Setting a value too high or too low may violate the laws in your country. Note: This is not saved to preferences and will clear on reboot View or change this node's frequency Usage: - get freq - set freq Parameters: - frequency : Frequency in MHz Default: 869.618 Note: Requires reboot to apply Serial Only: set freq View or change this node's rx boosted gain mode (SX12xx and LR1110, v1.14.1+) Usage: - get radio.rxgain - set radio.rxgain Parameters: - state : on | off Default: on Temporary Note: If you upgraded from an older version to 1.14.1 without erasing flash, this setting is off because of #2118 View or change the LoRa FEM receive-path gain state on supported boards Usage: - get radio.fem.rxgain - set radio.fem.rxgain Parameters: - state : on | off Notes: - This controls the external LoRa FEM receive-path LNA where the board supports it. - This is separate from radio.rxgain , which controls the radio chip receive gain mode. View or change the LoRa FEM transmit-path gain state on supported boards Usage: - get radio.fem.txgain - set radio.fem.txgain Parameters: - state : on | off Notes: - This controls a software-selectable external LoRa FEM transmit gain where the board supports it. - On Station G3, remove the PA PL1 jumper to allow software control. on selects PA PL1 high/short and off selects PA PL1 low/open. The PA PL2 hardware jumper determines whether this switches between power levels 1/3 or 2/4. - Select an operating level and SX1262 transmit power that comply with local RF limits and the Station G3 power-supply requirements. - The setting is saved immediately, but on Station G3 the level is applied to the hardware at the start of the next transmit, so that the PA supply rail is never re-targeted while the PA is being driven. get reports the configured state, which may lead the hardware until the node next transmits. System View or change this node's name Usage: - get name - set name Parameters: - name : Node name Set by build flag: ADVERT_NAME Default: Varies by board Note: Advertised names can use up to 23 bytes when location is included and 31 bytes otherwise. Emoji and Unicode characters may take more than one byte. Names that exceed the available advert space are truncated at a valid UTF-8 code point boundary. Show battery state as an icon on the advertised name (TeTeHacko fork) Appends a solar marker and a charge level to the name carried in adverts, so anyone who hears the node can see its state without logging in for telemetry. Off by default. Usage: - get batt.icon - set batt.icon on|off Default: off Glyphs: \u2600 permanently (solar node), then one of \u2581\u2582\u2583\u2584\u2585\u2586\u2587\u2588 for the charge level -- or \u26a1 instead of the level while the node runs on external power (USB), where VBAT reads the charger rather than the cell. Note: The indicator costs 6 bytes of the name (3 + 3), which with a position in the advert leaves 17. Unicode has only two battery emoji and no \"half full\" one, and at 4 bytes each they do not fit -- hence block elements, which are 3 bytes and come in eight steps. If the name is too long the whole indicator is dropped rather than truncated, and both set and get say so. Note: Every level is the same byte width on purpose. A name that changed length with the charge would be re-truncated at some steps and not others, and every client that heard it would rewrite the contact. Note: Switching is hysteretic ( BATT_ICON_HYST_MV , default 50 mV) and asymmetric -- the level drops as soon as the voltage crosses a boundary but climbs only once clear of it. The measured daily swing of a solar node under weak sun is 38-46 mV and the drift 13 mV/day, so at eight levels the name changes roughly once a week. Battery scale for the name icon Usage: - get batt.icon.lo / set batt.icon.lo - get batt.icon.hi / set batt.icon.hi Set by build flag: BATT_ICON_LO_MV , BATT_ICON_HI_MV Default: 3300 and 4200 -- the same 1S Li-Ion scale the dashboards use, so the icon and the Grafana percentage tell one story. Parameters: - millivolts : 2500 .. 4500 , or 0 to use the build default View or change this node's latitude Usage: - get lat - set lat Set by build flag: ADVERT_LAT Default: 0 Parameters: - degrees : Latitude in degrees View or change this node's longitude Usage: - get lon - set lon Set by build flag: ADVERT_LON Default: 0 Parameters: - degrees : Longitude in degrees View or change this node's identity (Private Key) Usage: - get prv.key - set prv.key Parameters: - private_key : Private key in hex format (64 hex characters) Serial Only: - get prv.key : Yes - set prv.key : No Note: Requires reboot to take effect after setting Change this node's admin password Usage: - password Parameters: - new_password : New admin password Set by build flag: ADMIN_PASSWORD Default: password Note: Command reply echoes the updated password for confirmation. Note: Any node using this password will be added to the admin ACL list. View or change this node's guest password Usage: - get guest.password - set guest.password Parameters: - password : Guest password Set by build flag: ROOM_PASSWORD (Room Server only) Default: View or change this node's owner info Usage: - get owner.info - set owner.info Parameters: - text : Owner information text Default: Note: | characters are translated to newlines Note: Requires firmware 1.12+ Fine-tune the battery reading Usage: - get adc.multiplier - set adc.multiplier Parameters: - value : ADC multiplier (0.0-10.0) Default: 0.0 (value defined by board) Note: Returns \"Error: unsupported by this board\" if hardware doesn't support it View this node's public key Usage: get public.key View this node's firmware version Usage: ver View this node's configured role Usage: get role View or change this node's power saving flag (Repeater Only) Usage: - powersaving - powersaving on - powersaving off Parameters: - on : enable power saving - off : disable power saving Default: off Note: When enabled, device enters sleep mode between radio transmissions View or change the RX duty cycle (rxps) -- CUSTOM (TeTeHacko) Usage: - get radio.rxps - set radio.rxps off|on|balanced|max - set radio.rxps level <1-10> [preamble <16|32>] - set radio.rxps max preamble <16|32> The SX1262 sleeps between short listening windows ( SetRxDutyCycle ) instead of listening all the time, and stays awake through a packet once it hears a preamble. Ported from EasySkyMesh PowerSaving v18 (IoTThinks). Repeater, room server and sensor; SX1262 only (an LR11x0 reports supported=no ). Present only in builds with -D WITH_RX_POWERSAVING (the public releases have it) and off until you set it; the setting is saved. Parameters: - on (= conservative , level 3), balanced (level 6), max (level 8): the higher the level, the longer the sleep. The named presets assume senders with a 16-symbol preamble (the MeshCore default), so they are safe on a mixed mesh. - level : the same scale by number; without preamble it follows the SF. 9 ( overdrive ) and 10 ( riskyWorkingMax ) are past the datasheet's timing condition -- 10 is known to lose packets. - : raw window lengths. get radio.rxps shows the requested and the effective state ( desired=on,effective=armed ), the window lengths and two error counters. If arming fails three times in a row, the radio falls back to continuous RX by itself ( effective=continuous , fail counts up). The noise-floor calibration also runs in continuous RX. Default: off Note: Measured 12. 11. 2026 on a XIAO nRF52840 + Wio-SX1262 at 5 V (866.5 MHz / SF8 / BW62.5, A/B/A/B, 15 min cells): max saves ~2.3 mA (cell repeatability 0.3 mA). A 3-board zero-hop test lost nothing on max (0/240 over two runs, the second on the public release). See docs/power.md . Routing View or change this node's repeat flag Usage: - get repeat - set repeat Parameters: - state : on | off Default: on View or change this node's advert path hash size Usage: - get path.hash.mode - set path.hash.mode Parameters: - value : Path hash size (0-2) - 0 : 1 Byte hash size (256 unique ids)[64 max flood] - 1 : 2 Byte hash size (65,536 unique ids)[32 max flood] - 2 : 3 Byte hash size (16,777,216 unique ids)[21 max flood] - 3 : DO NOT USE (Reserved) Default: 0 Note: the 'path.hash.mode' sets the low-level ID/hash encoding size used when the repeater adverts. This setting has no impact on what packet ID/hash size this repeater forwards, all sizes should be forwarded on firmware >= 1.14. This feature was added in firmware 1.14 Temporary Note: adverts with ID/hash sizes of 2 or 3 bytes may have limited flood propagation in your network while this feature is new as v1.13.0 firmware and older will drop packets with multibyte path ID/hashes as only 1-byte hashes are supported. Consider your install base of firmware >=1.14 has reached a criticality for effective network flooding before implementing higher ID/hash sizes. View or change this node's loop detection Usage: - get loop.detect - set loop.detect Parameters: - state : - off : no loop detection is performed - minimal : packets are dropped if repeater's ID/hash appears 4 or more times (1-byte), 2 or more (2-byte), 1 or more (3-byte) - moderate : packets are dropped if repeater's ID/hash appears 2 or more times (1-byte), 1 or more (2-byte), 1 or more (3-byte) - strict : packets are dropped if repeater's ID/hash appears 1 or more times (1-byte), 1 or more (2-byte), 1 or more (3-byte) Default: off Note: When it is enabled, repeaters will now reject flood packets which look like they are in a loop. This has been happening recently in some meshes when there is just a single 'bad' repeater firmware out there (probably some forked or custom firmware). If the payload is messed with, then forwarded, the same packet ends up causing a packet storm, repeated up to the max 64 hops. This feature was added in firmware 1.14 Example: If preference is loop.detect minimal , and a 1-byte path size packet is received, the repeater will see if its own ID/hash is already in the path. If it's already encoded 4 times, it will reject the packet. If the packet uses 2-byte path size, and repeater's own ID/hash is already encoded 2 times, it rejects. If the packet uses 3-byte path size, and the repeater's own ID/hash is already encoded 1 time, it rejects. View or change the retransmit delay factor for flood traffic Usage: - get txdelay - set txdelay Parameters: - value : Transmit delay factor (0-2) Default: 0.5 Note: When multiple nearby repeaters all hear the same flood packet, each waits a random amount of time before retransmitting to avoid simultaneous collisions. This factor scales the size of that random window. Higher values reduce collision risk at the cost of added latency. 0 disables the window entirely. View or change the retransmit delay factor for direct traffic Usage: - get direct.txdelay - set direct.txdelay Parameters: - value : Direct transmit delay factor (0-2) Default: 0.3 (Repeater) - 0.2 (Room Server, Sensor) Note: Same collision-avoidance random window as txdelay , but applied to direct (non-flood, routed) traffic. The default is lower because direct packets are addressed to a specific next hop, so far fewer nodes compete to retransmit them. [Experimental] View or change the processing delay for received traffic Usage: - get rxdelay - set rxdelay Parameters: - value : Receive delay base (0-20) Default: 0.0 Note: When enabled, repeaters that received a flood packet with a weak signal are held in a delay queue before processing, while those that received it with a strong signal process it immediately. This gives strong-signal paths forwarding priority. By the time weak-signal nodes process their copy, the packet may have already propagated and will be suppressed as a duplicate, reducing redundant retransmissions. View or change the duty cycle limit Usage: - get dutycycle - set dutycycle Parameters: - value : Duty cycle percentage (1-100) Default: 50% (equivalent to airtime factor 1.0) Examples: - set dutycycle 100 \u2014 no duty cycle limit - set dutycycle 50 \u2014 50% duty cycle (default) - set dutycycle 10 \u2014 10% duty cycle - set dutycycle 1 \u2014 1% duty cycle (strictest EU requirement) Note: Added in firmware v1.15.0 Notes: Refer to the node's manual for the correct settings to use. Setting a value too high may violate the laws in your country. View or change the airtime factor (duty cycle limit) Deprecated as of firmware v1.15.0. Use get/set dutycycle instead. Usage: - get af - set af Parameters: - value : Airtime factor (0-9). After each transmission, the repeater enforces a silent period of approximately the on-air transmission time multiplied by the value. This results in a long-term duty cycle of roughly 1 divided by (1 plus the value). For example: - af = 1 \u2192 ~50% duty - af = 2 \u2192 ~33% duty - af = 3 \u2192 ~25% duty - af = 9 \u2192 ~10% duty You are responsible for choosing a value that is appropriate for your jurisdiction and channel plan (for example EU 868 Mhz 10% duty cycle regulation). Default: 1.0 View or change the local interference threshold Usage: - get int.thresh - set int.thresh Parameters: - value : Interference threshold value Default: 0.0 Enable or disable hardware Channel Activity Detection (CAD) Usage: - get cad - set cad Description: When enabled, the radio performs a hardware Channel Activity Detection scan before transmitting and defers if the channel is busy. Runs independently of int.thresh \u2014 either, both, or none may be active. Parameters: - on|off : Enable or disable hardware CAD Default: off View or change the AGC Reset Interval Usage: - get agc.reset.interval - set agc.reset.interval Parameters: - value : Interval in seconds, 0-1020, rounded down to a multiple of 4 (17 becomes 16). 0 to disable. Default: 0.0 Radio silence watchdog (repeater, sensor, room server) Usage: - get radio.silence - set radio.silence - get radio.reboots Parameters: - minutes : 1-1440, or 0 / off to disable. Description: Recovers a receiver that has gone deaf while the node keeps running (the hardware watchdog only catches a frozen loop). After minutes without a single received frame \u2014 a receive error counts as heard, too \u2014 the receiver is re-armed (IRQs cleared, RX restarted). If nothing arrives within a further quarter of the threshold (at least 5 minutes), the node reboots. To keep a quiet site out of a reboot loop, each such reboot doubles the threshold for the next boot (up to 16\u00d7); the first frame received afterwards resets it. get radio.silence shows the threshold, the current multiplier, how long the receiver has been quiet and the stage (0 healthy, 1 re-armed). get radio.reboots counts the reboots done by this watchdog; it survives power loss. Pick a threshold well above the longest quiet spell the site normally has. Default: 0 (off) TX stall watchdog (repeater) Usage: - get radio.txstall - set radio.txstall Parameters: - minutes : 1-1440, or 0 / off to disable. Not saved: the build default ( RADIO_TXSTALL_MIN ) is back after a reboot. Description: Recovers a node that still receives but no longer transmits. If packets wait in the outbound queue and the sent counter does not move for minutes , the radio is re-armed (IRQs cleared, back to standby); if still nothing goes out within a further quarter of the threshold (at least 5 minutes), the node reboots. An empty queue never counts, so a quiet site cannot trigger it. get radio.txstall shows the threshold, the queue (in total and due now), how long nothing has been sent and the stage (0 healthy, 1 re-armed). Its reboots are counted in get radio.reboots and are logged with the queue numbers. Default: 15 Reboot into the bootloader (repeater, sensor, room server; nRF52, local console only) Usage: - dfu [uf2|serial|ota] Description: Reboots straight into the Adafruit bootloader: uf2 (default) brings up the UF2 drive, serial only the CDC port for adafruit-nrfutil , ota BLE DFU. Refused over the mesh, where it would leave the node waiting in the bootloader with no way back. Why the board last reset (repeater, sensor, room server) Usage: - get boot Description: The reset reason latched at boot ( RESETREAS on nRF52: 0x1 reset pin, 0x2 watchdog, 0x4 software reset, 0x8 lockup, 0 power-on) and, if the board crashed, the hardfault record (PC, LR, PSR). The same is printed once at boot, but on a build without a settle delay the console is not open yet at that moment. Enable or disable Multi-Acks support Usage: - get multi.acks - set multi.acks Parameters: - state : 0 (disable) or 1 (enable) Default: 0 View or change the flood advert interval Usage: - get flood.advert.interval - set flood.advert.interval Parameters: - hours : Interval in hours (3-168) Default: 47 (Repeater, Room Server) - 0 , disabled (Sensor) View or change the zero-hop advert interval Usage: - get advert.interval - set advert.interval Parameters: - minutes : Interval in minutes rounded down to the nearest multiple of 2 (61 becomes 60) (60-240) Default: 2 on a factory-fresh node, then 0 (disabled) once configured. Note: A new install ships with a 2 minute zero-hop advert interval. Saving any setting resets an interval below the 60 minute minimum to 0 , on the assumption that the node has now been deliberately configured. To keep zero-hop adverts running, set an explicit value in the 60-240 range. Limit the number of hops for a flood message Usage: - get flood.max - set flood.max Parameters: - value : Maximum flood hop count (0-64) Default: 64 Limit the number of hops for an unscoped flood message Usage: - get flood.max.unscoped - set flood.max.unscoped Parameters: - value : Maximum flood hop count (0-64) for a packet without a scope (no region set) Default: 64 - ( 0xFF indicates it hasn't been set, will track flood.max until it is.) Note: An alternative to region denyf * , setting flood.max.unscoped to a lower value such as 3 would allow for local unscoped messages to propagate, while preventing noisy neighbors from flooding a local region. Limit the number of hops for an advert flood message Usage: - get flood.max.advert - set flood.max.advert Parameters: - value : Maximum flood hop count (0-64) for an advert packet Default: 8 ACL Add, update or remove permissions for a companion Usage: - setperm Parameters: - pubkey : Companion public key - permissions : - 0 : Guest - 1 : Read-only - 2 : Read-write - 3 : Admin Note: Removes the entry when permissions is omitted View the current ACL Usage: - get acl Serial Only: Yes View or change this room server's 'read-only' flag Usage: - get allow.read.only - set allow.read.only Parameters: - state : on (enable) or off (disable) Default: off Region Management (v1.10.+) Bulk-load region lists Usage: - region load - region load [flood_flag] Parameters: - name : A name of a region. * represents the wildcard region Note: flood_flag : Optional F to allow flooding Note: Indentation creates parent-child relationships (max 8 levels) Note: region load with an empty name will not work remotely (it's interactive) Save any changes to regions made since reboot Usage: - region save Allow a region Usage: - region allowf Parameters: - name : Region name (or * for wildcard) Note: Setting on wildcard * allows packets without region transport codes Block a region Usage: - region denyf Parameters: - name : Region name (or * for wildcard) Note: Setting on wildcard * drops packets without region transport codes Show information for a region Usage: - region get Parameters: - name : Region name (or * for wildcard) View or change the home region for this node Usage: - region home - region home Parameters: - name : Region name View or change the default scope region for this node Usage: - region default - region default {name|} Parameters: - name : Region name, or to reset/clear Create a new region Usage: - region put [parent_name] Parameters: - name : Region name - parent_name : Parent region name (optional, defaults to wildcard) Define region hierarchy (single line) Usage: - region def [ ...] Parameters (tokens): Space-separated. A logical cursor starts at the wildcard * . name \u2014 Create name as a child of the current cursor (equivalent to region put name with the cursor as parent). Cursor moves to name . name|jump (or name,jump ) \u2014 Create name as a child of the current cursor, then move the cursor to jump (must already exist on the node, or have been created earlier in this command). jump is not the parent of name ; use this form to pop back up and start another branch. Behavior: Each created region defaults to flood-allowed (same as region put ). The reply is the resulting region tree (same format as bare region ); review it before running region save to persist. On error, the reply is Err - ... and any regions placed before the failure remain on the node, just like a partial chain of region put . Existing regions: region def does not clear the existing tree \u2014 if a name already exists, its parent is updated to the current cursor; otherwise a new region is created. To start from scratch, region remove the unwanted regions first. Limits: Repeater serial accepts one line up to 160 characters . For larger trees, split across multiple region def commands; the cursor resets to * between commands, so lead the next command with child|ancestor to reposition. Each token splits at most once on | \u2014 region def a|b|c|d is not a flat-list shorthand; see the flat-list example below. Example \u2014 linear chain (each token becomes a child of the previous): region def a b c d e region save Example \u2014 branched tree (equivalent to region put a , region put b a , region put c b , region put d c , region put e b , region put f e ): region def a b c d|b e f region save Example \u2014 error and partial state: region def a b c|nope d The reply is Err - unknown jump: nope . a , b , and c were placed before the failure; d was not. Run region to inspect, then re-run with a corrected jump or repair with region remove / region put . Example \u2014 flat list (each region a child of * ). Use |* after each token to pop the cursor back to the root before the next token: region def a|* b|* c|* d|* e|* f region save Remove a region Usage: - region remove Parameters: - name : Region name Note: Must remove all child regions before the region can be removed View all regions Usage: - region list Serial Only: Yes Parameters: - filter : allowed | denied Note: Requires firmware 1.12+ Dump all defined regions and flood permissions Usage: - region Serial Only: For firmware older than 1.12.0 Region Examples Example 1: Using F Flag with Named Public Region region load #Europe F region save Explanation: - Creates a region named #Europe with flooding enabled - Packets from this region will be flooded to other nodes Example 2: Using Wildcard with F Flag region load * F region save Explanation: - Creates a wildcard region * with flooding enabled - Enables flooding for all regions automatically - Applies only to packets without transport codes Example 3: Using Wildcard Without F Flag region load * region save Explanation: - Creates a wildcard region * without flooding - This region exists but doesn't affect packet distribution - Used as a default/empty region Example 4: Nested Public Region with F Flag region load #Europe F #UK #London #Manchester #France #Paris #Lyon region save Explanation: - Creates #Europe region with flooding enabled - Adds nested child regions ( #UK , #France ) - All nested regions inherit the flooding flag from parent Example 5: Wildcard with Nested Public Regions region load * F #NorthAmerica #USA #NewYork #California #Canada #Ontario #Quebec region save Explanation: - Creates wildcard region * with flooding enabled - Adds nested #NorthAmerica hierarchy - Enables flooding for all child regions automatically - Useful for global networks with specific regional rules GPS (When GPS support is compiled in) View GPS state Usage: - gps Note: Reports the requested state, receiver activity, last-fix status (last fix gives number of sats and how long ago was the fix), and mode. In periodic mode, waiting means the receiver is off between acquisitions; the last fix remains available. off(hw) means a hardware GPS switch is off. Change GPS state Usage: - gps Parameters: - state : on | off | duty Default: off Note: In duty-cycle mode gps answers duty, {awake|asleep}, {fix|no fix}, {sat count} sats . gps duty powers the receiver only around a clock sync and cuts it in between. It is meant for a node that runs GPS purely to keep its (volatile) RTC set \u2014 a mast or solar repeater \u2014 where a receiver drawing tens of mA continuously dwarfs the rest of the power budget. Unlike gps period , every attempt is capped even before the first fix ever, so a node that never sees the sky does not keep the receiver powered. It sets gps period to 0. The position still comes from prefs (see set advert.loc ), so duty mode does not affect what a repeater advertises. gps on / gps off leave duty mode. Build-time knobs: GPS_DUTY_SYNC_INTERVAL_SECS (86400), GPS_DUTY_MAX_AWAKE_SECS (300, the cap on one attempt) and GPS_DUTY_RETRY_SECS (21600, backoff after a window with no fix). View or change the GPS acquisition period Usage: - gps period - gps period Parameters: - value : 0 for continuous tracking, or a period. The value can be postfixed with s , m , h or d to specify the unit (seconds by default). Note: A periodic acquisition stops after receiving a valid fix, then resumes after the configured period. Without a fix it stops after 5 minutes ( GPS_PERIODIC_ACQUISITION_TIMEOUT_MS ), or, until the first fix since boot, after the first fix timeout (see gps firstfix ). View or change the first fix timeout Usage: - gps firstfix - gps firstfix Parameters: - value : 0 for no limit, or a duration up to 1d . The value can be postfixed with s , m , h or d to specify the unit (seconds by default). Default: 1h ( GPS_FIRST_FIX_TIMEOUT_MS ) Note: In periodic mode, limits an acquisition until the first valid fix since boot. A cold start can take much longer than the usual 5 minutes with a weak sky view; after the limit the GPS sleeps for the period and tries again. Saved with the other GPS settings. View the last GPS fix Usage: - gps fix Output: - > Fix (n sat): , : the GPS currently has a fix. - > Last fix ago (n sat)[, acq