Files
meshcore-tth/tth-commands/index.html
T

1947 lines
51 KiB
HTML

<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="MeshCore fork meshcore-tth -- repeater antispam, diagnostics, OTA, Czech mesh defaults">
<link rel="canonical" href="https://tth-pub.pages.rfa.cz/meshcore-tth/tth-commands/">
<link rel="prev" href="../en/">
<link rel="next" href="../ota/">
<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.8.2">
<title>Příkazy konzole · console commands - MeshCore TTH</title>
<link rel="stylesheet" href="../assets/stylesheets/main.57a0d79d.min.css">
<link rel="stylesheet" href="../assets/stylesheets/palette.fb2fffe2.min.css">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
<link rel="stylesheet" href="../_stylesheets/extra.css">
<script>__md_scope=new URL("..",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
</head>
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo">
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
<label class="md-overlay" for="__drawer"></label>
<div data-md-component="skip">
<a href="#console-commands-of-this-fork-meshcore-tth" class="md-skip">
Skip to content
</a>
</div>
<div data-md-component="announce">
</div>
<header class="md-header md-header--shadow" data-md-component="header">
<nav class="md-header__inner md-grid" aria-label="Header">
<a href=".." title="MeshCore TTH" class="md-header__button md-logo" aria-label="MeshCore TTH" data-md-component="logo">
<img src="../_assets/meshcore.svg" alt="logo">
</a>
<label class="md-header__button md-icon" for="__drawer">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg>
</label>
<div class="md-header__title" data-md-component="header-title">
<div class="md-header__ellipsis">
<div class="md-header__topic">
<span class="md-ellipsis">
MeshCore TTH
</span>
</div>
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
Příkazy konzole · console commands
</span>
</div>
</div>
</div>
<form class="md-header__option" data-md-component="palette">
<input class="md-option" data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Tmavý režim · dark mode" type="radio" name="__palette" id="__palette_0">
<label class="md-header__button md-icon" title="Tmavý režim · dark mode" for="__palette_1" hidden>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m17.75 4.09-2.53 1.94.91 3.06-2.63-1.81-2.63 1.81.91-3.06-2.53-1.94L12.44 4l1.06-3 1.06 3zm3.5 6.91-1.64 1.25.59 1.98-1.7-1.17-1.7 1.17.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95zm-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14.4-.4.82-.76 1.27-1.08.75-.53 1.93.36 1.85 1.19-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82-2.81 3.14-2.7 7.96.31 10.98 3.02 3.01 7.84 3.12 10.98.31"/></svg>
</label>
<input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Světlý režim · light mode" type="radio" name="__palette" id="__palette_1">
<label class="md-header__button md-icon" title="Světlý režim · light mode" for="__palette_0" hidden>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0-7 2.39 3.42C13.65 5.15 12.84 5 12 5s-1.65.15-2.39.42zM3.34 7l4.16-.35A7.2 7.2 0 0 0 5.94 8.5c-.44.74-.69 1.5-.83 2.29zm.02 10 1.76-3.77a7.131 7.131 0 0 0 2.38 4.14zM20.65 7l-1.77 3.79a7.02 7.02 0 0 0-2.38-4.15zm-.01 10-4.14.36c.59-.51 1.12-1.14 1.54-1.86.42-.73.69-1.5.83-2.29zM12 22l-2.41-3.44c.74.27 1.55.44 2.41.44.82 0 1.63-.17 2.37-.44z"/></svg>
</label>
</form>
<script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
<label class="md-header__button md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>
</label>
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="__search"></label>
<div class="md-search__inner" role="search">
<form class="md-search__form" name="search">
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
<label class="md-search__icon md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
</label>
<nav class="md-search__options" aria-label="Search">
<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>
</button>
</nav>
<div class="md-search__suggest" data-md-component="search-suggest"></div>
</form>
<div class="md-search__output">
<div class="md-search__scrollwrap" tabindex="0" data-md-scrollfix>
<div class="md-search-result" data-md-component="search-result">
<div class="md-search-result__meta">
Initializing search
</div>
<ol class="md-search-result__list" role="presentation"></ol>
</div>
</div>
</div>
</div>
</div>
<div class="md-header__source">
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" title="Go to repository" class="md-source" data-md-component="source">
<div class="md-source__icon md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path d="M439.6 236.1 244 40.5c-5.4-5.5-12.8-8.5-20.4-8.5s-15 3-20.4 8.4L162.5 81l51.5 51.5c27.1-9.1 52.7 16.8 43.4 43.7l49.7 49.7c34.2-11.8 61.2 31 35.5 56.7-26.5 26.5-70.2-2.9-56-37.3L240.3 199v121.9c25.3 12.5 22.3 41.8 9.1 55-6.4 6.4-15.2 10.1-24.3 10.1s-17.8-3.6-24.3-10.1c-17.6-17.6-11.1-46.9 11.2-56v-123c-20.8-8.5-24.6-30.7-18.6-45L142.6 101 8.5 235.1C3 240.6 0 247.9 0 255.5s3 15 8.5 20.4l195.6 195.7c5.4 5.4 12.7 8.4 20.4 8.4s15-3 20.4-8.4l194.7-194.7c5.4-5.4 8.4-12.8 8.4-20.4s-3-15-8.4-20.4"/></svg>
</div>
<div class="md-source__repository">
tth-pub/meshcore-tth
</div>
</a>
</div>
</nav>
</header>
<div class="md-container" data-md-component="container">
<main class="md-main" data-md-component="main">
<div class="md-main__inner md-grid">
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href=".." title="MeshCore TTH" class="md-nav__button md-logo" aria-label="MeshCore TTH" data-md-component="logo">
<img src="../_assets/meshcore.svg" alt="logo">
</a>
MeshCore TTH
</label>
<div class="md-nav__source">
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" title="Go to repository" class="md-source" data-md-component="source">
<div class="md-source__icon md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path d="M439.6 236.1 244 40.5c-5.4-5.5-12.8-8.5-20.4-8.5s-15 3-20.4 8.4L162.5 81l51.5 51.5c27.1-9.1 52.7 16.8 43.4 43.7l49.7 49.7c34.2-11.8 61.2 31 35.5 56.7-26.5 26.5-70.2-2.9-56-37.3L240.3 199v121.9c25.3 12.5 22.3 41.8 9.1 55-6.4 6.4-15.2 10.1-24.3 10.1s-17.8-3.6-24.3-10.1c-17.6-17.6-11.1-46.9 11.2-56v-123c-20.8-8.5-24.6-30.7-18.6-45L142.6 101 8.5 235.1C3 240.6 0 247.9 0 255.5s3 15 8.5 20.4l195.6 195.7c5.4 5.4 12.7 8.4 20.4 8.4s15-3 20.4-8.4l194.7-194.7c5.4-5.4 8.4-12.8 8.4-20.4s-3-15-8.4-20.4"/></svg>
</div>
<div class="md-source__repository">
tth-pub/meshcore-tth
</div>
</a>
</div>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_1" checked>
<label class="md-nav__link" for="__nav_1" id="__nav_1_label" tabindex="">
<span class="md-ellipsis">
Fork meshcore-tth
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
Fork meshcore-tth
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href=".." class="md-nav__link">
<span class="md-ellipsis">
O forku (česky)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../en/" class="md-nav__link">
<span class="md-ellipsis">
About the fork (English)
</span>
</a>
</li>
<li class="md-nav__item md-nav__item--active">
<input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
<label class="md-nav__link md-nav__link--active" for="__toc">
<span class="md-ellipsis">
Příkazy konzole · console commands
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<a href="./" class="md-nav__link md-nav__link--active">
<span class="md-ellipsis">
Příkazy konzole · console commands
</span>
</a>
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#antispam-repeater" class="md-nav__link">
<span class="md-ellipsis">
Antispam (repeater)
</span>
</a>
<nav class="md-nav" aria-label="Antispam (repeater)">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#fairnesslimiter-fairness" class="md-nav__link">
<span class="md-ellipsis">
FairnessLimiter -- fairness
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#channel-filter-filter" class="md-nav__link">
<span class="md-ellipsis">
Channel filter -- filter
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#channel-hash-deny-forward-filter-hash-every-repeater" class="md-nav__link">
<span class="md-ellipsis">
Channel-hash deny-forward -- filter hash (every repeater)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#message-age-filter-age-repeater-with-channel-keys" class="md-nav__link">
<span class="md-ellipsis">
Message age -- filter age (repeater with channel keys)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#filter-dryrun-onoff" class="md-nav__link">
<span class="md-ellipsis">
filter dryrun [on|off]
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#radio-watchdogs-and-board-upkeep-all" class="md-nav__link">
<span class="md-ellipsis">
Radio watchdogs and board upkeep (all)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#number-arguments-of-set-all-and-the-companions-serial-cli" class="md-nav__link">
<span class="md-ellipsis">
Number arguments of set (all, and the companion's serial CLI)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#diagnostics" class="md-nav__link">
<span class="md-ellipsis">
Diagnostics
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#ble-console-observer" class="md-nav__link">
<span class="md-ellipsis">
BLE console (observer)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#passive-analyzer-observer" class="md-nav__link">
<span class="md-ellipsis">
Passive analyzer (observer)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#channel-bot-own-build-bot_channel_psk" class="md-nav__link">
<span class="md-ellipsis">
Channel bot (own build: BOT_CHANNEL_PSK)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#power-and-clock" class="md-nav__link">
<span class="md-ellipsis">
Power and clock
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#sensors" class="md-nav__link">
<span class="md-ellipsis">
Sensors
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#build-flags" class="md-nav__link">
<span class="md-ellipsis">
Build flags
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="../ota/" class="md-nav__link">
<span class="md-ellipsis">
Aktualizace od admina · OTA
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../power/" class="md-nav__link">
<span class="md-ellipsis">
Napájení · power
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../budka-sensor/" class="md-nav__link">
<span class="md-ellipsis">
Budka jako senzor · Budka sensor
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../ble-lora-coexistence/" class="md-nav__link">
<span class="md-ellipsis">
Koexistence BLE/LoRa
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item md-nav__item--section md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2" >
<label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="">
<span class="md-ellipsis">
MeshCore (upstream)
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
MeshCore (upstream)
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../meshcore/" class="md-nav__link">
<span class="md-ellipsis">
Introduction
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../faq/" class="md-nav__link">
<span class="md-ellipsis">
FAQ
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../cli_commands/" class="md-nav__link">
<span class="md-ellipsis">
CLI commands
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../companion_cli/" class="md-nav__link">
<span class="md-ellipsis">
Companion CLI
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../companion_protocol/" class="md-nav__link">
<span class="md-ellipsis">
Companion protocol
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../terminal_chat_cli/" class="md-nav__link">
<span class="md-ellipsis">
Terminal chat CLI
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../kiss_modem_protocol/" class="md-nav__link">
<span class="md-ellipsis">
KISS modem protocol
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../packet_format/" class="md-nav__link">
<span class="md-ellipsis">
Packet format
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../payloads/" class="md-nav__link">
<span class="md-ellipsis">
Payloads
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../stats_binary_frames/" class="md-nav__link">
<span class="md-ellipsis">
Stats binary frames
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../number_allocations/" class="md-nav__link">
<span class="md-ellipsis">
Number allocations
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../qr_codes/" class="md-nav__link">
<span class="md-ellipsis">
QR codes
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../radio_presets/" class="md-nav__link">
<span class="md-ellipsis">
Radio presets
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../nrf52_power_management/" class="md-nav__link">
<span class="md-ellipsis">
nRF52 power management
</span>
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#antispam-repeater" class="md-nav__link">
<span class="md-ellipsis">
Antispam (repeater)
</span>
</a>
<nav class="md-nav" aria-label="Antispam (repeater)">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#fairnesslimiter-fairness" class="md-nav__link">
<span class="md-ellipsis">
FairnessLimiter -- fairness
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#channel-filter-filter" class="md-nav__link">
<span class="md-ellipsis">
Channel filter -- filter
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#channel-hash-deny-forward-filter-hash-every-repeater" class="md-nav__link">
<span class="md-ellipsis">
Channel-hash deny-forward -- filter hash (every repeater)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#message-age-filter-age-repeater-with-channel-keys" class="md-nav__link">
<span class="md-ellipsis">
Message age -- filter age (repeater with channel keys)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#filter-dryrun-onoff" class="md-nav__link">
<span class="md-ellipsis">
filter dryrun [on|off]
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#radio-watchdogs-and-board-upkeep-all" class="md-nav__link">
<span class="md-ellipsis">
Radio watchdogs and board upkeep (all)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#number-arguments-of-set-all-and-the-companions-serial-cli" class="md-nav__link">
<span class="md-ellipsis">
Number arguments of set (all, and the companion's serial CLI)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#diagnostics" class="md-nav__link">
<span class="md-ellipsis">
Diagnostics
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#ble-console-observer" class="md-nav__link">
<span class="md-ellipsis">
BLE console (observer)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#passive-analyzer-observer" class="md-nav__link">
<span class="md-ellipsis">
Passive analyzer (observer)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#channel-bot-own-build-bot_channel_psk" class="md-nav__link">
<span class="md-ellipsis">
Channel bot (own build: BOT_CHANNEL_PSK)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#power-and-clock" class="md-nav__link">
<span class="md-ellipsis">
Power and clock
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#sensors" class="md-nav__link">
<span class="md-ellipsis">
Sensors
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#build-flags" class="md-nav__link">
<span class="md-ellipsis">
Build flags
</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/docs/tth-commands.md" title="View source of this page" class="md-content__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 18c.56 0 1 .44 1 1s-.44 1-1 1-1-.44-1-1 .44-1 1-1m0-3c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4m0 6.5a2.5 2.5 0 0 1-2.5-2.5 2.5 2.5 0 0 1 2.5-2.5 2.5 2.5 0 0 1 2.5 2.5 2.5 2.5 0 0 1-2.5 2.5M9.27 20H6V4h7v5h5v4.07c.7.08 1.36.25 2 .49V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.5a8.2 8.2 0 0 1-1.23-2"/></svg>
</a>
<h1 id="console-commands-of-this-fork-meshcore-tth">Console commands of this fork (meshcore-tth)<a class="headerlink" href="#console-commands-of-this-fork-meshcore-tth" title="Permanent link">&para;</a></h1>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>Part of an experimental fork, not meant for regular users: its releases are
a rolling release on MeshCore <code>dev</code> (see the <a href="../">README</a>).</p>
</div>
<p>Everything this fork adds to the text console of a node, on top of upstream's
<a href="../cli_commands/">cli_commands.md</a>. Where a command is described there too
(the watchdogs, <code>rxps</code>, <code>batt.icon</code>, <code>gps duty</code>, <code>dfu</code>, <code>get boot</code>), this page
gives the short form and points to it.</p>
<p><strong>Where a command exists</strong> depends on the role and on build flags:</p>
<table>
<thead>
<tr>
<th>mark</th>
<th>builds</th>
</tr>
</thead>
<tbody>
<tr>
<td>all</td>
<td>repeater, room server and sensor -- every build with a text console</td>
</tr>
<tr>
<td>repeater</td>
<td><code>simple_repeater</code> builds</td>
</tr>
<tr>
<td>observer</td>
<td>the <code>*-observer</code> variants of the nRF52 repeaters in the releases (<code>MAX_HEARD_NODES</code>, <code>RXLOG_SIZE</code>, <code>PKTFEED_SIZE</code>, <code>BLE_PIN_CODE</code>)</td>
</tr>
<tr>
<td>own build</td>
<td>only with the named flag -- not in the releases</td>
</tr>
</tbody>
</table>
<p><strong>Where it can be sent from:</strong> the USB console, the BLE console (observer
variants) and the mesh, as admin in the remote CLI of an app -- unless the
entry says <em>local only</em>. Replies over the mesh are cut to one packet (~150 B).</p>
<h2 id="antispam-repeater">Antispam (repeater)<a class="headerlink" href="#antispam-repeater" title="Permanent link">&para;</a></h2>
<p>Forwarding only: what this node hears, logs and feeds to an observer is never
affected. Everything is persisted in prefs, so a reboot keeps it.</p>
<h3 id="fairnesslimiter-fairness">FairnessLimiter -- <code>fairness</code><a class="headerlink" href="#fairnesslimiter-fairness" title="Permanent link">&para;</a></h3>
<p>Token buckets on forwarded floods, keyed on the 1-byte ids already in the
clear: channel hash, sender hash, advert origin. Buckets collide (the hash is
masked), and every key is chosen by the sender: it contains runaway floods,
it is not security. Direct-routed traffic is never limited.
<strong>On after flashing</strong> (<code>FAIRNESS_ENABLED_DEFAULT</code>).</p>
<table>
<thead>
<tr>
<th>command</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>fairness</code></td>
<td>state, denials per category, caps and refill intervals</td>
</tr>
<tr>
<td><code>fairness on\|off</code></td>
<td>the buckets on/off</td>
</tr>
<tr>
<td><code>fairness cap &lt;group&gt; &lt;sender&gt; &lt;advert&gt;</code></td>
<td>burst caps 0..255, <code>0</code> = build default (100 / 150 / 30)</td>
</tr>
<tr>
<td><code>fairness refill &lt;group_s&gt; &lt;sender_s&gt; &lt;advert_s&gt;</code></td>
<td>one token per interval, seconds, <code>0</code> = default (30 / 10 / 600)</td>
</tr>
<tr>
<td><code>fairness grid</code></td>
<td>the busiest denied buckets per category -- what is being shed</td>
</tr>
<tr>
<td><code>fairness air</code></td>
<td>estimated airtime shed per reason</td>
</tr>
<tr>
<td><code>fairness advert [&lt;hours&gt;\|clear]</code></td>
<td>per-origin advert window: one flood advert per origin per <code>&lt;hours&gt;</code> (0..720, <code>0</code> = off, default off); <code>clear</code> forgets the origins seen</td>
</tr>
<tr>
<td><code>fairness dryrun [on\|off]</code></td>
<td>count every verdict but forward anyway (default off)</td>
</tr>
</tbody>
</table>
<p>The defaults keep about twice the headroom over 30 days of CZ mesh traffic
(the zero-loss frontier was 60 s / cap 60 per channel, 10 s / 60 per sender,
600 s / 12 per advert origin).</p>
<h3 id="channel-filter-filter">Channel filter -- <code>filter</code><a class="headerlink" href="#channel-filter-filter" title="Permanent link">&para;</a></h3>
<p>On channels whose key the node knows (<code>FILTER_CHANNEL_PSKS</code>; the releases
know Public, <code>#meshcore</code> and <code>#test</code>) the node decrypts each group text and
refuses to forward listed senders. The sender name is plain text in the
message: anyone can rename around it.</p>
<table>
<thead>
<tr>
<th>command</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>filter</code> / <code>filter list</code></td>
<td>channels known, drops, the deny list</td>
</tr>
<tr>
<td><code>filter add &lt;name&gt;</code> / <code>filter del &lt;name&gt;</code></td>
<td>exact, case-insensitive; spaces allowed, commas not</td>
</tr>
<tr>
<td><code>filter clear</code></td>
<td>empty the list</td>
</tr>
</tbody>
</table>
<h3 id="channel-hash-deny-forward-filter-hash-every-repeater">Channel-hash deny-forward -- <code>filter hash</code> (every repeater)<a class="headerlink" href="#channel-hash-deny-forward-filter-hash-every-repeater" title="Permanent link">&para;</a></h3>
<p>Keyless: the first byte of a group packet is the channel hash, in the clear,
so this works on private channels too. One byte is coarse -- every other
channel whose key hashes to the same byte is hit as well; check what else
lives on it before adding one.</p>
<table>
<thead>
<tr>
<th>command</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>filter hash</code></td>
<td>drops, passes by a throttle, the list (<code>43</code> blocked, <code>43/60</code> throttled)</td>
</tr>
<tr>
<td><code>filter hash add &lt;hex&gt; [secs]</code></td>
<td>block the byte, or let one packet through per <code>secs</code> (1..65535); re-adding changes the interval</td>
</tr>
<tr>
<td><code>filter hash del &lt;hex&gt;</code> / <code>filter hash clear</code></td>
<td></td>
</tr>
</tbody>
</table>
<p>A throttle's window lives in RAM: the first match after a boot passes.</p>
<h3 id="message-age-filter-age-repeater-with-channel-keys">Message age -- <code>filter age</code> (repeater with channel keys)<a class="headerlink" href="#message-age-filter-age-repeater-with-channel-keys" title="Permanent link">&para;</a></h3>
<p><code>filter age &lt;min&gt;|off</code> (1..10080, default off): do not forward a group text
on a decrypted channel whose sender timestamp is older than <code>&lt;min&gt;</code> by this
node's clock. It judges the sender's clock, so a companion that never got a
time sync (it stamps 2024) is dropped too -- keep it in days. Inactive while
the node's own clock reads before 2026; a clock running ahead makes
everything look old.</p>
<h3 id="filter-dryrun-onoff"><code>filter dryrun [on|off]</code><a class="headerlink" href="#filter-dryrun-onoff" title="Permanent link">&para;</a></h3>
<p>Count every <code>filter</code> verdict (sender, hash, age) but forward anyway -- try a
rule on a live node before it bites. Default off.</p>
<h2 id="radio-watchdogs-and-board-upkeep-all">Radio watchdogs and board upkeep (all)<a class="headerlink" href="#radio-watchdogs-and-board-upkeep-all" title="Permanent link">&para;</a></h2>
<p>Details: <a href="../cli_commands/">cli_commands.md</a>, "Radio silence watchdog", "TX
stall watchdog", "Reboot into the bootloader" and "Why the board last reset".</p>
<table>
<thead>
<tr>
<th>command</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>set radio.silence &lt;min&gt;\|off</code> / <code>get radio.silence</code></td>
<td>deaf receiver: re-arm RX, then reboot after <code>&lt;min&gt;</code> without a received frame (CRC errors count as heard); each such reboot doubles the threshold for the next boot (up to 16x), the first frame clears it. 1..1440, persisted, <strong>default off</strong></td>
</tr>
<tr>
<td><code>set radio.txstall &lt;min&gt;\|off</code> / <code>get radio.txstall</code></td>
<td>repeater only: packets queued and nothing sent for <code>&lt;min&gt;</code> -&gt; re-arm, then reboot. An empty queue never counts. <strong>On, 15 min</strong> (<code>RADIO_TXSTALL_MIN</code>); a change holds until reboot</td>
</tr>
<tr>
<td><code>get radio.reboots</code></td>
<td>reboots done by the watchdogs, survives power loss</td>
</tr>
<tr>
<td><code>get boot</code></td>
<td>reset reason and the hardfault record (also printed at boot)</td>
</tr>
<tr>
<td><code>dfu [uf2\|serial\|ota]</code></td>
<td><em>local only</em>: reboot into the bootloader -- UF2 drive (default), CDC port for <code>adafruit-nrfutil</code>, or BLE DFU</td>
</tr>
<tr>
<td><code>fw ...</code></td>
<td><code>-ota</code> images only: admin-pushed firmware update, see <a href="../ota/">ota.md</a></td>
</tr>
</tbody>
</table>
<h2 id="number-arguments-of-set-all-and-the-companions-serial-cli">Number arguments of <code>set</code> (all, and the companion's serial CLI)<a class="headerlink" href="#number-arguments-of-set-all-and-the-companions-serial-cli" title="Permanent link">&para;</a></h2>
<p>Upstream parses the value of a <code>set</code> with <code>atoi()</code>/<code>atof()</code>: text became 0,
<code>300</code> became 44 in a one-byte setting, and the result was saved with <code>OK</code>. This
fork refuses a value that is not a number or lies outside the range and keeps
the old one (<code>Error, must be ...</code>). It applies to <code>set tx</code> (-9 up to the
board's <code>MAX_LORA_TX_POWER</code>, else 30, and saved only if the radio takes it:
SX1262 -9..22), <code>set radio</code> and <code>tempradio</code> (each field; the timeout 1-10080
min), <code>set freq</code>, <code>set lat</code>/<code>set lon</code>, <code>set flood.max</code>, <code>set
flood.max.unscoped</code>, <code>set flood.max.advert</code> (0-64), <code>set int.thresh</code> (0-255),
<code>set multi.acks</code> (0-1), <code>set path.hash.mode</code> (0-2), <code>set agc.reset.interval</code>
(0-1020), <code>set rxdelay</code>, <code>set txdelay</code>, <code>set direct.txdelay</code>, <code>set
adc.multiplier</code>, and on the companion <code>set pin</code>, <code>set adc.multiplier</code>, <code>set
tz.offset</code>. No exponent (<code>1e3</code>), no <code>nan</code>/<code>inf</code>.</p>
<h2 id="diagnostics">Diagnostics<a class="headerlink" href="#diagnostics" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th>command</th>
<th>where</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>blink [n]</code> / <code>blink on\|off</code></td>
<td>repeater</td>
<td>flash a spare LED (not the BLE or TX one) <code>n</code> times (default 6, max 999), or until <code>blink off</code> (gives up after 10 min); finds a board on a bench or a node on a mast</td>
</tr>
<tr>
<td><code>txpwr [dBm]</code></td>
<td>repeater</td>
<td>LoRa output power until reboot, with RadioLib's status; takes -9..30</td>
</tr>
<tr>
<td><code>i2c</code></td>
<td>all</td>
<td>scan the I2C bus</td>
</tr>
<tr>
<td><code>get chip</code></td>
<td>nRF52 (repeater, room server, sensor)</td>
<td>the silicon (<code>nRF52840 AAD0</code>; variant <code>xxF0</code> and later = rev3) and <code>UICR.APPROTECT</code>: <code>open</code> means SWD can read the whole flash, keys included</td>
</tr>
<tr>
<td><code>dio1</code></td>
<td>own build: <code>PIN_DIAG</code></td>
<td>has the SX1262 raise TX_DONE and compares its IRQ register with the level on the DIO1 pin -- which end of a dead IRQ line is broken</td>
</tr>
<tr>
<td><code>radiostat</code></td>
<td>own build: <code>RADIO_DIAG</code></td>
<td>receiver state, interrupt and RX counters, without touching the radio</td>
</tr>
<tr>
<td><code>radiokick rx\|clrirq\|standby\|agc</code></td>
<td>own build: <code>RADIO_DIAG</code></td>
<td>one recovery step, gentlest first: re-arm RX, clear latched IRQs, standby + RX, AGC reset; the first that brings <code>recv</code> back names the broken layer</td>
</tr>
</tbody>
</table>
<p>A board with a dead DIO1 line still runs with <code>LORA_POLL_IRQ</code> (own build):
the IRQ status is polled over SPI.</p>
<h2 id="ble-console-observer">BLE console (observer)<a class="headerlink" href="#ble-console-observer" title="Permanent link">&para;</a></h2>
<p>The text console over BLE (Nordic UART), next to USB. No login of its own:
the BLE PIN is the only lock, and the release PIN is the public placeholder
<code>123456</code>. These commands also work as admin over the mesh.</p>
<table>
<thead>
<tr>
<th>command</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>ble</code></td>
<td>on/off, PIN <code>own</code> or <code>build default</code> -- never the PIN itself</td>
</tr>
<tr>
<td><code>ble pin &lt;6 digits&gt;</code></td>
<td>set your own PIN (saved, survives a reflash; drops every bond, so paired devices pair again)</td>
</tr>
<tr>
<td><code>ble on\|off</code></td>
<td>persisted; <strong>off after flashing</strong> (<code>RPT_BLE_DEFAULT_OFF</code>), and <code>ble on</code> is refused while the PIN is the placeholder</td>
</tr>
<tr>
<td><code>blepwr [dBm\|default]</code></td>
<td>TX power of the connection (-40, -20, -16, -12, -8, -4, 0, 2..8), applied to live connections and saved; <code>default</code> returns to the build value (0 dBm)</td>
</tr>
<tr>
<td><code>bleconn</code></td>
<td>what the central actually agreed to: interval (and what was requested), latency, supervision timeout</td>
</tr>
</tbody>
</table>
<p>A connected central stops the node advertising: if the BLE console cannot be
found, look for who is connected (<code>ble</code> shows it).</p>
<h2 id="passive-analyzer-observer">Passive analyzer (observer)<a class="headerlink" href="#passive-analyzer-observer" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th>command</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>nodes [offset]</code></td>
<td>heard repeaters and room servers with a key to join several paths, paged</td>
</tr>
<tr>
<td><code>rxlog [cursor]</code></td>
<td>every frame heard: type, path, SNR, RSSI; <code>cursor</code> from the previous page (<code>0</code> = all)</td>
</tr>
<tr>
<td><code>pktlog [cursor]</code></td>
<td>raw frames heard, for an observer feed (<a href="https://git.rfa.cz/tth-pub/meshcore-repeater-observer">meshcore-repeater-observer</a>)</td>
</tr>
</tbody>
</table>
<p>A page is as big as the caller's reply buffer: ~1000 B on the local console,
one packet over the mesh.</p>
<h2 id="channel-bot-own-build-bot_channel_psk">Channel bot (own build: <code>BOT_CHANNEL_PSK</code>)<a class="headerlink" href="#channel-bot-own-build-bot_channel_psk" title="Permanent link">&para;</a></h2>
<p>A repeater that answers on one channel without forwarding anything:
<code>!link</code>, <code>!path</code>, <code>!snr</code>, <code>!heard</code>, <code>!noise</code>, <code>!ping</code>, <code>!help</code> (narrowed by
<code>BOT_COMMANDS</code>), with a per-sender cooldown and an ignore list. <code>bot</code> on the
console shows its state.</p>
<h2 id="power-and-clock">Power and clock<a class="headerlink" href="#power-and-clock" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th>command</th>
<th>where</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>set radio.rxps off\|on\|balanced\|max</code>, <code>level &lt;1-10&gt; [preamble 16\|32]</code> / <code>get radio.rxps</code></td>
<td>all, SX1262 only (<code>WITH_RX_POWERSAVING</code>, in the releases)</td>
<td>RX duty cycle: the radio sleeps between short listening windows. <strong>Off by default.</strong> <code>max</code> saved ~2.3 mA on the bench, but a mast on the live mesh lost 16 % of its reception -- see cli_commands.md and <a href="../power/">power.md</a></td>
</tr>
<tr>
<td><code>set batt.icon on\|off</code>, <code>set batt.icon.lo\|hi &lt;mV&gt;</code></td>
<td>all</td>
<td>battery level as an icon at the end of the advertised name (off by default; with a name too long for it the icon is left out, and the reply says so)</td>
</tr>
<tr>
<td><code>gps duty ...</code></td>
<td>GPS boards</td>
<td>the receiver runs only around a clock sync; see cli_commands.md</td>
</tr>
<tr>
<td><code>get pwr</code>, <code>set pwr.bootlock &lt;mV&gt;\|off</code>, <code>set pwr.cutoff &lt;mV&gt;\|off</code></td>
<td>SenseCAP Solar repeater (<code>PWRMGT_RUNTIME</code>)</td>
<td>battery thresholds: don't start below the bootlock, switch a running node off below the cutoff (cutoff &lt; bootlock, none above the battery right now); saved on the node, see <a href="../power/">power.md</a></td>
</tr>
<tr>
<td><code>clkreboot</code></td>
<td>all</td>
<td>reset the clock to the build epoch and reboot -- the only way to move a clock backwards (<code>time</code> and <code>clock sync</code> refuse to)</td>
</tr>
</tbody>
</table>
<h2 id="sensors">Sensors<a class="headerlink" href="#sensors" title="Permanent link">&para;</a></h2>
<table>
<thead>
<tr>
<th>command</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>sensor read</code></td>
<td>the live telemetry decoded into one line (<code>sensor list</code> shows only settings)</td>
</tr>
<tr>
<td><code>sensor set ina.shunt &lt;mOhm&gt;</code></td>
<td>shunt resistance of an INA219/226/260/3221, saved across reboots</td>
</tr>
</tbody>
</table>
<h2 id="build-flags">Build flags<a class="headerlink" href="#build-flags" title="Permanent link">&para;</a></h2>
<p>The ones that change what a node does; set in <code>platformio.ini</code> /
<code>platformio.local.ini</code> (<code>-D NAME=value</code>, the last <code>-D</code> wins).</p>
<table>
<thead>
<tr>
<th>flag</th>
<th>default</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>FAIRNESS_ENABLED_DEFAULT</code></td>
<td><code>1</code></td>
<td>FairnessLimiter on for a node without prefs</td>
</tr>
<tr>
<td><code>RADIO_SILENCE_MIN_DEFAULT</code></td>
<td><code>0</code></td>
<td>deaf-receiver watchdog for a node without prefs</td>
</tr>
<tr>
<td><code>RADIO_TXSTALL_MIN</code></td>
<td><code>15</code></td>
<td>TX stall watchdog at boot (repeater), <code>0</code> = off</td>
</tr>
<tr>
<td><code>FILTER_CHANNEL_PSKS</code></td>
<td>releases: Public, <code>#meshcore</code>, <code>#test</code></td>
<td>channel keys the filter can decrypt</td>
</tr>
<tr>
<td><code>MAX_HEARD_NODES</code>, <code>RXLOG_SIZE</code>, <code>PKTFEED_SIZE</code></td>
<td><code>0</code> (observer variants: 128 / 512 / 64)</td>
<td>the analyzer rings</td>
</tr>
<tr>
<td><code>BLE_PIN_CODE</code>, <code>RPT_BLE_DEFAULT_OFF</code></td>
<td>observer variants</td>
<td>BLE console, starting off</td>
</tr>
<tr>
<td><code>BOT_CHANNEL_PSK</code>, <code>BOT_COMMANDS</code></td>
<td>unset</td>
<td>channel bot</td>
</tr>
<tr>
<td><code>RADIO_DIAG</code>, <code>PIN_DIAG</code>, <code>LORA_POLL_IRQ</code></td>
<td>unset</td>
<td>radio diagnostics, DIO1-less operation</td>
</tr>
<tr>
<td><code>FW_OTA</code></td>
<td><code>-ota</code> images</td>
<td>admin-pushed firmware update</td>
</tr>
<tr>
<td><code>PATH_HASH_MODE_DEFAULT</code></td>
<td><code>1</code> (2 B per hop)</td>
<td>path hash width for a node without prefs</td>
</tr>
<tr>
<td><code>ACL_TS_MAX_AHEAD</code></td>
<td><code>86400</code> (s)</td>
<td>a client timestamp further ahead of the node's clock is not stored as the replay floor</td>
</tr>
<tr>
<td><code>LOCKED_NODE</code></td>
<td>unset</td>
<td>a node that keeps its secrets from whoever holds it: <code>get prv.key</code>, <code>get guest.password</code> and <code>get bridge.secret</code> answer <code>Error: locked build</code> to everyone (USB and BLE console, an admin over the mesh); a companion serves only paired BLE (USB, UART and WiFi get the device info and nothing else) and its rescue CLI refuses <code>set pin</code>. Only half of it: whoever can rewrite the flash (SWD with <code>APPROTECT</code> open, an unsigned DFU) still gets the keys -- the other half is a locked bootloader (SWD closed, signed images only), which these builds do not have</td>
</tr>
<tr>
<td><code>LOGIN_FAIL_MAX</code>, <code>LOGIN_FAIL_SECS</code></td>
<td><code>4</code>, <code>180</code> (s)</td>
<td>after that many wrong passwords in the window no password is checked until it ends (an admin already in the ACL always gets in)</td>
</tr>
<tr>
<td><code>NRF52_POWER_MANAGEMENT</code>, <code>PWRMGT_RUNTIME</code></td>
<td>upstream: off; on in <code>SenseCap_Solar_repeater</code> (the masts)</td>
<td>boot protection, and with <code>PWRMGT_RUNTIME</code> the runtime <code>pwr.bootlock</code> / <code>pwr.cutoff</code> above</td>
</tr>
<tr>
<td><code>PWRMGT_BOOTLOCK_DEFAULT</code>, <code>PWRMGT_CUTOFF_DEFAULT</code></td>
<td><code>PWRMGT_VOLTAGE_BOOTLOCK</code> (SenseCAP 3300), <code>0</code> (mV)</td>
<td>thresholds for a node without <code>/pwr_guard</code></td>
</tr>
<tr>
<td><code>PWR_DUTY_INSTRUMENT</code></td>
<td>unset</td>
<td>bench only, nRF52: every ~10 s a <code>PWRDUTY</code> line on the USB console with the time the MCU was awake and asleep, its wakes, and the CPU time spent on received packets. See <a href="../power/#cpu-time-per-received-packet-pwr_duty_instrument">power.md</a></td>
</tr>
</tbody>
</table>
<p>Prefs saved on the node override the build defaults: a reflash keeps what a
node already has; only a new node or one after <code>erase</code> takes them.</p>
</article>
</div>
<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
</div>
<button type="button" class="md-top md-icon" data-md-component="top" hidden>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z"/></svg>
Back to top
</button>
</main>
<footer class="md-footer">
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
<div class="md-copyright">
Made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
</a>
</div>
</div>
</div>
</footer>
</div>
<div class="md-dialog" data-md-component="dialog">
<div class="md-dialog__inner md-typeset"></div>
</div>
<script id="__config" type="application/json">{"annotate": null, "base": "..", "features": ["content.action.view", "content.code.copy", "navigation.sections", "navigation.top", "search.highlight", "search.suggest", "toc.follow"], "search": "../assets/javascripts/workers/search.a7633da7.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
<script src="../assets/javascripts/bundle.a5f9d56c.min.js"></script>
</body>
</html>