docs site from main a6487bc4
This commit is contained in:
commit
0b77bb6009
73 files changed
+39696
No files matched your search
@@ -0,0 +1,597 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<meta name="description" content="MeshCore fork meshcore-tth -- repeater antispam, diagnostics, OTA, Czech mesh defaults">
|
||||
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/meshcore-tth/img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="/meshcore-tth/img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/meshcore-tth/img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="/meshcore-tth/img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/meshcore-tth/img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/meshcore-tth/img/favicon-32x32.png" />
|
||||
<title>404 - MeshCore TTH</title>
|
||||
|
||||
|
||||
|
||||
<link href="/meshcore-tth/css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="/meshcore-tth/css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="/meshcore-tth/css/normalize.css" rel="stylesheet">
|
||||
<link href="/meshcore-tth/css/terminal.css" rel="stylesheet">
|
||||
<link href="/meshcore-tth/css/theme.css" rel="stylesheet">
|
||||
<link href="/meshcore-tth/css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="/meshcore-tth/css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="/meshcore-tth/css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="/meshcore-tth/_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="/meshcore-tth/css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "/meshcore-tth/",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="/meshcore-tth/js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="/meshcore-tth/js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="/meshcore-tth/js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/meshcore-tth/search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="/meshcore-tth/." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="/meshcore-tth/cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/.">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="/meshcore-tth/nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<br>
|
||||
<div class="terminal-alert terminal-alert-error">The page you requested could not be found.</div>
|
||||
<a href="https://tth-pub.pages.rfa.cz/meshcore-tth/"><button class="btn btn-default">Return Home</button></a>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="100%" height="100%" viewBox="0 0 134 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<path d="M3.277,0.053C2.829,0.053 2.401,0.41 2.321,0.851L0.013,13.623C-0.067,14.064 0.232,14.421 0.681,14.421L3.13,14.421C3.578,14.421 4.006,14.064 4.086,13.623L5.004,8.54L6.684,13.957C6.766,14.239 7.02,14.421 7.337,14.421L10.58,14.421C10.897,14.421 11.217,14.239 11.401,13.957L15.043,8.513L14.119,13.623C14.038,14.064 14.338,14.421 14.787,14.421L17.236,14.421C17.684,14.421 18.112,14.064 18.192,13.623L20.5,0.851C20.582,0.41 20.283,0.053 19.834,0.053L16.69,0.053C16.373,0.053 16.053,0.235 15.87,0.517L9.897,9.473C9.803,9.616 9.578,9.578 9.528,9.41L7.074,0.517C6.992,0.235 6.738,0.053 6.421,0.053L3.277,0.053Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M21.146,14.421C21.146,14.421 33.257,14.421 33.257,14.421C33.526,14.421 33.784,14.205 33.831,13.942L34.337,11.128C34.385,10.863 34.206,10.649 33.936,10.649L25.519,10.649C25.429,10.649 25.37,10.576 25.385,10.488L25.635,9.105C25.65,9.017 25.736,8.944 25.826,8.944L32.596,8.944C32.865,8.944 33.123,8.728 33.171,8.465L33.621,5.974C33.669,5.709 33.49,5.495 33.221,5.495L26.45,5.495C26.361,5.495 26.301,5.423 26.317,5.335L26.584,3.852C26.599,3.764 26.685,3.691 26.775,3.691L35.192,3.691C35.462,3.691 35.719,3.476 35.767,3.21L36.258,0.498C36.306,0.235 36.126,0.019 35.857,0.019L23.746,0.019C23.297,0.019 22.867,0.378 22.788,0.819L20.474,13.621C20.396,14.062 20.695,14.421 21.146,14.421Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M45.926,14.419L45.926,14.421L46.346,14.421C48.453,14.421 50.465,12.742 50.839,10.67L51.081,9.327C51.456,7.256 50.05,5.576 47.943,5.576L41.455,5.576C41.186,5.576 41.007,5.363 41.054,5.097L41.218,4.192C41.266,3.927 41.524,3.713 41.793,3.713L50.569,3.713C51.018,3.713 51.446,3.356 51.526,2.915L51.9,0.85C51.98,0.407 51.68,0.05 51.232,0.05L41.638,0.05C39.531,0.05 37.519,1.73 37.145,3.801L36.88,5.267C36.505,7.339 37.91,9.018 40.018,9.018L46.506,9.018C46.775,9.018 46.954,9.231 46.907,9.497L46.785,10.176C46.737,10.441 46.479,10.655 46.21,10.655L37.189,10.655C36.741,10.655 36.313,11.012 36.233,11.453L35.841,13.621C35.761,14.062 36.061,14.419 36.51,14.419L45.926,14.419Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M68.008,0.046C68.008,0.046 65.296,0.046 65.296,0.046C64.847,0.046 64.42,0.403 64.34,0.844L63.532,5.31C63.517,5.398 63.431,5.469 63.341,5.469L58.085,5.469C57.995,5.469 57.936,5.398 57.951,5.31L58.758,0.844C58.837,0.403 58.539,0.046 58.09,0.046L55.378,0.046C54.93,0.046 54.502,0.403 54.422,0.844L52.112,13.623C52.032,14.064 52.331,14.421 52.78,14.421L55.492,14.421C55.941,14.421 56.369,14.064 56.449,13.623L57.272,9.074C57.287,8.986 57.373,8.914 57.462,8.914L62.719,8.914C62.809,8.914 62.868,8.985 62.853,9.074L62.032,13.623C61.952,14.064 62.252,14.421 62.7,14.421L65.413,14.421C65.861,14.421 66.289,14.064 66.369,13.623L68.678,0.844C68.755,0.403 68.457,0.046 68.008,0.046Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M72.099,14.421C72.099,14.421 80.066,14.421 80.066,14.421C80.515,14.421 80.943,14.064 81.022,13.623L81.414,11.453C81.494,11.012 81.194,10.655 80.746,10.655L73.828,10.655C73.559,10.655 73.38,10.441 73.427,10.176L74.51,4.215C74.558,3.951 74.815,3.736 75.082,3.736L82,3.736C82.448,3.736 82.876,3.379 82.956,2.938L83.34,0.817C83.42,0.376 83.12,0.019 82.672,0.019L74.724,0.019C72.622,0.019 70.614,1.691 70.236,3.757L68.965,10.665C68.587,12.738 69.99,14.421 72.099,14.421Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M97.176,-0C97.176,0 88.882,0 88.882,0C86.775,0 84.763,1.68 84.389,3.751L83.139,10.67C82.765,12.741 84.169,14.421 86.277,14.421L94.571,14.421C96.678,14.421 98.69,12.741 99.064,10.67L100.314,3.751C100.689,1.68 99.284,-0 97.176,-0ZM94.798,10.178C94.75,10.443 94.492,10.657 94.223,10.657L87.978,10.657C87.709,10.657 87.529,10.443 87.577,10.178L88.659,4.192C88.707,3.927 88.964,3.713 89.234,3.713L95.477,3.713C95.747,3.713 95.926,3.927 95.878,4.192L94.798,10.178Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M101.284,14.421L103.995,14.421C104.443,14.421 104.871,14.065 104.951,13.624L105.43,10.97C105.446,10.882 105.531,10.81 105.621,10.81L108.902,10.806C109.064,10.806 109.2,10.886 109.267,11.018L110.813,14.035C110.992,14.392 111.319,14.434 112.303,14.419C112.88,14.426 113.756,14.382 115.169,14.382C115.623,14.382 115.902,13.907 115.678,13.51L113.989,10.569C113.945,10.491 113.993,10.386 114.086,10.34C115.39,9.707 116.423,8.477 116.681,7.055L117.27,3.785C117.646,1.713 116.242,0.033 114.134,0.033L103.884,0.033C103.436,0.033 103.008,0.39 102.928,0.831L100.616,13.623C100.536,14.064 100.836,14.421 101.284,14.421L101.284,14.421ZM106.73,3.791C106.745,3.703 106.831,3.631 106.921,3.631L112.225,3.631C112.626,3.631 112.891,3.949 112.821,4.343L112.431,6.494C112.359,6.885 111.979,7.204 111.58,7.204L106.276,7.204C106.186,7.204 106.127,7.133 106.142,7.043L106.73,3.791Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M118.277,14.421C118.277,14.421 130.388,14.421 130.388,14.421C130.657,14.421 130.915,14.205 130.963,13.942L131.468,11.128C131.516,10.863 131.337,10.649 131.068,10.649L122.65,10.649C122.56,10.649 122.501,10.576 122.516,10.488L122.766,9.105C122.781,9.017 122.867,8.944 122.957,8.944L129.728,8.944C129.997,8.944 130.254,8.728 130.302,8.465L130.753,5.974C130.801,5.709 130.621,5.495 130.352,5.495L123.581,5.495C123.492,5.495 123.432,5.423 123.448,5.335L123.715,3.852C123.73,3.764 123.816,3.691 123.906,3.691L132.324,3.691C132.593,3.691 132.851,3.476 132.898,3.21L133.389,0.498C133.437,0.235 133.257,0.019 132.988,0.019L120.877,0.019C120.428,0.019 119.999,0.378 119.919,0.819L117.605,13.621C117.527,14.062 117.827,14.421 118.277,14.421Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.9 KiB |
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="100%" height="100%" viewBox="0 0 139 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<path d="M3.232,3.582C2.789,3.582 2.368,3.934 2.289,4.369L0.013,16.964C-0.066,17.399 0.229,17.751 0.671,17.751L3.087,17.751C3.529,17.751 3.951,17.399 4.03,16.964L4.935,11.951L6.592,17.293C6.672,17.572 6.923,17.751 7.235,17.751L10.434,17.751C10.746,17.751 11.062,17.572 11.243,17.293L14.835,11.925L13.924,16.964C13.844,17.399 14.14,17.751 14.583,17.751L16.998,17.751C17.44,17.751 17.862,17.399 17.941,16.964L20.217,4.369C20.298,3.934 20.002,3.582 19.56,3.582L16.46,3.582C16.147,3.582 15.831,3.761 15.65,4.04L9.76,12.872C9.668,13.013 9.446,12.975 9.397,12.81L6.976,4.04C6.895,3.761 6.645,3.582 6.332,3.582L3.232,3.582Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M20.853,17.751C20.853,17.751 32.797,17.751 32.797,17.751C33.063,17.751 33.317,17.538 33.364,17.278L33.863,14.504C33.91,14.242 33.733,14.031 33.467,14.031L25.166,14.031C25.077,14.031 25.019,13.96 25.034,13.873L25.281,12.508C25.296,12.421 25.38,12.35 25.469,12.35L32.146,12.35C32.411,12.35 32.665,12.137 32.712,11.877L33.157,9.421C33.204,9.159 33.027,8.949 32.761,8.949L26.085,8.949C25.996,8.949 25.938,8.877 25.953,8.79L26.216,7.328C26.232,7.241 26.316,7.17 26.405,7.17L34.706,7.17C34.971,7.17 35.226,6.957 35.272,6.695L35.756,4.021C35.804,3.761 35.627,3.548 35.361,3.548L23.417,3.548C22.975,3.548 22.551,3.902 22.473,4.337L20.191,16.962C20.114,17.397 20.409,17.751 20.853,17.751Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M45.291,17.749L45.291,17.751L45.705,17.751C47.783,17.751 49.767,16.095 50.136,14.052L50.375,12.727C50.744,10.685 49.359,9.029 47.28,9.029L40.882,9.029C40.617,9.029 40.44,8.818 40.487,8.556L40.649,7.664C40.696,7.402 40.95,7.191 41.215,7.191L49.87,7.191C50.313,7.191 50.735,6.839 50.814,6.404L51.183,4.368C51.262,3.931 50.966,3.579 50.523,3.579L41.063,3.579C38.985,3.579 37,5.235 36.631,7.278L36.37,8.723C36.001,10.767 37.386,12.422 39.465,12.422L45.863,12.422C46.128,12.422 46.305,12.633 46.258,12.895L46.138,13.565C46.091,13.826 45.837,14.037 45.571,14.037L36.675,14.037C36.233,14.037 35.811,14.389 35.732,14.824L35.346,16.962C35.267,17.397 35.562,17.749 36.005,17.749L45.291,17.749Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M67.068,3.575C67.068,3.575 64.393,3.575 64.393,3.575C63.951,3.575 63.529,3.927 63.45,4.361L62.654,8.766C62.639,8.853 62.554,8.923 62.466,8.923L57.282,8.923C57.193,8.923 57.135,8.853 57.15,8.766L57.946,4.361C58.023,3.927 57.73,3.575 57.287,3.575L54.613,3.575C54.17,3.575 53.748,3.927 53.669,4.361L51.392,16.964C51.313,17.399 51.608,17.751 52.05,17.751L54.725,17.751C55.168,17.751 55.589,17.399 55.668,16.964L56.48,12.478C56.495,12.392 56.58,12.32 56.668,12.32L61.852,12.32C61.941,12.32 61.999,12.39 61.984,12.478L61.174,16.964C61.096,17.399 61.391,17.751 61.834,17.751L64.508,17.751C64.951,17.751 65.372,17.399 65.451,16.964L67.729,4.361C67.804,3.927 67.511,3.575 67.068,3.575Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M71.102,17.751C71.102,17.751 78.96,17.751 78.96,17.751C79.402,17.751 79.824,17.399 79.903,16.964L80.288,14.824C80.367,14.389 80.072,14.037 79.629,14.037L72.808,14.037C72.542,14.037 72.365,13.826 72.412,13.565L73.48,7.686C73.527,7.426 73.781,7.213 74.045,7.213L80.866,7.213C81.309,7.213 81.73,6.861 81.81,6.427L82.188,4.335C82.267,3.9 81.971,3.548 81.529,3.548L73.691,3.548C71.618,3.548 69.638,5.197 69.265,7.234L68.011,14.046C67.639,16.091 69.022,17.751 71.102,17.751Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M95.833,3.529C95.833,3.529 87.654,3.529 87.654,3.529C85.576,3.529 83.592,5.186 83.223,7.228L81.99,14.052C81.621,16.094 83.006,17.751 85.084,17.751L93.263,17.751C95.341,17.751 97.326,16.095 97.695,14.052L98.928,7.228C99.297,5.186 97.911,3.529 95.833,3.529ZM93.488,13.567C93.44,13.828 93.186,14.039 92.921,14.039L86.762,14.039C86.496,14.039 86.319,13.828 86.366,13.567L87.434,7.663C87.481,7.402 87.735,7.191 88,7.191L94.157,7.191C94.423,7.191 94.6,7.402 94.553,7.663L93.488,13.567Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M99.884,17.751L102.557,17.751C102.999,17.751 103.421,17.399 103.5,16.965L103.973,14.348C103.988,14.261 104.073,14.19 104.161,14.19L107.397,14.186C107.557,14.186 107.69,14.265 107.756,14.395L109.281,17.37C109.458,17.722 109.78,17.764 110.751,17.749C111.32,17.756 112.184,17.713 113.577,17.713C114.025,17.713 114.3,17.244 114.079,16.853L112.413,13.953C112.37,13.876 112.417,13.772 112.509,13.727C113.795,13.102 114.814,11.889 115.068,10.487L115.649,7.262C116.02,5.218 114.635,3.562 112.557,3.562L102.448,3.562C102.006,3.562 101.584,3.914 101.505,4.349L99.225,16.964C99.146,17.399 99.442,17.751 99.884,17.751L99.884,17.751ZM105.255,7.268C105.27,7.181 105.354,7.11 105.443,7.11L110.674,7.11C111.069,7.11 111.331,7.424 111.261,7.812L110.877,9.933C110.806,10.319 110.431,10.634 110.038,10.634L104.806,10.634C104.718,10.634 104.66,10.564 104.675,10.475L105.255,7.268Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M116.642,17.751C116.642,17.751 128.586,17.751 128.586,17.751C128.851,17.751 129.105,17.538 129.152,17.278L129.651,14.504C129.698,14.242 129.521,14.031 129.256,14.031L120.955,14.031C120.866,14.031 120.808,13.96 120.823,13.873L121.069,12.508C121.084,12.421 121.169,12.35 121.257,12.35L127.934,12.35C128.2,12.35 128.454,12.137 128.501,11.877L128.945,9.421C128.992,9.159 128.815,8.949 128.55,8.949L121.873,8.949C121.785,8.949 121.726,8.877 121.741,8.79L122.005,7.328C122.02,7.241 122.105,7.17 122.193,7.17L130.495,7.17C130.76,7.17 131.014,6.957 131.061,6.695L131.545,4.021C131.592,3.761 131.415,3.548 131.15,3.548L119.206,3.548C118.763,3.548 118.34,3.902 118.261,4.337L115.98,16.962C115.902,17.397 116.198,17.751 116.642,17.751Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M134.674,0C134.674,0 132.059,0 132.059,0C131.965,0 131.877,0.074 131.86,0.166L131.783,0.594C131.766,0.686 131.828,0.76 131.921,0.76L132.745,0.76C132.764,0.76 132.776,0.775 132.773,0.793L132.406,2.819C132.39,2.91 132.452,2.984 132.545,2.984L133.108,2.984C133.201,2.984 133.29,2.91 133.307,2.819L133.673,0.793C133.676,0.775 133.694,0.76 133.713,0.76L134.536,0.76C134.629,0.76 134.718,0.686 134.735,0.594L134.812,0.166C134.828,0.074 134.767,0 134.674,0Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M135.278,0.002C135.185,0.002 135.096,0.076 135.079,0.167L134.6,2.819C134.583,2.91 134.646,2.984 134.739,2.984L135.247,2.984C135.34,2.984 135.429,2.91 135.446,2.819L135.636,1.763L135.985,2.888C136.002,2.947 136.055,2.984 136.121,2.984L136.794,2.984C136.86,2.984 136.926,2.947 136.964,2.888L137.72,1.758L137.528,2.819C137.512,2.91 137.574,2.984 137.667,2.984L138.176,2.984C138.269,2.984 138.358,2.91 138.374,2.819L138.853,0.167C138.87,0.076 138.808,0.002 138.715,0.002L138.062,0.002C137.997,0.002 137.93,0.039 137.892,0.098L136.652,1.957C136.633,1.987 136.586,1.979 136.575,1.944L136.066,0.098C136.049,0.039 135.996,0.002 135.93,0.002L135.278,0.002Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.1 KiB |
@@ -0,0 +1,16 @@
|
||||
:root {
|
||||
--md-primary-fg-color: #1F2937;
|
||||
--md-primary-fg-color--light: #1F2937;
|
||||
--md-primary-fg-color--dark: #1F2937;
|
||||
--md-accent-fg-color: #1F2937;
|
||||
}
|
||||
|
||||
/* hide git repo version */
|
||||
.md-source__fact--version {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* underline links */
|
||||
.md-typeset a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
/* Docs site of the meshcore-tth fork (mkdocs.tth.yml, theme mkdocs-terminal,
|
||||
palette "dark"): only what the palette lacks. Green instead of its blue,
|
||||
and the GitHub callouts (> [!WARNING]) the theme does not style. */
|
||||
:root {
|
||||
--primary-color: #5fd38d;
|
||||
--progress-bar-fill: #5fd38d;
|
||||
/* plain black; the palette's 60em column was a thin noodle on a wide
|
||||
screen (user, 2. 12. 2026) */
|
||||
--background-color: #000;
|
||||
--invert-font-color: #000;
|
||||
--code-bg-color: #161616;
|
||||
--page-width: min(110em, 94vw);
|
||||
}
|
||||
|
||||
.admonition {
|
||||
border: 1px solid var(--secondary-color);
|
||||
padding: 0.2em 1em;
|
||||
margin: var(--global-line-height) 0;
|
||||
}
|
||||
.admonition-title {
|
||||
font-weight: bold;
|
||||
margin: 0.4em 0 0;
|
||||
}
|
||||
.admonition.warning, .admonition.caution, .admonition.danger {
|
||||
border-color: #e5a50a;
|
||||
}
|
||||
.admonition.warning > .admonition-title,
|
||||
.admonition.caution > .admonition-title,
|
||||
.admonition.danger > .admonition-title {
|
||||
color: #e5a50a;
|
||||
}
|
||||
.admonition.note > .admonition-title,
|
||||
.admonition.tip > .admonition-title,
|
||||
.admonition.important > .admonition-title {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
@@ -0,0 +1,942 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/ble-lora-coexistence/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>BLE/LoRa coexistence - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="../cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item--active terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">BLE/LoRa coexistence</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#blelora-coexistence-bench-reproduction-attempt">BLE/LoRa coexistence — bench reproduction attempt</a></li>
|
||||
<li><a href="#the-claim-under-test">The claim under test</a></li><li><a href="#rig">Rig</a></li><li><a href="#what-was-measured">What was measured</a></li><li><a href="#on-mast-hardware-with-the-file-log-on">On mast hardware, with the file log on</a></li><li><a href="#still-open">Still open</a></li><li><a href="#airtime-is-a-hard-limit-and-the-firmware-will-not-enforce-it">Airtime is a hard limit, and the firmware will not enforce it</a></li><li><a href="#traps-worth-remembering">Traps worth remembering</a></li><li><a href="#the-two-commands-this-bench-added">The two commands this bench added</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="blelora-coexistence-bench-reproduction-attempt">BLE/LoRa coexistence — bench reproduction attempt</h1>
|
||||
<p>Working notes for the DIRECT-forward loss seen on <code>mast-three</code> (SenseCap Solar,
|
||||
<code>SenseCap_Solar_repeater_ble</code>). Written down because the result is mostly
|
||||
<strong>negative</strong>, and a negative result is only worth anything if the method and its
|
||||
limits are recorded with it.</p>
|
||||
<h2 id="the-claim-under-test">The claim under test</h2>
|
||||
<p>Commit <code>f6e9aeca</code> widened the BLE connection interval from 15–30 ms to 60–80 ms
|
||||
after an A/B on the mast showed ~40 % of DIRECT-route forwards silently lost
|
||||
with an <strong>idle</strong> BLE connection at 15–30 ms. The stated mechanism is that the
|
||||
SoftDevice's per-connection-event preemption disturbs the SX126x TX path
|
||||
(<code>startTransmit</code> fail / send-complete timeout).</p>
|
||||
<p>The fix is deployed. What was never established is whether a bench rig can
|
||||
<strong>detect</strong> the effect at all — a measurement that reads zero in both the
|
||||
treatment and the control has shown nothing.</p>
|
||||
<h2 id="rig">Rig</h2>
|
||||
<p>Isolated test mesh on <strong>866.5 MHz</strong> (BW 62.5, SF 8, CR 5). Isolation is by
|
||||
frequency, not by tx power: a hilltop repeater with <code>RX_BOOSTED_GAIN</code> hears a
|
||||
few mW just fine. The override is compile-time (<code>platformio.local.ini</code>) because
|
||||
<code>MyMesh.cpp</code> seeds <code>_prefs.freq</code> from <code>LORA_FREQ</code>, so the firmware cannot come
|
||||
up on the production frequency even after <code>erase</code>.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>node</th>
|
||||
<th>board</th>
|
||||
<th>role</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>bench-board</code></td>
|
||||
<td>XIAO nRF52840 + Wio-SX1262</td>
|
||||
<td>forwarder under test</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>bench-board</code></td>
|
||||
<td>same</td>
|
||||
<td>paired control / radiating witness</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>bench-board</code>, <code>bench-board</code></td>
|
||||
<td>same</td>
|
||||
<td>probe sources</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>bench-rpt</code></td>
|
||||
<td>SenseCap Solar Node</td>
|
||||
<td>forwarder, mast-identical hardware</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>tth-s2-rpt</code></td>
|
||||
<td>same</td>
|
||||
<td>paired control</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Paired controls differ <strong>only</strong> in <code>ADVERT_NAME</code>, verified by diffing strings in
|
||||
the ELF. Any other difference invalidates them.</p>
|
||||
<h3 id="oracle">Oracle</h3>
|
||||
<p>The measured quantity is the node's own <code>direct_rx − direct_tx</code> from
|
||||
<code>stats-packets</code>: how many DIRECT packets it accepted for forwarding versus how
|
||||
many it actually sent. This is self-normalising — it does not depend on channel
|
||||
conditions or on a receiver hearing anything. <code>tx_start_fail</code> and <code>tx_timeout</code>
|
||||
are the mechanism-level counters. A second repeater with <code>repeat off</code> acts as a
|
||||
radiating witness, so "counted a TX" can be distinguished from "actually
|
||||
radiated".</p>
|
||||
<p>Route forcing: a contact is injected into the sender's companion with an
|
||||
explicit <code>out_path</code>, so the DM must traverse the node under test.
|
||||
<strong><code>out_path_len</code> is not a hop count</strong> — it is a packed byte, top two bits =
|
||||
hash size − 1, low six = hop count (<code>Packet.h:85</code>). One hop with a 2-byte hash
|
||||
is <code>0x41</code>, not <code>1</code>. The receiver reads the size out of the packet
|
||||
(<code>Mesh.cpp:93</code>), so a forced path works regardless of the node's
|
||||
<code>path.hash.mode</code>.</p>
|
||||
<h2 id="what-was-measured">What was measured</h2>
|
||||
<p>All cells at a <strong>verified</strong> 22.50 ms connection interval — <code>bleconn</code> reports the
|
||||
parameters actually negotiated, because <code>bleOnSecured()</code> only requests them and
|
||||
the central may refuse. Without that read-back none of the null results below
|
||||
would mean anything.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align: right;"><code>blepwr</code></th>
|
||||
<th style="text-align: right;">≈RSSI at central</th>
|
||||
<th style="text-align: right;">link up</th>
|
||||
<th style="text-align: right;">direct_rx</th>
|
||||
<th style="text-align: right;">direct_tx</th>
|
||||
<th style="text-align: right;">lost</th>
|
||||
<th style="text-align: right;">tx_timeout</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: right;">BLE off</td>
|
||||
<td style="text-align: right;">—</td>
|
||||
<td style="text-align: right;">—</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">0 dBm</td>
|
||||
<td style="text-align: right;">−67</td>
|
||||
<td style="text-align: right;">100 %</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">−8</td>
|
||||
<td style="text-align: right;">−75</td>
|
||||
<td style="text-align: right;">100 %</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">−12</td>
|
||||
<td style="text-align: right;">−79</td>
|
||||
<td style="text-align: right;">100 %</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">−16</td>
|
||||
<td style="text-align: right;">−83</td>
|
||||
<td style="text-align: right;">87 %</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">−20</td>
|
||||
<td style="text-align: right;">−87</td>
|
||||
<td style="text-align: right;">27 %</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>The −20 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 — close to the
|
||||
reconnect churn the mast reports as HCI 0x3E.</p>
|
||||
<p><strong>Ruled out as the missing factor: BLE link margin.</strong> The whole −75..−90 window
|
||||
the mast sits in is covered, at the known-bad interval, with zero loss.</p>
|
||||
<h3 id="why-idle-weak-link-does-nothing">Why idle + weak link does nothing</h3>
|
||||
<p>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 <code>poll</code> mode in
|
||||
the harness.</p>
|
||||
<p>Direction matters too, and it is the reason to weaken <strong>our</strong> 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 — an
|
||||
extra slave TX. If we miss the central's PDU we never transmit in that event at
|
||||
all, and the SoftDevice uses <em>less</em> radio.</p>
|
||||
<h2 id="on-mast-hardware-with-the-file-log-on">On mast hardware, with the file log on</h2>
|
||||
<p>Two SenseCap Solar nodes (<code>bench-rpt</code> forwarder, <code>tth-s2-rpt</code> paired control) —
|
||||
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
|
||||
(<code>bleconn</code>).</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>file log</th>
|
||||
<th>BLE</th>
|
||||
<th style="text-align: right;">direct_rx</th>
|
||||
<th style="text-align: right;">direct_tx</th>
|
||||
<th style="text-align: right;">lost</th>
|
||||
<th style="text-align: right;">tx_timeout</th>
|
||||
<th style="text-align: right;">witness</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>off</td>
|
||||
<td>off</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">+39</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>off</td>
|
||||
<td>idle, 88 % of window</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">+37</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>on</strong></td>
|
||||
<td>off</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">+39</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>on</strong></td>
|
||||
<td>idle, 90 % of window</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">8</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">+40</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>The logging condition was real, not nominal: <code>log</code> afterwards held 69 entries
|
||||
with RX/TX lines timestamped inside the measurement window, i.e. an InternalFS
|
||||
write per packet — the mechanism behind the known deaf windows.</p>
|
||||
<p><strong>Ten cells, 80 forced forwards, zero lost, <code>tx_timeout</code> and <code>tx_start_fail</code> at
|
||||
zero throughout.</strong> 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⁸ ≈ 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 — alone or together.</p>
|
||||
<h2 id="still-open">Still open</h2>
|
||||
<p><strong>Loaded LoRa channel</strong> 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–869.65) is where production lives.</p>
|
||||
<p>Practical consequence: <strong>f6e9aeca can be neither confirmed nor refuted on the
|
||||
bench.</strong> Deciding whether the 60–80 ms interval is still needed requires
|
||||
measuring on <code>mast-three</code> itself — the counters (<code>stats-packets</code>, and now
|
||||
<code>bleconn</code> to prove which interval is actually in force) are all reachable over
|
||||
its BLE console.</p>
|
||||
<h2 id="airtime-is-a-hard-limit-and-the-firmware-will-not-enforce-it">Airtime is a hard limit, and the firmware will not enforce it</h2>
|
||||
<p>866.5 MHz sits in 865–868 (CZ VO-R/10): 25 mW ERP, <strong>1 % duty cycle = 36 s of
|
||||
transmission per hour</strong>. The firmware does not police this — <code>airtime_factor</code>
|
||||
defaults to 0 (= 100 %) and is clamped to 9, so the lowest duty MeshCore can
|
||||
enforce is 10 %. The first sweep consumed <code>tx_air_secs</code> 27 s in 18 minutes of
|
||||
uptime, a rate of ~2.5 %. Budget the probes: <code>stats-radio.tx_air_secs</code> is the
|
||||
ground truth, and the harness aborts before crossing a configured cap.</p>
|
||||
<p><code>stats-core.queue_len</code> and <code>errors</code> are a required control, not decoration: when
|
||||
the airtime budget runs out the Dispatcher <strong>defers</strong> a forward
|
||||
(<code>next_tx_time</code>, <code>Dispatcher.cpp:101</code>), which looks identical to loss in the
|
||||
counters. Both were zero throughout.</p>
|
||||
<h2 id="traps-worth-remembering">Traps worth remembering</h2>
|
||||
<ul>
|
||||
<li><strong>USB and BLE consoles share one <code>command[160]</code>.</strong> Two concurrent consoles
|
||||
interleave into one line and crash the node. The harness keeps a strict
|
||||
sequence: counters over USB → close USB → BLE client → probes → stop BLE →
|
||||
counters over USB.</li>
|
||||
<li><strong><code>Bluefruit.setTxPower()</code> is advertising-only</strong> (see the commit message for
|
||||
<code>blepwr</code>); the connection runs at the SoftDevice default 0 dBm.</li>
|
||||
<li><strong>Weakening the link can lock you out of BLE.</strong> Below about −16 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 <code>blepwr</code> over the mesh admin
|
||||
CLI.</li>
|
||||
<li><strong>~~Runtime <code>set tx</code> does not change radiated LoRa power~~ — retracted.</strong> The
|
||||
original reading (+2 dBm → RSSI −44.1, −9 dBm → −44.0) was made with an
|
||||
instrument that could not report failure: <code>RadioLibWrapper::setTxPower()</code>
|
||||
discarded RadioLib's status, so a refused request looked exactly like an
|
||||
accepted one. Re-measured 2026-08-04 on the repeater build with <code>txpwr</code>
|
||||
confirming each step, x1 transmitting and x4 as witness:</li>
|
||||
</ul>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align: right;"><code>txpwr</code></th>
|
||||
<th style="text-align: right;">witness <code>last_rssi</code></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: right;">+22</td>
|
||||
<td style="text-align: right;">0 dBm <em>(saturated)</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">+14</td>
|
||||
<td style="text-align: right;">−1 dBm <em>(saturated)</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">+6</td>
|
||||
<td style="text-align: right;">−7 dBm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">0</td>
|
||||
<td style="text-align: right;">−18 dBm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;">−9</td>
|
||||
<td style="text-align: right;">−28 dBm</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>31 dB of command produced 28 dB of RSSI, and the witness <code>recv</code> counter rose
|
||||
by one at every step, so no point was missed. Radiated power does follow the
|
||||
setting. The top two points are saturated — the boards were ~10 cm apart — so
|
||||
the usable range of that particular rig starts around +6 dBm; characterising
|
||||
the top end needs attenuation or distance, not a bigger number.</p>
|
||||
<p>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.</p>
|
||||
<h2 id="the-two-commands-this-bench-added">The two commands this bench added</h2>
|
||||
<p>Both live in <code>examples/simple_repeater/main.cpp</code> and are repeater-only.</p>
|
||||
<h3 id="bleconn-what-the-link-is-actually-doing"><code>bleconn</code> — what the link is actually doing</h3>
|
||||
<div class="highlight"><pre><span></span><code>bleconn
|
||||
-> BLE conn: interval 75.00 ms (req 60-80), latency 0, sup timeout 4000 ms [live]
|
||||
</code></pre></div>
|
||||
<p>Reports the <strong>negotiated</strong> 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 <code>f6e9aeca</code> (widening the requested interval to
|
||||
60–80 ms) is in force on a node you cannot see. The trailing <code>[live]</code> /
|
||||
<code>[last]</code> 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
|
||||
<code>nothing seen yet</code>.</p>
|
||||
<h3 id="blepwr-dbmdefault-connection-tx-power-saved"><code>blepwr [dBm|default]</code> — connection TX power, saved</h3>
|
||||
<div class="highlight"><pre><span></span><code>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
|
||||
</code></pre></div>
|
||||
<p>The reply carries how many live connections accepted the value
|
||||
(<code>OK - BLE conn tx 8 dBm (1/1 conn), saved</code>) because the nRF52840 only takes
|
||||
−40, −20, −16, −12, −8, −4, 0 and 2..8 dBm; anything else is rejected and is
|
||||
<em>not</em> latched or saved, so a typo cannot arm itself for the next reconnect.
|
||||
The value lives in <code>/ble_pwr</code> 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 <code>RPT_BLE_CONN_TX_POWER</code>, which
|
||||
mast-three's env sets to 8).</p>
|
||||
<p>Sets <code>BLE_GAP_TX_POWER_ROLE_CONN</code>, which is <strong>independent of</strong>
|
||||
<code>Bluefruit.setTxPower()</code> — 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 <code>RPT_BLE_CONN_TX_POWER</code>.</p>
|
||||
<p>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 — at −40 dBm
|
||||
during this bench it locked the BLE console out. Fix it over the mesh admin
|
||||
CLI (<code>blepwr 0</code>), 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.</p>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,663 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/budka-sensor/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>Budka as a sensor - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="../cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item--active terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">Budka as a sensor</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#budka-link-a-chytra-budka-as-a-sensor-source">Budka link — a Chytra Budka as a sensor source</a></li>
|
||||
<li><a href="#build">Build</a></li><li><a href="#wiring">Wiring</a></li><li><a href="#telemetry-layout">Telemetry layout</a></li><li><a href="#bench-result-13-10-2026">Bench result (13. 10. 2026)</a></li><li><a href="#not-done">Not done</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="budka-link-a-chytra-budka-as-a-sensor-source">Budka link — a Chytra Budka as a sensor source</h1>
|
||||
<p>A Chytra Budka (ESP32-S3 bird box) sends its readings over a one-way UART line
|
||||
to a XIAO nRF52840 running <code>simple_sensor</code>; 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, <code>firmware/MESHCORE.md</code>.</p>
|
||||
<h2 id="build">Build</h2>
|
||||
<p><code>BudkaLinkSensorManager</code> (<code>src/helpers/sensors/</code>) replaces the variant's
|
||||
<code>EnvironmentSensorManager</code> when the env defines <code>BUDKA_LINK_RX_PIN</code>; every
|
||||
other env is unchanged.</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="na">[env</span><span class="o">:</span><span class="s">Xiao_x1_budka]</span><span class="w"> </span><span class="c1">; platformio.local.ini</span>
|
||||
<span class="na">extends</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">env:Xiao_nrf52_sensor</span>
|
||||
<span class="na">build_flags</span><span class="w"> </span><span class="o">=</span>
|
||||
<span class="w"> </span><span class="na">${env</span><span class="o">:</span><span class="s">Xiao_nrf52_sensor.build_flags}</span>
|
||||
<span class="w"> </span><span class="na">${test_radio.build_flags} ; bench</span><span class="o">:</span><span class="w"> </span><span class="s">test band only</span>
|
||||
<span class="w"> </span><span class="na">-D BUDKA_LINK_RX_PIN</span><span class="o">=</span><span class="s">0</span><span class="w"> </span><span class="c1">; D0 = the only pad LoRa + I²C leave free</span>
|
||||
</code></pre></div>
|
||||
<p>Optional: <code>BUDKA_LINK_TX_PIN</code> (default <code>LED_GREEN</code> — nothing is ever sent, the
|
||||
idle-high line keeps that LED dark), <code>BUDKA_LINK_BAUD</code> (115200),
|
||||
<code>BUDKA_LINK_METERS</code> (3), <code>BUDKA_LINK_STALE_MS</code> (120 s).</p>
|
||||
<h2 id="wiring">Wiring</h2>
|
||||
<p>Budka <code>mc_tx</code> pad → XIAO <strong>D0</strong>, GND ↔ GND, each board on its own USB. A
|
||||
1 kΩ series resistor protects against back-powering when one side is off.</p>
|
||||
<h2 id="telemetry-layout">Telemetry layout</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>channel</th>
|
||||
<th>content</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>the node itself</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>next</td>
|
||||
<td>budka: temperature, humidity, pressure, motion count (generic sensor)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>next + k</td>
|
||||
<td>UC96 meter <em>k</em>: voltage, current, power (analog input), energy (kWh)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>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.</p>
|
||||
<p>Read it with <code>.tth/tools/budka_telem.py <companion-port> <sensor-name></code>. The sensor
|
||||
answers only clients in its ACL — a request from anyone else is dropped
|
||||
(<code>recv matches no peers</code> in a <code>MESH_DEBUG</code> build). Add the companion from the
|
||||
sensor's USB console with <code>setperm <companion-pubkey> 1</code>, or log in as admin.
|
||||
The port may be a pyserial URL (<code>socket://…</code> for an openHop companion), and the
|
||||
name may be the sensor's public key when the companion does not have it yet.</p>
|
||||
<h2 id="bench-result-13-10-2026">Bench result (13. 10. 2026)</h2>
|
||||
<p>x1 (sensor, test band) fed by the bench budka; x4 as USB companion:</p>
|
||||
<div class="highlight"><pre><span></span><code>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
|
||||
</code></pre></div>
|
||||
<h2 id="not-done">Not done</h2>
|
||||
<p>Alerts (reed opened, budka WiFi down) and the return direction (mesh → budka).
|
||||
The sensor build has no <code>dfu</code> console command — reflash with
|
||||
<code>pio run -t upload</code>, one touch per power session.</p>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+921
@@ -0,0 +1,921 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/cs/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>Česky - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="./" class="menu-item active" property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">Česky</span>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#o-tomto-forku-meshcore-tth">O tomto forku (meshcore-tth)</a></li>
|
||||
<li><a href="#repeater-antispam-vsechno-vypinatelne-nic-z-toho-neni-v-upstreamu">Repeater: antispam (všechno vypínatelné, nic z toho není v upstreamu)</a></li><li><a href="#diagnostika-a-provoz">Diagnostika a provoz</a></li><li><a href="#opravy-jadra">Opravy jádra</a></li><li><a href="#napajeni-hodiny-gps">Napájení, hodiny, GPS</a></li><li><a href="#senzory-a-companiony">Senzory a companiony</a></li><li><a href="#verejne-buildy-vychozi-nastaveni-pro-cesky-mesh">Veřejné buildy: výchozí nastavení pro český mesh</a></li><li><a href="#nahrani-releasu">Nahrání releasu</a></li><li><a href="#experimentalni-aktualizace-firmwaru-od-admina-ota">Experimentální: aktualizace firmwaru od admina (*-ota)</a></li><li><a href="#sestaveni">Sestavení</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="o-tomto-forku-meshcore-tth">O tomto forku (meshcore-tth)</h1>
|
||||
<p><em><a href="../">English version</a> -- experimental
|
||||
firmware, not meant for regular users.</em></p>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title">Warning</p>
|
||||
<p><strong>Experimentální firmware – není určený pro běžné uživatele.</strong> Tenhle fork
|
||||
i všechny jeho releasy jsou osobní vývojová větev pro uzly jedné malé sítě:
|
||||
rolling release nad upstreamovou větví <code>dev</code>, sestavovaný automaticky
|
||||
zhruba dvakrát denně, bez stabilního kanálu, bez podpory a vyzkoušený jen
|
||||
na našich deskách. Může obsahovat chyby, které uzel vyřadí z provozu,
|
||||
a vrátit ho pak jde jen s USB nebo BLE v ruce. Pro běžný provoz nahrajte
|
||||
oficiální MeshCore (<a href="https://flasher.meshcore.io">flasher.meshcore.io</a>).</p>
|
||||
</div>
|
||||
<p>Fork projektu <a href="https://github.com/meshcore-dev/MeshCore">meshcore-dev/MeshCore</a>,
|
||||
na kterém běží repeatery, senzory a testovací desky malé české sítě na CZ
|
||||
meshi (869,432 MHz). Upstreamové větve <code>main</code> a <code>dev</code> se slučují automaticky
|
||||
dvakrát denně; všechno níže je navíc nad nimi. Náš kód je ve zdrojácích
|
||||
označený <code>CUSTOM (TeTeHacko)</code>. Nic z toho nemění protokol na rádiu.</p>
|
||||
<p>Dokumentace forku i upstreamu jako web (anglicky, tahle část česky):
|
||||
<a href="https://tth-pub.pages.rfa.cz/meshcore-tth/">https://tth-pub.pages.rfa.cz/meshcore-tth/</a></p>
|
||||
<h2 id="repeater-antispam-vsechno-vypinatelne-nic-z-toho-neni-v-upstreamu">Repeater: antispam (všechno vypínatelné, nic z toho není v upstreamu)</h2>
|
||||
<p><strong>Po nahrání je zapnutý jen FairnessLimiter</strong>, s limity se zhruba
|
||||
dvojnásobnou rezervou nad 30 dní skutečného provozu CZ meshe: na kanál dávka
|
||||
100 zpráv a pak jedna za 30 s, na odesílatele 150 a jedna za 10 s, na
|
||||
původce advertu 30 a jeden za 10 min. Je to síť na utržené floody, ne kvóta;
|
||||
<code>fairness off</code> ho vypne natrvalo. Okno na adverty, filtry a dry-run jsou
|
||||
vypnuté, dokud je nezapnete.</p>
|
||||
<ul>
|
||||
<li><strong>FairnessLimiter</strong> – token buckety na přeposílané floody podle 1bajtových
|
||||
identifikátorů, které jsou v paketu stejně v čitelné podobě (hash kanálu,
|
||||
hash odesílatele, původce advertu). Port návrhu Beanowa
|
||||
<a href="https://github.com/meshcore-dev/MeshCore/pull/1502">#1502</a>, limity
|
||||
přepočítané z 30 dní skutečného provozu CZ meshe.
|
||||
<code>fairness <on|off></code>, <code>fairness cap</code>, <code>fairness refill</code>, <code>fairness grid</code>; přímo směrovaný provoz se neomezuje nikdy.</li>
|
||||
<li><strong>Okno na adverty podle původce</strong> – flood advert každého uzlu se přepošle
|
||||
nejvýš jednou za N hodin (<code>fairness advert <hours></code>, <code>fairness advert clear</code>), převzato
|
||||
z AdvertLimiteru <a href="https://github.com/Dutch-MeshCore/MeshCore">DutchMeshCore</a>.
|
||||
Míří na uzly, které advertují každou minutu.</li>
|
||||
<li><strong>Dry-run</strong> – <code>fairness dryrun on</code> započítá každý verdikt, ale přepošle
|
||||
i tak; <code>fairness air</code> ukáže ušetřený (nebo ušetřitelný) airtime podle důvodu.</li>
|
||||
<li><strong>Filtr kanálů</strong> – na kanálech, jejichž klíč repeater zná (Public
|
||||
a <code>#hashtag</code> kanály), přestane přeposílat zprávy uvedených jmen odesílatelů
|
||||
(<code>filter add <name></code>, <code>filter del <name></code>, <code>filter list</code>). Jméno se dá podvrhnout: je to brzda na utrženého
|
||||
bota, ne bezpečnost.</li>
|
||||
<li><strong>Blokace přeposílání podle hashe kanálu</strong> – <code>filter hash add <hex> [secs]</code>:
|
||||
bez klíče, takže funguje i na soukromých kanálech; příjem se nemění, jen
|
||||
přeposílání. S <code>s</code> se kanál neodřízne, ale přiškrtí (jeden paket za <code>s</code>
|
||||
sekund).</li>
|
||||
<li><strong>Limit stáří zprávy</strong> – <code>filter age <minutes></code> / <code>filter age off</code> (volitelné, 1–10080 min):
|
||||
nepřeposílá skupinové zprávy na dešifrovaných kanálech, jejichž čas od
|
||||
odesílatele je starší; bez nastavených hodin repeateru neplatí. Posuzuje
|
||||
hodiny odesílatele, takže zahodí i companiony bez synchronizace času –
|
||||
nastavuj ho na dny.</li>
|
||||
<li><code>filter dryrun on</code> započítá každý verdikt <code>filter</code>, ale přepošle i tak.</li>
|
||||
</ul>
|
||||
<h2 id="diagnostika-a-provoz">Diagnostika a provoz</h2>
|
||||
<p>Všechny příkazy forku, kde je který build má a výchozí hodnoty:
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/tth-commands.md">docs/tth-commands.md</a>.</p>
|
||||
<p>Repeater, room server i senzor (všechno s textovou konzolí) mají:</p>
|
||||
<ul>
|
||||
<li><strong>Watchdogy rádia.</strong> Hardwarový watchdog chytí jen zamrzlou smyčku; dva naše
|
||||
uzly ale byly nalezeny hluché s běžící smyčkou a pomohl až restart.</li>
|
||||
<li><code>set radio.silence <min></code> – <strong>hluchý přijímač</strong>: když se za <code><min></code> minut
|
||||
nepohne čítač přijatých rámců (počítá se i rámec s chybou CRC), uzel
|
||||
napřed znovu nahodí příjem, a když ani to nepomůže, restartuje se. Každý
|
||||
takový restart zdvojnásobí práh pro příští start (až 16×), první přijatý
|
||||
rámec ho vrátí, takže tiché místo neskončí ve smyčce restartů. Uloží se;
|
||||
<strong>ve výchozím stavu vypnutý</strong> (<code>0</code>) – práh volte s rezervou nad nejdelší
|
||||
běžné ticho na místě.</li>
|
||||
<li><strong>Zaseknuté vysílání</strong> (jen repeater): pakety čekají ve frontě a čítač
|
||||
odeslaných se nehýbe → znovu nahodí rádio, pak restart. Prázdná fronta se
|
||||
nepočítá. <strong>Zapnutý, 15 min</strong> (<code>RADIO_TXSTALL_MIN</code>); <code>set radio.txstall
|
||||
<min>|off</code> platí jen do restartu.</li>
|
||||
<li><code>get radio.reboots</code> – kolik restartů watchdogy udělaly (přežije i výpadek
|
||||
napájení); <code>get boot</code> – proč se deska naposledy resetovala a záznam
|
||||
o hardfaultu (vypíše se i při startu).</li>
|
||||
<li><code>dfu [uf2|serial|ota]</code> – spolehlivý reboot do bootloaderu (jen z lokální
|
||||
konzole); <code>i2c</code> – sken sběrnice.</li>
|
||||
</ul>
|
||||
<p>Repeater navíc:</p>
|
||||
<ul>
|
||||
<li><code>blink</code> (rozbliká LED, i přes mesh – najdete uzel na stožáru), <code>txpwr</code>
|
||||
(vysílací výkon do restartu, s verdiktem RadioLibu), čítače chyb vysílání
|
||||
ve stavové odpovědi.</li>
|
||||
<li>Jen observer varianty (<code>*-observer</code>): textová konzole přes BLE vedle USB,
|
||||
<code>ble <on|off></code> uložené přes reboot (<code>RPT_BLE_DEFAULT_OFF</code>: startuje vypnuté),
|
||||
vlastní BLE PIN (<code>ble pin</code>), uložený vysílací výkon spojení (<code>blepwr</code>),
|
||||
<code>bleconn</code>, neblokující BLE vysílání a parametry spojení, které vydrží i na
|
||||
slabém linku.</li>
|
||||
<li>Taky jen observer varianty: pasivní analyzátor v konzoli – <code>nodes</code>
|
||||
(slyšené repeatery a roomy, klíč pro spojení více cest), <code>rxlog</code> (každý
|
||||
slyšený rámec: typ, cesta, SNR, RSSI), <code>pktlog</code> (surové rámce pro feed
|
||||
observeru), velké stránkované odpovědi.</li>
|
||||
<li>Jen vlastní buildy, ne releasy:</li>
|
||||
<li>kanálový bot (<code>BOT_CHANNEL_PSK</code>: <code>!link</code>, <code>!path</code>, <code>!snr</code>, <code>!heard</code>,
|
||||
<code>!noise</code>, <code>!ping</code>, <code>!help</code>, výběr přes <code>BOT_COMMANDS</code>, cooldown na
|
||||
odesílatele, ignore list) – odpovídá, aniž by přeposílal;</li>
|
||||
<li><code>RADIO_DIAG</code>: <code>radiostat</code> (stav přijímače SX1262 bez zásahu) a
|
||||
<code>radiokick <rx|clrirq|standby|agc></code> (jeden krok obnovy, od nejjemnějšího –
|
||||
první, který pomůže, ukáže rozbitou vrstvu);</li>
|
||||
<li><code>PIN_DIAG</code>: <code>dio1</code> (stav přerušení v čipu proti úrovni na pinu – který
|
||||
konec mrtvé linky DIO1 je přerušený);</li>
|
||||
<li><code>LORA_POLL_IRQ</code>: provoz bez DIO1 pro desku s mrtvou linkou přerušení.</li>
|
||||
</ul>
|
||||
<h2 id="opravy-jadra">Opravy jádra</h2>
|
||||
<ul>
|
||||
<li><strong>Ochrana proti přehrání admin příkazů přežije reboot.</strong> Upstream si
|
||||
poslední timestamp klienta drží jen v RAM, takže po každém restartu projde
|
||||
libovolný zachycený příkaz znovu – zachycený <code>reboot</code> uzel restartuje
|
||||
pořád dokola. Repeater, room server i sensor ho teď zapíšou do flash dřív,
|
||||
než příkaz provedou (<code>/s_acl_ts0|1</code>, střídavě s kontrolním součtem, takže
|
||||
ho nesmaže ani výpadek napájení při zápisu). Timestamp víc než den před
|
||||
hodinami uzlu (<code>ACL_TS_MAX_AHEAD</code>) se přijme, ale neuloží, aby companion
|
||||
s rozhozenými hodinami nezamkl admina. Ukládá se jen u adminů: host smí
|
||||
jen číst a s prázdným guest heslem se jím stane kdokoli, takže by každý
|
||||
jeho dotaz znamenal zápis do flash. Klientů se to nijak netýká.</li>
|
||||
<li><strong>Hesla nejde hádat přes éter plnou rychlostí.</strong> Upstream kontroluje každý
|
||||
login bez omezení a na špatné heslo ani neodpoví. Po 4 špatných heslech
|
||||
během 3 minut (<code>LOGIN_FAIL_MAX</code>, <code>LOGIN_FAIL_SECS</code>) se hesla do konce okna
|
||||
nekontrolují. Klient, který už je v ACL jako admin, projde vždy – login
|
||||
jeho jménem nikdo jiný poslat nedokáže, takže útok adminy nezamkne.</li>
|
||||
<li><strong>Přehraný login bez hesla už nevyvolá flood odpověď.</strong> Login klienta z ACL
|
||||
s prázdným heslem neměl ochranu proti přehrání; útočník tím nic nezískal,
|
||||
ale každá kopie donutila uzel poslat odpověď floodem přes celý mesh.</li>
|
||||
<li>TRACE už nepřipisuje cestu za konec payloadu; parsování TRACE/PATH
|
||||
a <code>Packet::readFrom</code> hlídají meze.</li>
|
||||
<li><code>markSeen</code> je zase idempotentní (odesílací cesta ujídala okno deduplikace).</li>
|
||||
<li>Záložní výpočet v <code>calcMaxPacketMillis</code> už nepodteče (uzel na tom ohluchl).</li>
|
||||
<li>Šířka path hashe se bere z nastavení uzlu na všech cestách vysílání včetně
|
||||
<code>sendZeroHop</code>; výchozí jsou 2bajtové path hashe (<code>PATH_HASH_MODE_DEFAULT</code>).</li>
|
||||
<li>Nepovedené vysílání se zařadí znovu s odstupem, místo aby se zahodilo.</li>
|
||||
<li><strong>Čas nRF52 uzlu už neposkočí o 4,5 h dopředu.</strong> Obsluha tiku FreeRTOS
|
||||
v Adafruit core přičetla 2^24 tiků naráz, když byl počet tiků byť o jeden
|
||||
před 24bitovým RTC: <code>millis()</code>, uptime, airtime a hodiny uzlu skočily
|
||||
o 16 384 s, někdy několikrát za pár minut, a uzel posílal adverty s časem
|
||||
až o 18 h napřed. Framework je proto náš fork
|
||||
<a href="https://git.rfa.cz/tth-pub/Adafruit_nRF52_Arduino">tth-pub/Adafruit_nRF52_Arduino</a>
|
||||
(meshcore-dev + tahle oprava).</li>
|
||||
<li>RSSI každého paketu se zaznamená při příjmu; <code>ContactInfo</code> se před
|
||||
částečným vyplněním vynuluje.</li>
|
||||
</ul>
|
||||
<h2 id="napajeni-hodiny-gps">Napájení, hodiny, GPS</h2>
|
||||
<ul>
|
||||
<li>GPS duty cycle (<code>gps duty</code>), i na T1000-E, kde nebyl: přijímač běží jen
|
||||
kolem synchronizace hodin (jednou denně, po neúspěšném okně znovu za 6 h).
|
||||
Dotaz na polohu přijímač probudí pro příští dotaz.</li>
|
||||
<li>Uzel bez GPS startuje na čase sestavení firmwaru, ne v roce 2024; hodiny
|
||||
a záznam o hardfaultu přežijí teplý reset (<code>.noinit</code>); <code>clkreboot</code>.</li>
|
||||
<li>Na solárních uzlech žádná blikající LED a pomalejší BLE advertising.</li>
|
||||
<li>Stav baterie jako ikona na konci advertovaného jména: <code>set batt.icon on</code>,
|
||||
prahy <code>set batt.icon.lo <mV></code> a <code>set batt.icon.hi <mV></code> (výchozí vypnuté; dlouhé jméno ikonu
|
||||
nepojme a příkaz na to upozorní).</li>
|
||||
<li>Volitelný RX duty cycle (<code>set radio.rxps <off|on|balanced|max></code>, jemněji
|
||||
<code>set radio.rxps level <level></code> 1–10; port PowerSaving z EasySkyMesh): SX1262 mezi krátkými okny
|
||||
poslechu spí. Ve veřejných buildech je zabudovaný a <strong>vypnutý</strong>; <code>max</code> na
|
||||
lavici ušetřil ~2,3 mA bez ztráty paketů (<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>),
|
||||
na ostrém meshi ale jeden náš stožár ztratil 16 % příjmu – zapínat s rozmyslem. Jen
|
||||
SX1262, ne LR1110 (T1000-E).</li>
|
||||
<li>Podpěťová pojistka při startu (<code>PWRMGT_VOLTAGE_BOOTLOCK</code>) je na nRF52
|
||||
<strong>vypnutá</strong>, stejně jako v upstreamu od v1.18.0
|
||||
(<a href="https://github.com/meshcore-dev/MeshCore/pull/2377">#2377</a>): pevný práh
|
||||
3,3 V nepouštěl k životu uzly na LiFePO4 nebo LTO. Firmware tak naběhne na
|
||||
jakékoli chemii článku; před hlubokým vybitím má chránit BMS nebo ochranná
|
||||
destička článku. Konfigurovatelná pojistka podle chemie čeká na upstream
|
||||
(<a href="https://github.com/meshcore-dev/MeshCore/pull/2088">#2088</a>). Výjimkou je
|
||||
<code>SenseCap_Solar_repeater</code> (Li-ion, naše stožáry): pojistka je zapnutá
|
||||
a oba prahy jdou nastavit za běhu, i přes mesh jako admin –
|
||||
<code>set pwr.bootlock <mV></code> nebo <code>off</code> (výchozí 3300, pod ním uzel nenaběhne a spí,
|
||||
dokud se článek nezotaví) a <code>set pwr.cutoff <mV></code> nebo <code>off</code> (výchozí vypnuto,
|
||||
pod ním se běžící uzel vypne); <code>get pwr</code> (<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>).</li>
|
||||
</ul>
|
||||
<h2 id="senzory-a-companiony">Senzory a companiony</h2>
|
||||
<ul>
|
||||
<li><code>simple_sensor</code>: telemetrie z externí stanice po UART
|
||||
(<code>BudkaLinkSensorManager</code>, jeden LPP kanál na veličinu), <code>sensor read</code>.</li>
|
||||
<li>Senzory, které jinak měří nepřetržitě (INA219, INA226, INA260, INA3221,
|
||||
BMP280), mezi čteními telemetrie spí a měří jen na vyžádání (nápad a první
|
||||
patch pro INA219: Alkel Brostl). Čipy INA se rozlišují podle ID, takže
|
||||
INA226 už se nedetekuje jako INA219. Odpor bočníku (INA219, INA226, INA3221; INA260 ho má uvnitř) se
|
||||
nastavuje za běhu a ukládá se: <code>sensor set ina.shunt <mOhm></code>.</li>
|
||||
<li>Companion: <code>gps duty</code> přežije reboot, kopie data sestavení má hlídanou
|
||||
délku. Export privátního klíče, čtení BLE PINu a jeho změna (i přes CLI
|
||||
<code>set pin</code>) jdou jen přes spárované BLE, ne přes USB, UART ani WiFi/TCP,
|
||||
a odpověď s klíčem či PINem jde jen tam, odkud přišel dotaz. (Merge v1.17
|
||||
tu kontrolu potichu vyřadil; build bez BLE bere své jediné rozhraní dál
|
||||
jako důvěryhodné.) KISS modem: oprava o jedna vedle při zkracování jména.</li>
|
||||
</ul>
|
||||
<h2 id="verejne-buildy-vychozi-nastaveni-pro-cesky-mesh">Veřejné buildy: výchozí nastavení pro český mesh</h2>
|
||||
<p>Releasy z tohoto repozitáře (<code>pub-release</code>) jsou přednastavené pro český
|
||||
mesh podle wiki <a href="https://meshcore.cz/">meshcore.cz</a>, takže čerstvě nahraný
|
||||
uzel nepotřebuje obvyklé kolečko nastavování:</p>
|
||||
<ul>
|
||||
<li>rádio 869,432 MHz / 62,5 kHz / SF7 / CR5 (všechny buildy);</li>
|
||||
<li>repeater a room server: zero-hop advert vypnutý, flood advert každých 25 h,
|
||||
duty cycle 10 % (<code>get dutycycle</code> → <code>10.0%</code>; zastaralé <code>af</code> je 9);</li>
|
||||
<li>repeater: regiony <code>cz</code> a <code>cs</code> vedle <code>*</code> – vlastní <code>cz-<kraj></code> přidáš přes
|
||||
<code>region put cz-xxx cz</code> + <code>region save</code>;</li>
|
||||
<li>2bajtové path hashe (výchozí v tomto forku);</li>
|
||||
<li>repeater: filtr kanálů (<code>filter add <jméno></code>) je zabudovaný pro Public,
|
||||
<code>#meshcore</code> a <code>#test</code>, s prázdným seznamem – nedělá nic, dokud do něj
|
||||
nepřidáš jméno.</li>
|
||||
</ul>
|
||||
<p>Platí jen pro uzel bez uloženého nastavení (nový nebo po <code>erase</code>): nové
|
||||
nahrání ponechá, co už uzel má, a regiony, které jsi smazal a uložil,
|
||||
zůstanou smazané. Jméno a admin heslo si nastav sám.</p>
|
||||
<p><strong>BLE PIN companionu je veřejný <code>123456</code></strong> (desky s displejem si losují
|
||||
vlastní a ukážou ho). Kdo se s ním spáruje, má companion celý: zprávy,
|
||||
kontakty, export privátního klíče. Po prvním spárování ho proto změň
|
||||
v aplikaci. A s deskou v ruce nechrání nic ani PIN, ani heslo: flash není
|
||||
zamčená a bootloader přijme jakýkoli firmware. Ztracený nebo ukradený uzel
|
||||
ber jako vyzrazený – u repeateru změň admin heslo všude, kde bylo stejné,
|
||||
a vyhoď jeho klíč z ACL; u companionu ber kanály, které na něm byly, jako
|
||||
známé.</p>
|
||||
<p>Varianty observer (<code>*_repeater-observer-*</code>) nRF52 repeaterů (XIAO, SenseCAP
|
||||
Solar, RAK4631, T1000-E, Heltec T114) přidávají buffery <code>nodes</code> / <code>rxlog</code> /
|
||||
<code>pktlog</code> a textovou konzoli přes BLE, aby šel repeater číst přes USB nebo BLE
|
||||
(<a href="https://git.rfa.cz/tth-pub/meshcore-repeater-observer">meshcore-repeater-observer</a>).
|
||||
BLE konzole je po nahrání <strong>vypnutá</strong> (<code>RPT_BLE_DEFAULT_OFF</code>). Nemá vlastní
|
||||
přihlášení, jen BLE PIN, a PIN v buildu je veřejný zástupný <code>123456</code>. Nejdřív
|
||||
si proto nastav vlastní – v USB konzoli, nebo jako admin přes mesh (vzdálené
|
||||
CLI v aplikaci): <code>ble pin <6 číslic></code> (uloží se a přežije reboot i nové
|
||||
nahrání; zároveň smaže všechny bondy, takže spárovaná zařízení se párují
|
||||
znovu). Teprve pak <code>ble on</code> – dokud je PIN zástupný, tyhle buildy ho odmítnou.
|
||||
<code>ble</code> ukáže, jestli je PIN <code>own</code> nebo <code>build default</code>, samotný PIN nikdy.
|
||||
Releasy do <code>tth-654d53f3</code> <code>ble pin</code> nemají: BLE tam nech vypnuté a používej USB.</p>
|
||||
<h2 id="nahrani-releasu">Nahrání releasu</h2>
|
||||
<p>Každý release je automatický build nad upstreamovým <code>dev</code> (viz upozornění
|
||||
nahoře), ne stabilní verze. Nahrávejte ho jen na uzly, na které dosáhnete,
|
||||
a nový release vždy nejdřív na jeden z nich.</p>
|
||||
<p>Soubory jsou v <a href="https://git.rfa.cz/tth-pub/meshcore-tth/releases">Releases</a>.
|
||||
Release se jmenuje podle upstreamové verze a data, např.
|
||||
<code>v1.18.0+tth.20261112</code> (druhý téhož dne <code>.2</code>), a v popisu má změny od
|
||||
předchozího releasu. Pro každou desku a roli je jedna sada
|
||||
(<code><deska>_<role>-<release></code>, např. <code>Xiao_nrf52_repeater-v1.18.0+tth.20261112.zip</code>):
|
||||
<code>.zip</code> a <code>.uf2</code> pro nRF52, <code>.bin</code> pro ESP32 (<code>-merged.bin</code> je celý obraz pro
|
||||
prázdnou desku, obyčejný <code>.bin</code> aktualizace). Kontrolní součty jsou
|
||||
v <code>SHA256SUMS</code>. Releasy do 12. 11. 2026 se jmenovaly <code>tth-<sha></code>.</p>
|
||||
<p><strong>nRF52 (XIAO, RAK4631, SenseCAP Solar, T1000-E, T114) přes
|
||||
<a href="https://flasher.meshcore.io">webový flasher MeshCore</a></strong> – Chrome, Edge nebo
|
||||
Chromium na počítači (Web Serial; ne Firefox ani Safari):</p>
|
||||
<ol>
|
||||
<li>Připoj desku přes USB.</li>
|
||||
<li>Klikni na <strong>Custom Firmware</strong> a vyber <code>.zip</code> pro svou desku.</li>
|
||||
<li>Klikni na <strong>Enter DFU mode</strong> a vyber sériový port desky. Deska se
|
||||
restartuje do bootloaderu a objeví se jako nový port.</li>
|
||||
<li>Klikni na <strong>Flash!</strong> a vyber ten nový port. Zhruba 30 s, pak se deska
|
||||
restartuje do nového firmwaru.</li>
|
||||
<li><strong>Console</strong> ve flasheru (nebo jakýkoli sériový terminál, 115200) ověří
|
||||
výsledek: <code>ver</code> ukáže <code>v1.xx.x-tth<sha></code>, stejně jako řádek „Verze v uzlu“
|
||||
v popisu releasu.</li>
|
||||
</ol>
|
||||
<p><strong>Neklikej na Erase Flash</strong>, pokud nechceš nový uzel: smaže identitu (klíč
|
||||
uzlu a všechno, co ho zná) i veškeré nastavení. Obyčejné nahrání je zachová.</p>
|
||||
<p>Vyzkoušeno na XIAO (repeater-observer, 3. 11. 2026). ESP32 <code>.bin</code> přes stejné
|
||||
tlačítko Custom Firmware tu vyzkoušené není.</p>
|
||||
<p>Bez webového flasheru: na většině desek otevře dvojí stisk resetu bootloader
|
||||
jako USB disk; zkopíruj na něj <code>.uf2</code>. Nebo
|
||||
<code>adafruit-nrfutil dfu serial -pkg <soubor>.zip -p <port> -b 115200</code> s deskou
|
||||
v bootloaderu.</p>
|
||||
<p>Nový uzel po nahrání nastav v konzoli: <code>set name <jméno></code>,
|
||||
<code>password <admin heslo></code> (nejvýš 15 znaků), vlastní region přes
|
||||
<code>region put cz-<kraj> cz</code> + <code>region save</code>. Repeater přeposílá od prvního
|
||||
startu (výchozí v upstreamu) a tyhle buildy jsou na ostré CZ frekvenci: na
|
||||
stole bez antény dej <code>set repeat off</code>, dokud není na místě.</p>
|
||||
<h2 id="experimentalni-aktualizace-firmwaru-od-admina-ota">Experimentální: aktualizace firmwaru od admina (<code>*-ota</code>)</h2>
|
||||
<p>Každý nRF52 build s textovou konzolí (repeater, observer, room server,
|
||||
senzor) je v releasu ještě jednou jako <strong>experimentální</strong> <code>*-ota</code> /
|
||||
<code>*-observer-ota</code>. Ten umí přijmout nový firmware od admina příkazy <code>fw …</code>:
|
||||
v USB nebo BLE konzoli, nebo <strong>přes mesh jako vzdálené admin CLI</strong>. Bez změny
|
||||
bootloaderu a bez druhé banky: uzel si balíček uloží do volné flash,
|
||||
zkontroluje ho celý (podpis, hashe, nanečisto provedená delta) a přepíše se
|
||||
až na <code>fw apply</code>, rutinou běžící z RAM. Když během přepisu vypadne napájení,
|
||||
zůstane v bootloaderu a vrátí se přes USB/BLE DFU.</p>
|
||||
<ul>
|
||||
<li>V releasu je ke každému <code>*-ota</code> obrazu plný balíček
|
||||
<code><deska>_<role>-ota-<release>.mcfw</code> (jen přes USB/BLE) a delta
|
||||
<code>….from-<starší release>.mcfw</code> od každého drženého předchozího releasu,
|
||||
typicky jednotky kB.</li>
|
||||
<li><strong>Přes mesh uzel přijme jen deltu, a nikdy ne starší verzi, než má</strong> –
|
||||
vynucuje to uzel, ne nástroj. Plný obraz nebo návrat ke starší verzi jen
|
||||
lokálně (<code>fw apply downgrade</code>). <code>fw apply</code> čeká na baterii ≥ 3,8 V, pokud
|
||||
uzel neběží z USB.</li>
|
||||
<li>Balíčky i <code>SHA256SUMS</code> jsou podepsané klíčem <code>meshcore-ota@tth-pub</code>
|
||||
a <code>*-ota</code> obraz jiný podpis nepřijme. Ověření stažených souborů:
|
||||
<code>ssh-keygen -Y verify -f tools/ota_allowed_signers -I meshcore-ota@tth-pub
|
||||
-n meshcore-ota -s SHA256SUMS.sig < SHA256SUMS</code>. Vlastní build s vlastním
|
||||
klíčem: <code>[ota] pubkey</code> v <code>platformio.local.ini</code>.</li>
|
||||
<li>První <code>*-ota</code> obraz se nahraje obyčejně (viz výše), další už jako delta.
|
||||
Nástroje: <code>tools/ota_push.py</code> (USB), <code>tools/ota_mesh_push.py</code> (přes mesh
|
||||
skrz companion; potřebuje pythonovou knihovnu <code>meshcore</code>, admin heslo bere
|
||||
z <code>[secrets] admin_pw</code> v <code>platformio.local.ini</code>; s <code>--side</code> jde přenos po
|
||||
vedlejším kanálu mimo sdílený mesh), <code>tools/ota_pack.py info</code>. Přenos samotný
|
||||
je OTA engine kolekce
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-ansible">tth.meshcore</a> (modul
|
||||
<code>meshcore_fw_ota</code>), stejný kód pro nástroje i Ansible. Z telefonu: fork
|
||||
aplikace <a href="https://git.rfa.cz/tth-pub/meshcore-open">meshcore-open</a>, správa
|
||||
repeateru → Firmware update (OTA), deltu si najde v releasu sám.
|
||||
Postup a čísla: <a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/ota.md">docs/ota.md</a>.</li>
|
||||
<li><strong>Experimentální i v rámci tohoto forku</strong>: obrazy přicházejí s každým
|
||||
releasem (viz upozornění nahoře) a nemají druhou banku ani automatický
|
||||
návrat. Vadný firmware, který nabootuje, běží, dokud nepošlete další;
|
||||
takový, který nenabootuje, chce USB/BLE DFU v ruce. Vyzkoušeno na lavici
|
||||
(XIAO, USB, mesh, vedlejší kanál) a od 13. 11. 2026 na dvou našich
|
||||
stožárech. Proti obrazu, který nabootuje s mrtvým rádiem, jsou watchdogy
|
||||
rádia (viz Diagnostika a provoz): pro uzly, kam posíláte OTA, zapněte
|
||||
<code>set radio.silence</code>. Stojí ~10 kB RAM navíc.</li>
|
||||
</ul>
|
||||
<h2 id="sestaveni">Sestavení</h2>
|
||||
<ul>
|
||||
<li>Razítko verze v každém nRF52 envu (<code>v1.18.0-tth<sha></code>, <code>+</code> = neuklizený
|
||||
strom), základní verze z upstreamového tagu (<code>tools/build_version.py</code>).</li>
|
||||
<li><code>tools/</code>: nástroje na uzly – konzole (USB, BLE), flashování, testy na
|
||||
lavici, diagnostika (<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/tools/README.md">tools/README.md</a>). Desky podle jména
|
||||
bere z lokálního configu mimo repo (<code>tools/config.example.ini</code>).</li>
|
||||
<li><code>hardware/cavity-box</code>: parametrická krabička pro dutinový filtr na stožár.</li>
|
||||
</ul>
|
||||
<hr />
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Vendored
+6369
File diff suppressed because it is too large.
Load diff
+6
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.2.1 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 2022 Fonticons, Inc.
|
||||
*/
|
||||
.fa{font-family:var(--fa-style-family,"Font Awesome 6 Free");font-weight:var(--fa-style,900)}.fa,.fa-brands,.fa-classic,.fa-regular,.fa-sharp,.fa-solid,.fab,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display,inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}.fa-classic,.fa-regular,.fa-solid,.far,.fas{font-family:"Font Awesome 6 Free"}.fa-brands,.fab{font-family:"Font Awesome 6 Brands"}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width, 2em)*-1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius,.1em);border:var(--fa-border-width,.08em) var(--fa-border-style,solid) var(--fa-border-color,#eee);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animatLine truncated
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.2.1 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 2022 Fonticons, Inc.
|
||||
*/
|
||||
:root, :host {
|
||||
--fa-style-family-classic: 'Font Awesome 6 Free';
|
||||
--fa-font-solid: normal 900 1em/1 'Font Awesome 6 Free'; }
|
||||
|
||||
@font-face {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
font-display: block;
|
||||
src: url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.ttf") format("truetype"); }
|
||||
|
||||
.fas,
|
||||
.fa-solid {
|
||||
font-weight: 900; }
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.2.1 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 2022 Fonticons, Inc.
|
||||
*/
|
||||
:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}
|
||||
Binary file not shown.
Binary file not shown.
Vendored
+419
@@ -0,0 +1,419 @@
|
||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
|
||||
/* Document
|
||||
========================================================================== */
|
||||
|
||||
|
||||
/**
|
||||
* 1. Correct the line height in all browsers.
|
||||
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||
*/
|
||||
|
||||
html {
|
||||
line-height: 1.15;
|
||||
/* 1 */
|
||||
-webkit-text-size-adjust: 100%;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
|
||||
/* Sections
|
||||
========================================================================== */
|
||||
|
||||
|
||||
/**
|
||||
* Remove the margin in all browsers.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Render the `main` element consistently in IE.
|
||||
*/
|
||||
|
||||
main {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Correct the font size and margin on `h1` elements within `section` and
|
||||
* `article` contexts in Chrome, Firefox, and Safari.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in Firefox.
|
||||
* 2. Show the overflow in Edge and IE.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box;
|
||||
/* 1 */
|
||||
height: 0;
|
||||
/* 1 */
|
||||
overflow: visible;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
font-family: monospace, monospace;
|
||||
/* 1 */
|
||||
font-size: 1em;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
|
||||
/**
|
||||
* Remove the gray background on active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 1. Remove the bottom border in Chrome 57-
|
||||
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: none;
|
||||
/* 1 */
|
||||
text-decoration: underline;
|
||||
/* 2 */
|
||||
text-decoration: underline dotted;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add the correct font weight in Chrome, Edge, and Safari.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
/* 1 */
|
||||
font-size: 1em;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add the correct font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` elements from affecting the line height in
|
||||
* all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
|
||||
/**
|
||||
* Remove the border on images inside links in IE 10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
|
||||
/**
|
||||
* 1. Change the font styles in all browsers.
|
||||
* 2. Remove the margin in Firefox and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit;
|
||||
/* 1 */
|
||||
font-size: 100%;
|
||||
/* 1 */
|
||||
line-height: 1.15;
|
||||
/* 1 */
|
||||
margin: 0;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Show the overflow in IE.
|
||||
* 1. Show the overflow in Edge.
|
||||
*/
|
||||
|
||||
button,
|
||||
input {
|
||||
/* 1 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||
* 1. Remove the inheritance of text transform in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
/* 1 */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Correct the inability to style clickable types in iOS and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Remove the inner border and padding in Firefox.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Restore the focus styles unset by the previous rule.
|
||||
*/
|
||||
|
||||
button:-moz-focusring,
|
||||
[type="button"]:-moz-focusring,
|
||||
[type="reset"]:-moz-focusring,
|
||||
[type="submit"]:-moz-focusring {
|
||||
outline: 1px dotted ButtonText;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Correct the padding in Firefox.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
padding: 0.35em 0.75em 0.625em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 1. Correct the text wrapping in Edge and IE.
|
||||
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||
* 3. Remove the padding so developers are not caught out when they zero out
|
||||
* `fieldset` elements in all browsers.
|
||||
*/
|
||||
|
||||
legend {
|
||||
box-sizing: border-box;
|
||||
/* 1 */
|
||||
color: inherit;
|
||||
/* 2 */
|
||||
display: table;
|
||||
/* 1 */
|
||||
max-width: 100%;
|
||||
/* 1 */
|
||||
padding: 0;
|
||||
/* 3 */
|
||||
white-space: normal;
|
||||
/* 1 */
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Remove the default vertical scrollbar in IE 10+.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in IE 10.
|
||||
* 2. Remove the padding in IE 10.
|
||||
*/
|
||||
|
||||
[type="checkbox"],
|
||||
[type="radio"] {
|
||||
box-sizing: border-box;
|
||||
/* 1 */
|
||||
padding: 0;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||
*/
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 1. Correct the odd appearance in Chrome and Safari.
|
||||
* 2. Correct the outline style in Safari.
|
||||
*/
|
||||
|
||||
[type="search"] {
|
||||
-webkit-appearance: textfield;
|
||||
/* 1 */
|
||||
outline-offset: -2px;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Remove the inner padding in Chrome and Safari on macOS.
|
||||
*/
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||
* 2. Change font properties to `inherit` in Safari.
|
||||
*/
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
-webkit-appearance: button;
|
||||
/* 1 */
|
||||
font: inherit;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
|
||||
/* Interactive
|
||||
========================================================================== */
|
||||
|
||||
|
||||
/*
|
||||
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||
*/
|
||||
|
||||
details {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Add the correct display in all browsers.
|
||||
*/
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
|
||||
/* Misc
|
||||
========================================================================== */
|
||||
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10+.
|
||||
*/
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*! blueberry.css | MIT License | github.com/ntno/mkdocs-terminal */
|
||||
|
||||
:root {
|
||||
--cream: #ffffcc;
|
||||
--black: #190910;
|
||||
--digital-navy: #000080;
|
||||
--authentic-blue: #3737aa;
|
||||
--corn-harvest: #8a6801;
|
||||
--light-grey: #d4d4d4;
|
||||
--dark-grey: #5e5e5e;
|
||||
--white: #f7f7f7;
|
||||
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: "Fira Code", Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--mono-font-stack: "Fira Code", Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--background-color: var(--cream);
|
||||
--page-width: 60em;
|
||||
--font-color: var(--black);
|
||||
--invert-font-color: var(--white);
|
||||
--primary-color: var(--digital-navy);
|
||||
--secondary-color: var(--authentic-blue);
|
||||
--tertiary-color: var(--authentic-blue);
|
||||
--error-color: var(--corn-harvest);
|
||||
--progress-bar-background: var(--light-grey);
|
||||
--progress-bar-fill: var(--dark-grey);
|
||||
--code-bg-color: var(--white);
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
/*! dark.css 0.7.5 | MIT License | github.com/Gioni06/terminal.css */
|
||||
|
||||
:root {
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--background-color: #222225;
|
||||
--page-width: 60em;
|
||||
--font-color: #e8e9ed;
|
||||
--invert-font-color: #222225;
|
||||
--secondary-color: #a3abba;
|
||||
--tertiary-color: #a3abba;
|
||||
--primary-color: #62c4ff;
|
||||
--error-color: #ff3c74;
|
||||
--progress-bar-background: #3f3f44;
|
||||
--progress-bar-fill: #62c4ff;
|
||||
--code-bg-color: #3f3f44;
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/*! terminal.css 0.7.5 | MIT License | github.com/Gioni06/terminal.css */
|
||||
|
||||
|
||||
/* this document is intentionally left empty. for root configuration, see terminal/css/terminal.css */
|
||||
@@ -0,0 +1,50 @@
|
||||
/*! gruvbox_dark.css | MIT License | github.com/Gioni06/terminal.css/issues/9 */
|
||||
|
||||
:root {
|
||||
--gb-dm-bg0: #282828;
|
||||
--gb-dm-bg0-hard: #1d2021;
|
||||
--gb-dm-bg0-soft: #32302f;
|
||||
--gb-dm-bg1: #3c3836;
|
||||
--gb-dm-bg2: #504945;
|
||||
--gb-dm-bg3: #665c54;
|
||||
--gb-dm-bg4: #7c6f64;
|
||||
--gb-dm-fg0: #fbf1c7;
|
||||
--gb-dm-fg1: #ebdbb2;
|
||||
--gb-dm-fg2: #d5c4a1;
|
||||
--gb-dm-fg3: #bdae93;
|
||||
--gb-dm-fg4: #a89984;
|
||||
--gb-dm-dark-red: #cc241d;
|
||||
--gb-dm-dark-green: #98971a;
|
||||
--gb-dm-dark-yellow: #d79921;
|
||||
--gb-dm-dark-blue: #458588;
|
||||
--gb-dm-dark-purple: #b16286;
|
||||
--gb-dm-dark-aqua: #689d6a;
|
||||
--gb-dm-dark-orange: #d65d0e;
|
||||
--gb-dm-dark-gray: #928374;
|
||||
--gb-dm-light-red: #fb4934;
|
||||
--gb-dm-light-green: #b8bb26;
|
||||
--gb-dm-light-yellow: #fabd2f;
|
||||
--gb-dm-light-blue: #83a598;
|
||||
--gb-dm-light-purple: #d3869b;
|
||||
--gb-dm-light-aqua: #8ec07c;
|
||||
--gb-dm-light-orange: #f38019;
|
||||
--gb-dm-light-gray: #a89984;
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--background-color: var(--gb-dm-bg0);
|
||||
--page-width: 60em;
|
||||
--font-color: var(--gb-dm-fg1);
|
||||
--invert-font-color: var(--gb-dm-bg0-hard);
|
||||
--primary-color: var(--gb-dm-light-yellow);
|
||||
--secondary-color: var(--gb-dm-fg3);
|
||||
--tertiary-color: var(--gb-dm-light-gray);
|
||||
--error-color: var(--gb-dm-light-red);
|
||||
--progress-bar-background: var(--gb-dm-bg2);
|
||||
--progress-bar-fill: var(--gb-dm-fg2);
|
||||
--code-bg-color: var(--gb-dm-bg2);
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*! lightyear.css | MIT License | github.com/ntno/mkdocs-terminal */
|
||||
|
||||
:root {
|
||||
--mint: #e0ffe0;
|
||||
--black: #190910;
|
||||
--white: #f7f7f7;
|
||||
--dark-purple: #4b0082;
|
||||
--grape: #805b9c;
|
||||
--red: #cc2517;
|
||||
--light-grey: #d4d4d4;
|
||||
--dark-grey: #5e5e5e;
|
||||
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: "Fira Code", Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--mono-font-stack: "Fira Code", Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--background-color: var(--mint);
|
||||
--page-width: 60em;
|
||||
--font-color: var(--black);
|
||||
--invert-font-color: var(--white);
|
||||
--primary-color: var(--dark-purple);
|
||||
--secondary-color: var(--grape);
|
||||
--tertiary-color: var(--grape);
|
||||
--error-color: var(--red);
|
||||
--progress-bar-background: var(--light-grey);
|
||||
--progress-bar-fill: var(--dark-grey);
|
||||
--code-bg-color: var(--white);
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
/*! pink.css | MIT License | github.com/Gioni06/terminal.css/issues/9 */
|
||||
|
||||
:root {
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: 'Fira Code', Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--mono-font-stack: 'Fira Code', Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--background-color: #ffffff;
|
||||
--page-width: 60em;
|
||||
--font-color: #190910;
|
||||
--invert-font-color: #f7f7f7;
|
||||
--primary-color: #f90d7a;
|
||||
--secondary-color: #715864;
|
||||
--tertiary-color: #715864;
|
||||
--error-color: #bb0047;
|
||||
--progress-bar-background: #d4d4d4;
|
||||
--progress-bar-fill: #5e5e5e;
|
||||
--code-bg-color: #f7f7f7;
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*! red_drum.css | MIT License | github.com/ntno/mkdocs-terminal */
|
||||
|
||||
:root {
|
||||
--pale-goldenrod: #eee8aa;
|
||||
--black: #190910;
|
||||
--white: #f7f7f7;
|
||||
--dark-red: #8b0000;
|
||||
--old-rose: #8b5a5b;
|
||||
--sea-blue: #00678c;
|
||||
--light-grey: #d4d4d4;
|
||||
--dark-grey: #5e5e5e;
|
||||
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: "Fira Code", Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--mono-font-stack: "Fira Code", Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--background-color: var(--pale-goldenrod);
|
||||
--page-width: 60em;
|
||||
--font-color: var(--black);
|
||||
--invert-font-color: var(--white);
|
||||
--primary-color: var(--dark-red);
|
||||
--secondary-color: var(--old-rose);
|
||||
--tertiary-color: var(--old-rose);
|
||||
--error-color: var(--sea-blue);
|
||||
--progress-bar-background: var(--light-grey);
|
||||
--progress-bar-fill: var(--dark-grey);
|
||||
--code-bg-color: var(--white);
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/*! sans.css 0.7.5 | MIT License | github.com/Gioni06/terminal.css */
|
||||
|
||||
:root {
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--font-stack: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
|
||||
--input-style: solid;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/*! sans_dark.css 0.7.5 | MIT License | github.com/Gioni06/terminal.css */
|
||||
|
||||
:root {
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--font-stack: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
|
||||
--background-color: #222225;
|
||||
--page-width: 60em;
|
||||
--font-color: #e8e9ed;
|
||||
--invert-font-color: #222225;
|
||||
--secondary-color: #a3abba;
|
||||
--tertiary-color: #a3abba;
|
||||
--primary-color: #62c4ff;
|
||||
--error-color: #ff3c74;
|
||||
--progress-bar-background: #3f3f44;
|
||||
--progress-bar-fill: #62c4ff;
|
||||
--code-bg-color: #3f3f44;
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
Vendored
+211
@@ -0,0 +1,211 @@
|
||||
/*! Terminal for MkDocs | MIT License | github.com/ntno/mkdocs-terminal */
|
||||
/*!
|
||||
/*! Bootstrap v4.3.1 | MIT License | github.com/twbs/bootstrap
|
||||
* Copyright 2011-2019 The Bootstrap Authors
|
||||
* Copyright 2011-2019 Twitter, Inc.
|
||||
*/
|
||||
|
||||
.modal-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.modal-open .modal {
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.modal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1050;
|
||||
display: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.modal-dialog {
|
||||
position: relative;
|
||||
width: auto;
|
||||
margin: 0.5rem;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.modal.fade .modal-dialog {
|
||||
transition: -webkit-transform 0.3s ease-out;
|
||||
transition: transform 0.3s ease-out;
|
||||
transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
|
||||
-webkit-transform: translate(0, -50px);
|
||||
transform: translate(0, -50px);
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.modal.fade .modal-dialog {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.modal.show .modal-dialog {
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.modal-dialog-scrollable {
|
||||
display: flex;
|
||||
max-height: calc(100% - 1rem);
|
||||
}
|
||||
|
||||
.modal-dialog-scrollable .modal-content {
|
||||
max-height: calc(100vh - 1rem);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.modal-dialog-scrollable .modal-header,
|
||||
.modal-dialog-scrollable .modal-footer {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.modal-dialog-scrollable .modal-body {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.modal-dialog-centered {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: calc(100% - 1rem);
|
||||
}
|
||||
|
||||
.modal-dialog-centered::before {
|
||||
display: block;
|
||||
height: calc(100vh - 1rem);
|
||||
content: "";
|
||||
}
|
||||
|
||||
.modal-dialog-centered.modal-dialog-scrollable {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.modal-dialog-centered.modal-dialog-scrollable::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
pointer-events: auto;
|
||||
background-color: var(--code-bg-color);
|
||||
background-clip: padding-box;
|
||||
border: 1px solid var(--font-color);
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.modal-backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1040;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.modal-backdrop.fade {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.modal-backdrop.show {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
padding: 1rem 1rem;
|
||||
border-bottom: 1px solid var(--secondary-color);
|
||||
}
|
||||
|
||||
.modal-header .close {
|
||||
padding: 1rem 1.5rem;
|
||||
margin: -.7rem -.7rem -.7rem auto;
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
margin-bottom: 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
padding: 1rem;
|
||||
border-top: 1px solid var(--secondary-color);
|
||||
}
|
||||
|
||||
.modal-footer> :not(:first-child) {
|
||||
margin-left: .25rem;
|
||||
}
|
||||
|
||||
.modal-footer> :not(:last-child) {
|
||||
margin-right: .25rem;
|
||||
}
|
||||
|
||||
.modal-scrollbar-measure {
|
||||
position: absolute;
|
||||
top: -9999px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
.modal-dialog {
|
||||
max-width: 500px;
|
||||
margin: 1.75rem auto;
|
||||
}
|
||||
.modal-dialog-scrollable {
|
||||
max-height: calc(100% - 3.5rem);
|
||||
}
|
||||
.modal-dialog-scrollable .modal-content {
|
||||
max-height: calc(100vh - 3.5rem);
|
||||
}
|
||||
.modal-dialog-centered {
|
||||
min-height: calc(100% - 3.5rem);
|
||||
}
|
||||
.modal-dialog-centered::before {
|
||||
height: calc(100vh - 3.5rem);
|
||||
}
|
||||
.modal-sm {
|
||||
max-width: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.modal-lg,
|
||||
.modal-xl {
|
||||
max-width: 800px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.modal-xl {
|
||||
max-width: 1140px;
|
||||
}
|
||||
}
|
||||
+1055
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,92 @@
|
||||
/*! Terminal for MkDocs | MIT License | github.com/ntno/mkdocs-terminal */
|
||||
|
||||
|
||||
/*! terminal.css 0.7.5 | MIT License | github.com/Gioni06/terminal.css */
|
||||
|
||||
body {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
|
||||
/* underline links in main content (except header anchor links) */
|
||||
|
||||
#terminal-mkdocs-main-content a:not(.headerlink) {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
/* do not underline button links */
|
||||
|
||||
a.btn {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.terminal-mkdocs-side-nav-item--active {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.terminal-mkdocs-side-nav-section-no-index {
|
||||
color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.terminal-mkdocs-pad-to-match-side-nav {
|
||||
padding-top: calc(var(--global-space) * 2);
|
||||
}
|
||||
|
||||
.terminal-mkdocs-thin-border {
|
||||
border: solid !important;
|
||||
border-color: var(--secondary-color) !important;
|
||||
border-width: thin !important;
|
||||
}
|
||||
|
||||
.terminal-mkdocs-macro-error-banner {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: .65em 2em;
|
||||
border-color: var(--error-color);
|
||||
}
|
||||
|
||||
p.terminal-mkdocs-macro-error-banner {
|
||||
color: var(--font-color);
|
||||
}
|
||||
|
||||
p.terminal-mkdocs-macro-error-banner>code {
|
||||
color: var(--code-font-color);
|
||||
}
|
||||
|
||||
|
||||
/* set figcaption paragraph text to the secondary color. this occurs when using markdown inside the figcaption */
|
||||
|
||||
figure>figcaption>p {
|
||||
color: var(--secondary-color);
|
||||
}
|
||||
|
||||
|
||||
/* ***************************************************************** */
|
||||
|
||||
|
||||
/* Terminal.css Overrides */
|
||||
|
||||
|
||||
/* ***************************************************************** */
|
||||
|
||||
|
||||
/* don't display backticks on `code` items, just highlight */
|
||||
|
||||
code::after,
|
||||
code::before {
|
||||
content: "" !important;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
||||
/* use the `code-bg-color` and `code-font-color` for `<code>` blocks */
|
||||
|
||||
pre code {
|
||||
background-color: var(--code-bg-color);
|
||||
color: var(--code-font-color);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
/* grid for footer */
|
||||
|
||||
.terminal-mkdocs-footer-grid {
|
||||
display: grid;
|
||||
grid-row-gap: 2em;
|
||||
grid-column-gap: 2em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
|
||||
/* place prev/next links to the right of copyright info when screen is wide enough */
|
||||
|
||||
@media only screen and (min-width: 50em) {
|
||||
.terminal-mkdocs-footer-grid {
|
||||
grid-template-columns: 6fr 3fr;
|
||||
}
|
||||
#terminal-mkdocs-footer-prev-next {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
#terminal-mkdocs-footer-copyright-info {
|
||||
text-align: left;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
/*! Terminal for MkDocs | MIT License | github.com/ntno/mkdocs-terminal */
|
||||
|
||||
.terminal-mkdocs-tile-grid {
|
||||
display: grid;
|
||||
grid-gap: 1em;
|
||||
grid-template-rows: auto;
|
||||
grid-template-columns: repeat(auto-fit, minmax(calc(var(--page-width) / 6), 1fr));
|
||||
}
|
||||
|
||||
|
||||
/* center link text within the tile */
|
||||
|
||||
.terminal-mkdocs-tile {
|
||||
border: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
/* center images within the tile */
|
||||
|
||||
.terminal-mkdocs-tile div>figure>img,
|
||||
.terminal-mkdocs-tile div>figure>a>img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
+1361
File diff suppressed because it is too large.
Load diff
+927
@@ -0,0 +1,927 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/"><link rel="icon" type="image/png" sizes="192x192" href="img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>About the fork - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="css/normalize.css" rel="stylesheet">
|
||||
<link href="css/terminal.css" rel="stylesheet">
|
||||
<link href="css/theme.css" rel="stylesheet">
|
||||
<link href="css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = ".",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="." class="menu-item active" property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">About the fork</span>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#about-this-fork-meshcore-tth">About this fork (meshcore-tth)</a></li>
|
||||
<li><a href="#repeater-antispam-all-of-it-off-switchable-none-of-it-upstream">Repeater: antispam (all of it off-switchable, none of it upstream)</a></li><li><a href="#diagnostics-and-operations">Diagnostics and operations</a></li><li><a href="#core-fixes">Core fixes</a></li><li><a href="#power-clock-gps">Power, clock, GPS</a></li><li><a href="#sensors-and-companions">Sensors and companions</a></li><li><a href="#public-builds-czech-mesh-defaults">Public builds: Czech mesh defaults</a></li><li><a href="#flashing-a-release">Flashing a release</a></li><li><a href="#experimental-firmware-update-pushed-by-the-admin-ota">Experimental: firmware update pushed by the admin (*-ota)</a></li><li><a href="#build">Build</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="about-this-fork-meshcore-tth">About this fork (meshcore-tth)</h1>
|
||||
<p><em><a href="cs/">Česká verze</a>.</em></p>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title">Warning</p>
|
||||
<p><strong>Experimental firmware -- not meant for regular users.</strong> This fork and all
|
||||
its releases are a personal development branch for the nodes of one small
|
||||
network: a rolling release on upstream <code>dev</code>, built automatically about
|
||||
twice a day, with no stable channel, no support, and tried only on our own
|
||||
boards. It may carry bugs that take a node out of service, and getting one
|
||||
back then needs USB or BLE in hand. For everyday use flash the official
|
||||
MeshCore (<a href="https://flasher.meshcore.io">flasher.meshcore.io</a>).</p>
|
||||
</div>
|
||||
<p>A fork of <a href="https://github.com/meshcore-dev/MeshCore">meshcore-dev/MeshCore</a>
|
||||
that runs the repeaters, sensors and bench boards of a small Czech network on
|
||||
the CZ mesh (869.432 MHz). Upstream <code>main</code> and <code>dev</code> are merged automatically
|
||||
twice a day; everything below is on top of that. Our code is marked
|
||||
<code>CUSTOM (TeTeHacko)</code> in the source. Nothing here changes the wire protocol.</p>
|
||||
<p>The fork's and upstream's docs as a website:
|
||||
<a href="https://tth-pub.pages.rfa.cz/meshcore-tth/">https://tth-pub.pages.rfa.cz/meshcore-tth/</a></p>
|
||||
<h2 id="repeater-antispam-all-of-it-off-switchable-none-of-it-upstream">Repeater: antispam (all of it off-switchable, none of it upstream)</h2>
|
||||
<p><strong>After flashing only the FairnessLimiter is on</strong>, with limits about twice
|
||||
above 30 days of real CZ mesh traffic: per channel a burst of 100 messages,
|
||||
then one per 30 s; per sender 150 and one per 10 s; per advert origin 30 and
|
||||
one per 10 min. It is a net for runaway floods, not a quota; <code>fairness off</code>
|
||||
switches it off for good. The advert window, the filters and dry-run stay
|
||||
off until you turn them on.</p>
|
||||
<ul>
|
||||
<li><strong>FairnessLimiter</strong> -- token buckets on forwarded floods, keyed on the 1-byte
|
||||
ids already in the clear (channel hash, sender hash, advert origin). Port of
|
||||
Beanow's proposal <a href="https://github.com/meshcore-dev/MeshCore/pull/1502">#1502</a>,
|
||||
limits re-sized from 30 days of real CZ traffic.
|
||||
<code>fairness <on|off></code>, <code>fairness cap</code>, <code>fairness refill</code>, <code>fairness grid</code>; direct-routed traffic is never limited.</li>
|
||||
<li><strong>Per-origin advert window</strong> -- each node's flood advert forwarded at most
|
||||
once per N hours (<code>fairness advert <hours></code>, <code>fairness advert clear</code>), ported from
|
||||
<a href="https://github.com/Dutch-MeshCore/MeshCore">DutchMeshCore</a>'s AdvertLimiter.
|
||||
Aimed at nodes that re-advertise every minute.</li>
|
||||
<li><strong>Dry-run</strong> -- <code>fairness dryrun on</code> counts every verdict but forwards anyway;
|
||||
<code>fairness air</code> reports the airtime shed (or that would be) per reason.</li>
|
||||
<li><strong>Channel filter</strong> -- on channels whose key the repeater knows (Public and
|
||||
<code>#hashtag</code> channels), stop forwarding messages of listed sender names
|
||||
(<code>filter add <name></code>, <code>filter del <name></code>, <code>filter list</code>). Names are spoofable: it contains a runaway bot,
|
||||
it is not security.</li>
|
||||
<li><strong>Channel-hash deny-forward</strong> -- <code>filter hash add <hex> [secs]</code>: keyless,
|
||||
works on private channels too; reception is unaffected, only forwarding.
|
||||
With <code>secs</code> the channel is throttled (one packet per <code>secs</code>) instead of cut.</li>
|
||||
<li><strong>Message age limit</strong> -- <code>filter age <minutes></code> / <code>filter age off</code> (opt-in, 1-10080 min): do not
|
||||
forward group texts on the decrypted channels whose sender timestamp is
|
||||
older; inactive while the repeater clock is unset. It judges the sender's
|
||||
clock, so companions without a time sync are dropped too -- keep it in days.</li>
|
||||
<li><code>filter dryrun on</code> counts every <code>filter</code> verdict but forwards anyway.</li>
|
||||
</ul>
|
||||
<h2 id="diagnostics-and-operations">Diagnostics and operations</h2>
|
||||
<p>Every command of the fork, which builds have it and the defaults:
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/tth-commands.md">docs/tth-commands.md</a>.</p>
|
||||
<p>Repeater, room server and sensor (everything with a text console) have:</p>
|
||||
<ul>
|
||||
<li><strong>Radio watchdogs.</strong> The hardware watchdog only catches a frozen loop; two
|
||||
of our nodes were found deaf with the loop running, and only a reboot
|
||||
helped.</li>
|
||||
<li><code>set radio.silence <min></code> -- <strong>deaf receiver</strong>: when the received-frame
|
||||
counter does not move for <code><min></code> minutes (a frame with a CRC error
|
||||
counts), the node re-arms its receiver first and reboots if that does not
|
||||
help either. Each such reboot doubles the threshold for the next boot (up
|
||||
to 16x) and the first frame received resets it, so a quiet site does not
|
||||
end in a reboot loop. Saved; <strong>off by default</strong> (<code>0</code>) -- pick a threshold
|
||||
well above the longest normal quiet spell of the site.</li>
|
||||
<li><strong>Stalled TX</strong> (repeater only): packets wait in the queue and the sent
|
||||
counter does not move -> re-arm the radio, then reboot. An empty queue
|
||||
never counts. <strong>On, 15 min</strong> (<code>RADIO_TXSTALL_MIN</code>); <code>set radio.txstall
|
||||
<min>|off</code> holds until the next reboot.</li>
|
||||
<li><code>get radio.reboots</code> -- reboots done by the watchdogs (survives power
|
||||
loss); <code>get boot</code> -- why the board last reset, and the hardfault record
|
||||
(also printed at boot).</li>
|
||||
<li><code>dfu [uf2|serial|ota]</code> -- a deterministic reboot into the bootloader (local
|
||||
console only); <code>i2c</code> -- bus scan.</li>
|
||||
</ul>
|
||||
<p>The repeater also has:</p>
|
||||
<ul>
|
||||
<li><code>blink</code> (flashes the LED, also over the mesh -- finds a node on a mast),
|
||||
<code>txpwr</code> (TX power until reboot, with RadioLib's verdict), TX-failure
|
||||
counters in the status reply.</li>
|
||||
<li>Observer variants only (<code>*-observer</code>): text console over BLE next to USB,
|
||||
<code>ble <on|off></code> saved across reboots (<code>RPT_BLE_DEFAULT_OFF</code>: starts off), own
|
||||
BLE PIN (<code>ble pin</code>), persisted connection TX power (<code>blepwr</code>), <code>bleconn</code>, a
|
||||
non-blocking BLE TX pump and connection parameters that hold on a weak
|
||||
link.</li>
|
||||
<li>Also observer variants only: a passive analyzer in the console --
|
||||
<code>nodes</code> (heard repeaters/rooms, multi-path join key), <code>rxlog</code> (every frame
|
||||
heard, type/path/SNR/RSSI), <code>pktlog</code> (raw frames for an observer feed), big
|
||||
paged replies.</li>
|
||||
<li>Own builds only, not in the releases:</li>
|
||||
<li>channel bot (<code>BOT_CHANNEL_PSK</code>: <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>, per-sender
|
||||
cooldown, ignore list) -- answers without repeating;</li>
|
||||
<li><code>RADIO_DIAG</code>: <code>radiostat</code> (SX1262 receiver state, hands off) and
|
||||
<code>radiokick <rx|clrirq|standby|agc></code> (one recovery step at a time, gentlest
|
||||
first -- the first that helps names the broken layer);</li>
|
||||
<li><code>PIN_DIAG</code>: <code>dio1</code> (the chip's IRQ status against the level on the pin --
|
||||
which end of a dead DIO1 line is broken);</li>
|
||||
<li><code>LORA_POLL_IRQ</code>: DIO1-less operation for a board with a dead IRQ line.</li>
|
||||
</ul>
|
||||
<h2 id="core-fixes">Core fixes</h2>
|
||||
<ul>
|
||||
<li><strong>Replay protection of admin commands survives a reboot.</strong> Upstream keeps a
|
||||
client's last timestamp in RAM only, so after every restart any captured
|
||||
command is accepted again -- a captured <code>reboot</code> reboots the node forever.
|
||||
Repeater, room server and sensor now write it to flash before acting on the
|
||||
command (<code>/s_acl_ts0|1</code>, alternating with a checksum, so a power cut mid-write
|
||||
does not lose it). A timestamp more than a day ahead of the node's clock
|
||||
(<code>ACL_TS_MAX_AHEAD</code>) is accepted but not stored, so a companion with a runaway
|
||||
clock cannot lock its admin out. Only admins are stored: a guest can only
|
||||
read, and with the empty guest password anybody is one, so its every
|
||||
request would be a flash write. Nothing changes for clients.</li>
|
||||
<li><strong>Passwords can no longer be guessed over the air at full speed.</strong> Upstream
|
||||
checks every login without a limit and does not even answer a wrong one.
|
||||
After 4 wrong passwords within 3 minutes (<code>LOGIN_FAIL_MAX</code>,
|
||||
<code>LOGIN_FAIL_SECS</code>) no password is checked until the window ends. A client
|
||||
that is already an admin in the ACL always gets through -- nobody else can
|
||||
send a login in its name, so the attack cannot lock the admins out.</li>
|
||||
<li><strong>A replayed blank-password login no longer floods a reply.</strong> A login from a
|
||||
client in the ACL with an empty password had no replay check; replayed, it
|
||||
gained nothing, but every copy made the node flood its reply over the mesh.</li>
|
||||
<li>TRACE no longer appends its path past the end of the payload; TRACE/PATH
|
||||
parsing and <code>Packet::readFrom</code> are bounds-checked.</li>
|
||||
<li><code>markSeen</code> is idempotent again (the send path was eating the dedup window).</li>
|
||||
<li><code>calcMaxPacketMillis</code> fallback no longer underflows (a node went deaf on it).</li>
|
||||
<li>Path-hash width comes from the node's prefs on every TX path, including
|
||||
<code>sendZeroHop</code>; 2-byte path hashes are the default (<code>PATH_HASH_MODE_DEFAULT</code>).</li>
|
||||
<li>Failed transmits are re-queued with backoff instead of dropped.</li>
|
||||
<li><strong>An nRF52 node's time no longer jumps 4.5 h ahead.</strong> The FreeRTOS tick
|
||||
handler of the Adafruit core added 2^24 ticks at once when the tick count
|
||||
was even one tick ahead of the 24-bit RTC: <code>millis()</code>, uptime, airtime and
|
||||
the node's clock jumped 16384 s, sometimes several times within minutes, and
|
||||
the node sent adverts dated up to 18 h ahead. The framework is therefore our
|
||||
fork <a href="https://git.rfa.cz/tth-pub/Adafruit_nRF52_Arduino">tth-pub/Adafruit_nRF52_Arduino</a>
|
||||
(meshcore-dev + this fix).</li>
|
||||
<li>Per-packet RSSI captured at RX; <code>ContactInfo</code> zeroed before a partial fill.</li>
|
||||
</ul>
|
||||
<h2 id="power-clock-gps">Power, clock, GPS</h2>
|
||||
<ul>
|
||||
<li>GPS duty cycle (<code>gps duty</code>), also on the T1000-E, which had none: the
|
||||
receiver runs only around a clock sync (once a day, after a window without
|
||||
a fix again in 6 h). A position request warms it for the next request.</li>
|
||||
<li>A node without GPS starts at its build epoch, not in 2024; the clock and a
|
||||
hardfault record survive a warm reset (<code>.noinit</code>); <code>clkreboot</code>.</li>
|
||||
<li>No blinking LED and slower BLE advertising on solar nodes.</li>
|
||||
<li>Battery level as an icon at the end of the advertised name: <code>set batt.icon
|
||||
on</code>, thresholds <code>set batt.icon.lo <mV></code> and <code>set batt.icon.hi <mV></code> (off by default; a long name has
|
||||
no room for it and the command says so).</li>
|
||||
<li>Optional RX duty cycle (<code>set radio.rxps <off|on|balanced|max></code>, finer
|
||||
<code>set radio.rxps level <level></code> 1-10; ported from EasySkyMesh PowerSaving): the SX1262 sleeps
|
||||
between short listening windows. Built into the public releases and
|
||||
<strong>off</strong>; <code>max</code> saved ~2.3 mA on the bench with no packet loss
|
||||
(<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>), but on the live mesh one of our masts lost
|
||||
16 % of its reception -- switch it on with care. SX1262 only, not the LR1110
|
||||
(T1000-E).</li>
|
||||
<li>The nRF52 boot undervoltage lock (<code>PWRMGT_VOLTAGE_BOOTLOCK</code>) is <strong>off</strong>,
|
||||
as in upstream since v1.18.0
|
||||
(<a href="https://github.com/meshcore-dev/MeshCore/pull/2377">#2377</a>): its fixed
|
||||
3.3 V threshold kept LiFePO4 and LTO nodes from booting. The firmware boots
|
||||
on any cell chemistry; deep-discharge protection is up to the BMS or the
|
||||
cell's protection board. A configurable, chemistry-aware lock is waiting
|
||||
for upstream (<a href="https://github.com/meshcore-dev/MeshCore/pull/2088">#2088</a>). The exception
|
||||
is <code>SenseCap_Solar_repeater</code> (Li-ion, our masts): the lock is on and both
|
||||
thresholds are settable at runtime, also as an admin over the mesh --
|
||||
<code>set pwr.bootlock <mV></code> or <code>off</code> (default 3300; below it the node does not start
|
||||
and sleeps until the cell recovers) and <code>set pwr.cutoff <mV></code> or <code>off</code> (default
|
||||
off; below it a running node switches off); <code>get pwr</code>
|
||||
(<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/power.md">docs/power.md</a>).</li>
|
||||
</ul>
|
||||
<h2 id="sensors-and-companions">Sensors and companions</h2>
|
||||
<ul>
|
||||
<li><code>simple_sensor</code>: telemetry from an external station over UART
|
||||
(<code>BudkaLinkSensorManager</code>, one LPP channel per meter), <code>sensor read</code>.</li>
|
||||
<li>Sensors that would otherwise convert continuously (INA219, INA226, INA260,
|
||||
INA3221, BMP280) sleep between telemetry reads and measure on demand (idea
|
||||
and first INA219 patch: Alkel Brostl). INA chips are told apart by their ID,
|
||||
so an INA226 is no longer taken for an INA219. The shunt (INA219, INA226,
|
||||
INA3221; the INA260 has it inside) is set at runtime and saved:
|
||||
<code>sensor set ina.shunt <mOhm></code>.</li>
|
||||
<li>Companion: <code>gps duty</code> persists, bounded build-date copy. Private key
|
||||
export, reading the BLE PIN and changing it (CLI <code>set pin</code> included) work
|
||||
only over paired BLE, never over USB, a UART or WiFi/TCP, and the reply that
|
||||
carries the key or PIN goes back only where the request came from. (The
|
||||
v1.17 merge had silently disabled that gate; a build without BLE still
|
||||
trusts its one transport.) KISS modem: off-by-one in the name clamp.</li>
|
||||
</ul>
|
||||
<h2 id="public-builds-czech-mesh-defaults">Public builds: Czech mesh defaults</h2>
|
||||
<p>Releases built from this repository (<code>pub-release</code>) come preset for the
|
||||
Czech mesh, following the <a href="https://meshcore.cz/">meshcore.cz</a> wiki, so a
|
||||
freshly flashed node does not need the usual round of settings:</p>
|
||||
<ul>
|
||||
<li>radio 869.432 MHz / 62.5 kHz / SF7 / CR5 (all builds);</li>
|
||||
<li>repeater and room server: zero-hop advert off, flood advert every 25 h,
|
||||
10 % duty cycle (<code>get dutycycle</code> → <code>10.0%</code>; the deprecated <code>af</code> reads 9);</li>
|
||||
<li>repeater: regions <code>cz</code> and <code>cs</code> next to <code>*</code> -- add your own <code>cz-<kraj></code>
|
||||
with <code>region put cz-xxx cz</code> + <code>region save</code>;</li>
|
||||
<li>2-byte path hashes (this fork's default);</li>
|
||||
<li>repeater: the channel filter (<code>filter add <name></code>) is built in for Public,
|
||||
<code>#meshcore</code> and <code>#test</code>, with an empty list -- it does nothing until you
|
||||
add a name.</li>
|
||||
</ul>
|
||||
<p>They apply only to a node with no saved settings (new, or after an erase):
|
||||
a reflash keeps whatever the node already has, and regions you removed and
|
||||
saved stay removed. Set a name and an admin password yourself.</p>
|
||||
<p><strong>The companion's BLE PIN is the public <code>123456</code></strong> (boards with a display
|
||||
draw their own and show it). Whoever pairs with it owns the companion:
|
||||
messages, contacts, private key export. So change it in the app after the
|
||||
first pairing. And with the board in hand neither the PIN nor a password
|
||||
protects anything: the flash is not locked and the bootloader takes any
|
||||
firmware. Treat a lost or stolen node as compromised -- for a repeater,
|
||||
change the admin password wherever it was the same and drop its key from
|
||||
ACLs; for a companion, treat the channels it held as known.</p>
|
||||
<p>Observer variants (<code>*_repeater-observer-*</code>) of the nRF52 repeaters (XIAO,
|
||||
SenseCAP Solar, RAK4631, T1000-E, Heltec T114) add the <code>nodes</code> / <code>rxlog</code> /
|
||||
<code>pktlog</code> rings and a text console over BLE, for reading the repeater over
|
||||
USB or BLE (<a href="https://git.rfa.cz/tth-pub/meshcore-repeater-observer">meshcore-repeater-observer</a>).
|
||||
The BLE console is <strong>off</strong> after flashing (<code>RPT_BLE_DEFAULT_OFF</code>). It has no
|
||||
login of its own, only the BLE PIN, and the build's PIN is the public
|
||||
placeholder <code>123456</code>. So first set your own -- in the USB console, or as
|
||||
admin over the mesh (remote CLI in the app): <code>ble pin <6 digits></code> (saved, survives a reboot and a reflash; it also drops
|
||||
every existing bond, so paired devices pair again). Only then <code>ble on</code> --
|
||||
these builds refuse it while the PIN is still the placeholder. <code>ble</code> shows
|
||||
whether the PIN is <code>own</code> or <code>build default</code>, never the PIN itself. Releases
|
||||
up to <code>tth-654d53f3</code> do not have <code>ble pin</code>: keep BLE off there and use USB.</p>
|
||||
<h2 id="flashing-a-release">Flashing a release</h2>
|
||||
<p>Every release is an automatic build on upstream <code>dev</code> (see the warning
|
||||
above), not a stable version. Flash it only on nodes you can reach, and each
|
||||
new release on one of them first.</p>
|
||||
<p>Files are in <a href="https://git.rfa.cz/tth-pub/meshcore-tth/releases">Releases</a>.
|
||||
A release is named after the upstream version and the date, e.g.
|
||||
<code>v1.18.0+tth.20261112</code> (a second one that day <code>.2</code>), and its notes list the
|
||||
changes since the previous release. One set per board and role
|
||||
(<code><board>_<role>-<release></code>, e.g. <code>Xiao_nrf52_repeater-v1.18.0+tth.20261112.zip</code>):
|
||||
<code>.zip</code> and <code>.uf2</code> for nRF52 boards, <code>.bin</code> for ESP32 (<code>-merged.bin</code> is the
|
||||
full image for a blank board, the plain <code>.bin</code> an update). <code>SHA256SUMS</code> lists
|
||||
the checksums. Releases up to 12. 11. 2026 were named <code>tth-<sha></code>.</p>
|
||||
<p><strong>nRF52 (XIAO, RAK4631, SenseCAP Solar, T1000-E, T114) with the
|
||||
<a href="https://flasher.meshcore.io">MeshCore web flasher</a></strong> -- Chrome, Edge or
|
||||
Chromium on a computer (Web Serial; not Firefox or Safari):</p>
|
||||
<ol>
|
||||
<li>Connect the board over USB.</li>
|
||||
<li>Click <strong>Custom Firmware</strong> and choose the <code>.zip</code> for your board.</li>
|
||||
<li>Click <strong>Enter DFU mode</strong> and pick the board's serial port. The board
|
||||
restarts into its bootloader and shows up as a new port.</li>
|
||||
<li>Click <strong>Flash!</strong> and pick that new port. About 30 s, then the board
|
||||
restarts into the new firmware.</li>
|
||||
<li><strong>Console</strong> in the flasher (or any serial terminal, 115200) checks the
|
||||
result: <code>ver</code> shows <code>v1.xx.x-tth<sha></code>, the same as the "Verze v uzlu"
|
||||
(node version) line in the release notes.</li>
|
||||
</ol>
|
||||
<p><strong>Do not click Erase Flash</strong> unless you want a new node: it wipes the
|
||||
identity (the node's key and everything that knows it) together with all
|
||||
settings. A plain flash keeps them.</p>
|
||||
<p>Tried on a XIAO (repeater-observer, 3. 11. 2026). ESP32 <code>.bin</code> through the
|
||||
same Custom Firmware button is untested here.</p>
|
||||
<p>Without the web flasher: on most boards a double-tap of reset opens the
|
||||
bootloader as a USB drive; copy the <code>.uf2</code> onto it. Or
|
||||
<code>adafruit-nrfutil dfu serial -pkg <file>.zip -p <port> -b 115200</code> with the
|
||||
board in the bootloader.</p>
|
||||
<p>After flashing a new node, set it up in the console: <code>set name <name></code>,
|
||||
<code>password <admin password></code> (at most 15 characters), your own region with
|
||||
<code>region put cz-<kraj> cz</code> + <code>region save</code>. A repeater forwards from its
|
||||
first boot (upstream default) and these builds are on the live CZ frequency:
|
||||
on a desk without its antenna, <code>set repeat off</code> until it is in place.</p>
|
||||
<h2 id="experimental-firmware-update-pushed-by-the-admin-ota">Experimental: firmware update pushed by the admin (<code>*-ota</code>)</h2>
|
||||
<p>Every nRF52 build with a text console (repeater, observer, room server,
|
||||
sensor) is in the release once more as an <strong>experimental</strong> <code>*-ota</code> /
|
||||
<code>*-observer-ota</code> image. It takes a new firmware from its admin with the
|
||||
<code>fw …</code> commands: on the USB or BLE console, or <strong>over the mesh as remote admin
|
||||
CLI</strong>. No bootloader change, no second bank: the node stores the package in
|
||||
free flash, checks all of it (signature, hashes, the delta applied dry) and
|
||||
rewrites itself only on <code>fw apply</code>, from a routine running in RAM. A power
|
||||
cut during the rewrite leaves it in the bootloader, back via USB/BLE DFU.</p>
|
||||
<ul>
|
||||
<li>Each <code>*-ota</code> image comes with a full package
|
||||
<code><board>_<role>-ota-<release>.mcfw</code> (USB/BLE only) and a delta
|
||||
<code>….from-<earlier release>.mcfw</code> from every kept earlier release, typically
|
||||
a few kB.</li>
|
||||
<li><strong>Over the mesh a node takes only a delta, and never an older version than
|
||||
it runs</strong> -- enforced by the node, not by the tool. A full image or a step
|
||||
back only locally (<code>fw apply downgrade</code>). <code>fw apply</code> wants the battery at
|
||||
3.8 V or more unless the node runs on USB.</li>
|
||||
<li>Packages and <code>SHA256SUMS</code> are signed by <code>meshcore-ota@tth-pub</code>, and an
|
||||
<code>*-ota</code> image accepts no other signature. Checking the downloads:
|
||||
<code>ssh-keygen -Y verify -f tools/ota_allowed_signers -I meshcore-ota@tth-pub
|
||||
-n meshcore-ota -s SHA256SUMS.sig < SHA256SUMS</code>. Your own build with your own
|
||||
key: <code>[ota] pubkey</code> in <code>platformio.local.ini</code>.</li>
|
||||
<li>The first <code>*-ota</code> image is flashed the usual way (above), later ones go as
|
||||
deltas. Tools: <code>tools/ota_push.py</code> (USB), <code>tools/ota_mesh_push.py</code> (over the
|
||||
mesh through a companion; needs the <code>meshcore</code> Python library, takes the
|
||||
admin password from <code>[secrets] admin_pw</code> in <code>platformio.local.ini</code>; <code>--side</code>
|
||||
carries the transfer on a side channel, off the shared mesh),
|
||||
<code>tools/ota_pack.py info</code>. The transfer itself is the OTA engine of the
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-ansible">tth.meshcore</a> Ansible
|
||||
collection (module <code>meshcore_fw_ota</code>), one code for the tools and Ansible.
|
||||
From a phone: the <a href="https://git.rfa.cz/tth-pub/meshcore-open">meshcore-open</a>
|
||||
fork, repeater management → Firmware update (OTA), which finds the delta in
|
||||
the release by itself. How it works and bench numbers:
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/ota.md">docs/ota.md</a>.</li>
|
||||
<li><strong>Experimental even within this fork</strong>: the images come with every
|
||||
release (see the warning above) and have no second bank and no automatic
|
||||
rollback. A bad firmware that boots keeps running until you push the next
|
||||
one; one that does not boot needs USB/BLE DFU in hand. Tried on the bench
|
||||
(XIAO, USB, mesh, side channel) and on two of our masts since 13. 11. 2026.
|
||||
The radio watchdogs (see Diagnostics and operations) catch an image that
|
||||
boots with a dead radio: switch <code>set radio.silence</code> on for nodes you push
|
||||
to. Costs ~10 kB of RAM.</li>
|
||||
</ul>
|
||||
<h2 id="build">Build</h2>
|
||||
<ul>
|
||||
<li>Version stamping in every nRF52 env (<code>v1.18.0-tth<sha></code>, <code>+</code> = dirty tree),
|
||||
base version from the upstream tag (<code>tools/build_version.py</code>).</li>
|
||||
<li><code>tools/</code>: host tools for the nodes -- consoles (USB, BLE), flashing, bench
|
||||
tests, diagnostics (<a href="https://git.rfa.cz/tth-pub/meshcore-tth/src/branch/main/tools/README.md">tools/README.md</a>). Board names come
|
||||
from a local config outside the repo (<code>tools/config.example.ini</code>).</li>
|
||||
<li><code>hardware/cavity-box</code>: parametric enclosure for a cavity filter on a mast.</li>
|
||||
</ul>
|
||||
<hr />
|
||||
<p><em>Níže je README upstreamového MeshCore. Jeho flasher, klienti a návody se
|
||||
týkají oficiálního firmwaru, ne releasů tohoto forku. / Below is upstream
|
||||
MeshCore's README: its flasher, clients and guides refer to the official
|
||||
firmware, not to this fork's releases.</em></p>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Vendored
+4435
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"bootstrap.js","sources":["../../js/src/util.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/carousel.js","../../js/src/collapse.js","../../js/src/dropdown.js","../../js/src/modal.js","../../js/src/tools/sanitizer.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js","../../js/src/index.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): util.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * ------------------------------------------------------------------------\n * Private TransitionEnd Helpers\n * ------------------------------------------------------------------------\n */\n\nconst TRANSITION_END = 'transitionend'\nconst MAX_UID = 1000000\nconst MILLISECONDS_MULTIPLIER = 1000\n\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\nfunction toType(obj) {\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\nfunction getSpecialTransitionEndEvent() {\n return {\n bindType: TRANSITION_END,\n delegateType: TRANSITION_END,\n handle(event) {\n if ($(event.target).is(this)) {\n return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params\n }\n return undefined // eslint-disable-line no-undefined\n }\n }\n}\n\nfunction transitionEndEmulator(duration) {\n let called = false\n\n $(this).one(Util.TRANSITION_END, () => {\n called = true\n })\n\n setTimeout(() => {\n if (!called) {\n Util.triggerTransitionEnd(this)\n }\n }, duration)\n\n return this\n}\n\nfunction setTransitionEndSupport() {\n $.fn.emulateTransitionEnd = transitionEndEmulator\n $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent()\n}\n\n/**\n * --------------------------------------------------------------------------\n * Public Util Api\n * --------------------------------------------------------------------------\n */\n\nconst Util = {\n\n TRANSITION_END: 'bsTransitionEnd',\n\n getUID(prefix) {\n do {\n // eslint-disable-next-line no-bitwise\n prefix += ~~(Math.random() * MAX_UID) // \"~~\" acts like a faster Math.floor() here\n } while (document.getElementById(prefix))\n return prefix\n },\n\n getSelectorFromElement(element) {\n let selector = element.getAttribute('data-target')\n\n if (!selector || selector === '#') {\n const hrefAttr = element.getAttribute('href')\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''\n }\n\n try {\n return document.querySelector(selector) ? selector : null\n } catch (err) {\n return null\n }\n },\n\n getTransitionDurationFromElement(element) {\n if (!element) {\n return 0\n }\n\n // Get transition-duration of the element\n let transitionDuration = $(element).css('transition-duration')\n let transitionDelay = $(element).css('transition-delay')\n\n const floatTransitionDuration = parseFloat(transitionDuration)\n const floatTransitionDelay = parseFloat(transitionDelay)\n\n // Return 0 if element or transition duration is not found\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0\n }\n\n // If multiple durations are defined, take the first\n transitionDuration = transitionDuration.split(',')[0]\n transitionDelay = transitionDelay.split(',')[0]\n\n return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n },\n\n reflow(element) {\n return element.offsetHeight\n },\n\n triggerTransitionEnd(element) {\n $(element).trigger(TRANSITION_END)\n },\n\n // TODO: Remove in v5\n supportsTransitionEnd() {\n return Boolean(TRANSITION_END)\n },\n\n isElement(obj) {\n return (obj[0] || obj).nodeType\n },\n\n typeCheckConfig(componentName, config, configTypes) {\n for (const property in configTypes) {\n if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n const expectedTypes = configTypes[property]\n const value = config[property]\n const valueType = value && Util.isElement(value)\n ? 'element' : toType(value)\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(\n `${componentName.toUpperCase()}: ` +\n `Option \"${property}\" provided type \"${valueType}\" ` +\n `but expected type \"${expectedTypes}\".`)\n }\n }\n }\n },\n\n findShadowRoot(element) {\n if (!document.documentElement.attachShadow) {\n return null\n }\n\n // Can find the shadow root otherwise it'll return the document\n if (typeof element.getRootNode === 'function') {\n const root = element.getRootNode()\n return root insLine truncated
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Bootstrap v4.3.1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t=t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,g,u){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function l(o){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(t){var e,n,i;e=o,i=r[n=t],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return o}g=g&&g.hasOwnProperty("default")?g.default:g,u=u&&u.hasOwnProperty("default")?u.default:u;var e="transitionend";function n(t){var e=this,n=!1;return g(this).one(_.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||_.triggerTransitionEnd(e)},t),this}var _={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=g(t).css("transition-duration"),n=g(t).css("transition-delay"),i=parseFloat(e),o=parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){g(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],s=r&&_.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?_.findShadowRoot(t.parentNode):null;var e=t.getRootNode();return e instanceof ShadowRoot?e:null}};g.fn.emulateTransitionEnd=n,g.event.special[_.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(g(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var o="alert",r="bs.alert",a="."+r,c=g.fn[o],h={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},f="alert",d="fade",m="show",p=function(){function i(t){this._element=t}var t=i.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){g.removeData(this._element,r),this._element=null},t._getRootElement=function(t){var e=_.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=g(t).closest("."+f)[0]),n},t._triggerCloseEvent=function(t){var e=g.Event(h.CLOSE);return g(t).trigger(e),e},t._removeElement=function(e){var n=this;if(g(e).removeClass(m),g(e).hasClass(d)){var t=_.getTransitionDurationFromElement(e);g(e).one(_.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t)}else this._destroyElement(e)},t._destroyElement=function(t){g(t).detach().trigger(h.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var t=g(this),e=t.data(r);e||(e=new i(this),t.data(r,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();g(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',p._handleDismiss(new p)),g.fn[o]=p._jQueryInterface,g.fn[o].Constructor=p,g.fn[o].noConflict=function(){return g.fn[o]=c,p._jQueryInterface};var v="button",y="bs.button",E="."+y,C=".data-api",T=g.fn[v],S="active",b="btn",I="focus",D='[data-toggle^="button"]',w='[data-toggle="buttons"]',A='input:not([type="hidden"])',N=".active",O=".btn",k={CLICK_DATA_API:"click"+E+C,FOCUS_BLUR_DATA_API:"focus"+E+C+" blur"+E+C},P=function(){function n(t){this._element=t}var t=n.prototype;return t.toggle=function(){var t=!0,e=!0,n=g(this._element).closest(w)[0];if(n){var i=this._element.querySelector(A);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(S))t=!1;else{var o=n.querySelector(N);o&&g(o).removeClass(S)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(S),g(i).trigger("chLine truncated
|
||||
//# sourceMappingURL=bootstrap.min.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../js/src/util.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/carousel.js","../../js/src/collapse.js","../../js/src/dropdown.js","../../js/src/modal.js","../../js/src/tools/sanitizer.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js","../../js/src/index.js"],"names":["TRANSITION_END","transitionEndEmulator","duration","_this","this","called","$","one","Util","setTimeout","triggerTransitionEnd","getUID","prefix","Math","random","document","getElementById","getSelectorFromElement","element","selector","getAttribute","hrefAttr","trim","querySelector","err","getTransitionDurationFromElement","transitionDuration","css","transitionDelay","floatTransitionDuration","parseFloat","floatTransitionDelay","split","reflow","offsetHeight","trigger","supportsTransitionEnd","Boolean","isElement","obj","nodeType","typeCheckConfig","componentName","config","configTypes","property","Object","prototype","hasOwnProperty","call","expectedTypes","value","valueType","toString","match","toLowerCase","RegExp","test","Error","toUpperCase","findShadowRoot","documentElement","attachShadow","getRootNode","ShadowRoot","parentNode","root","fn","emulateTransitionEnd","event","special","bindType","delegateType","handle","target","is","handleObj","handler","apply","arguments","NAME","DATA_KEY","EVENT_KEY","JQUERY_NO_CONFLICT","Event","CLOSE","CLOSED","CLICK_DATA_API","ClassName","Alert","_element","close","rootElement","_getRootElement","_triggerCloseEvent","isDefaultPrevented","_removeElement","dispose","removeData","parent","closest","closeEvent","removeClass","hasClass","_destroyElement","detach","remove","_jQueryInterface","each","$element","data","_handleDismiss","alertInstance","preventDefault","on","Constructor","noConflict","DATA_API_KEY","Selector","FOCUS_BLUR_DATA_API","Button","toggle","triggerChangeEvent","addAriaPressed","input","type","checked","classList","contains","activeElement","hasAttribute","focus","setAttribute","toggleClass","button","Default","interval","keyboard","slide","pause","wrap","touch","DefaultType","Direction","SLIDE","SLID","KEYDOWN","MOUSEENTER","MOUSELEAVE","TOUCHSTART","TOUCHMOVE","TOUCHEND","POINTERDOWN","POINTERUP","DRAG_START","LOAD_DATA_API","PointerType","TOUCH","PEN","Carousel","_items","_interval","_activeElement","_isPaused","_isSliding","touchTimeout","touchStartX","touchDeltaX","_config","_getConfig","_indicatorsElement","_touchSupported","navigator","maxTouchPoints","_pointerEvent","window","PointerEvent","MSPointerEvent","_addEventListeners","next","_slide","nextWhenVisible","hidden","prev","cycle","clearInterval","setInterval","visibilityState","bind","to","index","activeIndex","_getItemIndex","length","direction","off","_objectSpread","_handleSwipe","absDeltax","abs","_this2","_keydown","_addTouchEventListeners","_this3","start","originalEvent","pointerType","clientX","touches","end","clearTimeout","querySelectorAll","e","add","tagName","which","slice","indexOf","_getItemByDirection","isNextDirection","isPrevDirection","lastItemIndex","itemIndex","_triggerSlideEvent","relatedTarget","eventDirectionName","targetIndex","fromIndex","slideEvent","from","_setActiveIndicatorElement","indicators","nextIndicator","children","addClass","directionalClassName","orderClassName","_this4","activeElementIndex","nextElement","nextElementIndex","isCycling","slidEvent","nextElementInterval","parseInt","defaultInterval","action","TypeError","ride","_dataApiClickHandler","slideIndex","carousels","i","len","$carousel","SHOW","SHOWN","HIDE","HIDDEN","Dimension","Collapse","_isTransitioning","_triggerArray","id","toggleList","elem","filterElement","filter","foundElem","_selector","push","_parent","_getParent","_addAriaAndCollapsedClass","hide","show","actives","activesData","not","startEvent","dimension","_getDimension","style","attr","setTransitioning","scrollSize","getBoundingClientRect","triggerArrayLength","isTransitioning","jquery","_getTargetFromElement","triggerArray","isOpen","$this","currentTarget","$trigger","selectors","$target","REGEXP_KEYDOWN","ARROW_UP_KEYCODE","CLICK","KEYDOWN_DATA_API","KEYUP_DATA_API","AttachmentMap","offset","flip","boundary","reference","display","Dropdown","_popper","_menu","_getMenuElement","_inNavbar","_detectNavbar","disabled","_getParentFromElement","isActive","_clearMenus","showEvent","Popper","referenceElement","_getPopperConfig","body","noop","hideEvent","destroy","update","scheduleUpdate","stopPropagation","constructor","_getPlacement","$parentDropdown","placement","_getOffset","offsets","popperConfig","modifiers","enabled","preventOverflow","boundariesElement","applyStyle","toggles","context","clickEvent","dropdownMenu","_dataApiKeydownHandler","items","backdrop","FOCUSIN","RESIZE","CLICK_DISMISS","KEYDOWN_DISMISS","MOUSEUP_DISMISS","MOUSEDOWN_DISMISS","Modal","_dialog","_backdrop","_isShown","_isBodyOverflowing","_ignoreBackdropClick","_scrolLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
(function(window,undefined){var readyList,rootjQuery,core_strundefined=typeof undefined,location=window.location,document=window.document,docElem=document.documentElement,_jQuery=window.jQuery,_$=window.$,class2type={},core_deletedIds=[],core_version="1.10.1",core_concat=core_deletedIds.concat,core_push=core_deletedIds.push,core_slice=core_deletedIds.slice,core_indexOf=core_deletedIds.indexOf,core_toString=class2type.toString,core_hasOwn=class2type.hasOwnProperty,core_trim=core_version.trim,jQuery=function(selector,context){return new jQuery.fn.init(selector,context,rootjQuery)},core_pnum=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,core_rnotwhite=/\S+/g,rtrim=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,rquickExpr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,rsingleTag=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,rvalidchars=/^[\],:{}\s]*$/,rvalidbraces=/(?:^|:|,)(?:\s*\[)+/g,rvalidescape=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,rvalidtokens=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,rmsPrefix=/^-ms-/,rdashAlpha=/-([\da-z])/gi,fcamelCase=function(all,letter){return letter.toUpperCase()},completed=function(event){if(document.addEventListener||event.type==="load"||document.readyState==="complete"){detach();jQuery.ready()}},detach=function(){if(document.addEventListener){document.removeEventListener("DOMContentLoaded",completed,false);window.removeEventListener("load",completed,false)}else{document.detachEvent("onreadystatechange",completed);window.detachEvent("onload",completed)}};jQuery.fn=jQuery.prototype={jquery:core_version,constructor:jQuery,init:function(selector,context,rootjQuery){var match,elem;if(!selector){return this}if(typeof selector==="string"){if(selector.charAt(0)==="<"&&selector.charAt(selector.length-1)===">"&&selector.length>=3){match=[null,selector,null]}else{match=rquickExpr.exec(selector)}if(match&&(match[1]||!context)){if(match[1]){context=context instanceof jQuery?context[0]:context;jQuery.merge(this,jQuery.parseHTML(match[1],context&&context.nodeType?context.ownerDocument||context:document,true));if(rsingleTag.test(match[1])&&jQuery.isPlainObject(context)){for(match in context){if(jQuery.isFunction(this[match])){this[match](context[match])}else{this.attr(match,context[match])}}}return this}else{elem=document.getElementById(match[2]);if(elem&&elem.parentNode){if(elem.id!==match[2]){return rootjQuery.find(selector)}this.length=1;this[0]=elem}this.context=document;this.selector=selector;return this}}else if(!context||context.jquery){return(context||rootjQuery).find(selector)}else{return this.constructor(context).find(selector)}}else if(selector.nodeType){this.context=this[0]=selector;this.length=1;return this}else if(jQuery.isFunction(selector)){return rootjQuery.ready(selector)}if(selector.selector!==undefined){this.selector=selector.selector;this.context=selector.context}return jQuery.makeArray(selector,this)},selector:"",length:0,toArray:function(){return core_slice.call(this)},get:function(num){return num==null?this.toArray():num<0?this[this.length+num]:this[num]},pushStack:function(elems){var ret=jQuery.merge(this.constructor(),elems);ret.prevObject=this;ret.context=this.context;return ret},each:function(callback,args){return jQuery.each(this,callback,args)},ready:function(fn){jQuery.ready.promise().done(fn);return this},slice:function(){return this.pushStack(core_slice.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(i){var len=this.length,j=+i+(i<0?len:0);return this.pushStack(j>=0&&j<len?[this[j]]:[])},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},end:function(){return this.prevObject||this.constructor(null)},push:core_push,sort:[].sort,splice:[].splice};jQuery.fn.init.prototype=jQuery.fn;jQuery.extend=jQuery.fn.extend=function(){var src,copyIsArray,copy,name,options,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=false;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2}if(typeof target!=="object"&&!jQuery.isFunction(target)){target={}}if(length===i){target=this;--i}for(;i<length;i++){if((options=arguments[i])!=null){for(name in options){src=target[name];copy=options[name];if(target===copy){continue}if(deep&©&&(jQuery.isPlainObject(copy)||(copyIsArray=jQuery.isArray(copy)))){if(copyIsArray){copyIsArray=false;clone=src&&jQuery.isArray(src)?src:[]}else{clone=src&&jQuery.isPlainObject(src)?src:{}}target[name]=jQuery.extend(deep,clone,copy)}else if(copy!==undefined){target[name]=copy}}}}return target};jQuery.extend({expando:"jQuery"+(core_version+Math.random()).replace(/\D/g,""),noConflict:function(deep){if(window.$===jQuery){window.$=_$}if(deep&&window.jQuery===jQuery){window.jQuery=_jQuery}return jQuery},isReady:false,readyWait:1,holdReady:function(hold){if(hold){jQuery.readyWait++}else{jQuery.ready(true)}},ready:function(wait){if(wait===true?--jQuery.readyWait:jQuery.isReady){return}if(!document.body){return setTimeout(jQueryLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["jquery-1.10.1/jquery-1.10.1.js"],"names":["window","undefined","readyList","rootjQuery","core_strundefined","location","document","docElem","documentElement","_jQuery","jQuery","_$","$","class2type","core_deletedIds","core_version","core_concat","concat","core_push","push","core_slice","slice","core_indexOf","indexOf","core_toString","toString","core_hasOwn","hasOwnProperty","core_trim","trim","selector","context","fn","init","core_pnum","source","core_rnotwhite","rtrim","rquickExpr","rsingleTag","rvalidchars","rvalidbraces","rvalidescape","rvalidtokens","rmsPrefix","rdashAlpha","fcamelCase","all","letter","toUpperCase","completed","event","addEventListener","type","readyState","detach","ready","removeEventListener","detachEvent","prototype","jquery","constructor","match","elem","this","charAt","length","exec","merge","parseHTML","nodeType","ownerDocument","test","isPlainObject","isFunction","attr","getElementById","parentNode","id","find","makeArray","toArray","call","get","num","pushStack","elems","ret","prevObject","each","callback","args","promise","done","apply","arguments","first","eq","last","i","len","j","map","end","sort","splice","extend","src","copyIsArray","copy","name","options","clone","target","deep","isArray","expando","Math","random","replace","noConflict","isReady","readyWait","holdReady","hold","wait","body","setTimeout","resolveWith","trigger","off","obj","Array","isWindow","isNumeric","isNaN","parseFloat","isFinite","String","key","e","support","ownLast","isEmptyObject","error","msg","Error","data","keepScripts","parsed","scripts","createElement","buildFragment","remove","childNodes","parseJSON","JSON","parse","Function","parseXML","xml","tmp","DOMParser","parseFromString","ActiveXObject","async","loadXML","getElementsByTagName","noop","globalEval","execScript","camelCase","string","nodeName","toLowerCase","value","isArraylike","text","arr","results","Object","inArray","max","second","l","grep","inv","retVal","arg","guid","proxy","access","chainable","emptyGet","raw","bulk","now","Date","getTime","swap","old","style","Deferred","attachEvent","top","frameElement","doScroll","doScrollCheck","split","cachedruns","Expr","getText","isXML","compile","outermostContext","sortInput","setDocument","documentIsHTML","rbuggyQSA","rbuggyMatches","matches","contains","preferredDoc","dirruns","classCache","createCache","tokenCache","compilerCache","hasDuplicate","sortOrder","strundefined","MAX_NEGATIVE","hasOwn","pop","push_native","booleans","whitespace","characterEncoding","identifier","attributes","pseudos","RegExp","rcomma","rcombinators","rsibling","rattributeQuotes","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rnative","rinputs","rheader","rescape","runescape","funescape","_","escaped","escapedWhitespace","high","fromCharCode","els","Sizzle","seed","m","groups","nid","newContext","newSelector","getElementsByClassName","qsa","tokenize","getAttribute","setAttribute","toSelector","join","querySelectorAll","qsaError","removeAttribute","select","isNative","keys","cache","cacheLength","shift","markFunction","assert","div","removeChild","addHandle","attrs","handler","current","setHandle","attrHandle","boolHandler","val","getAttributeNode","specified","interpolationHandler","valueHandler","defaultValue","siblingCheck","a","b","cur","diff","sourceIndex","nextSibling","createInputPseudo","createButtonPseudo","createPositionalPseudo","argument","matchIndexes","node","doc","parent","parentWindow","innerHTML","firstChild","className","input","appendChild","createComment","getById","getElementsByName","filter","attrId","tag","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","sortDetached","div1","compare","aup","ap","bp","unshift","expr","elements","uniqueSort","duplicates","detectDuplicates","sortStable","textContent","nodeValue","selectors","createPseudo","relative",">","dir"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","what","simple","forward","ofType","outerCache","nodeIndex","start","useCache","lastChild","pseudo","setFilters","idx","matched","not","matcher","unmatched","has","innerText","lang","elemLang","hash","root","focus","activeElement","hasFocus","href","tabIndex","enabled","disabled","checked","selected","selectedIndex","empty","header","button","even","odd","lt","gt","radio","checkbox","file","password","image","submit","reset","parseOnly","tokens","soFar","preFilters","cached","addCombinator","combinator","base","checkNonElements","doneName","dirkey","elementMatcher","matchers","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","multipleContexts","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContexLine truncated
|
||||
@@ -0,0 +1,26 @@
|
||||
Copyright © 2014-present, Tom Christie. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or
|
||||
without modification, are permitted provided that the following
|
||||
conditions are met:
|
||||
|
||||
Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
||||
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1,284 @@
|
||||
function getSearchTerm() {
|
||||
var sPageURL = window.location.search.substring(1);
|
||||
var sURLVariables = sPageURL.split('&');
|
||||
for (var i = 0; i < sURLVariables.length; i++) {
|
||||
var sParameterName = sURLVariables[i].split('=');
|
||||
if (sParameterName[0] == 'q') {
|
||||
return sParameterName[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function applyTopPadding() {
|
||||
// Update various absolute positions to match where the main container
|
||||
// starts. This is necessary for handling multi-line nav headers, since
|
||||
// that pushes the main container down.
|
||||
var offset = $('body > .container').offset();
|
||||
$('html').css('scroll-padding-top', offset.top + 'px');
|
||||
$('.bs-sidebar.affix').css('top', offset.top + 'px');
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
applyTopPadding();
|
||||
|
||||
var search_term = getSearchTerm(),
|
||||
// $keyboard_modal = $('#mkdocs_keyboard_modal'),
|
||||
$search_modal = $('#mkdocs_search_modal');
|
||||
|
||||
if (search_term) {
|
||||
$search_modal.modal();
|
||||
}
|
||||
|
||||
// make sure search input gets autofocus every time modal opens.
|
||||
$search_modal.on('shown.bs.modal', function() {
|
||||
$search_modal.find('#mkdocs-search-query').focus();
|
||||
});
|
||||
|
||||
// Close search modal when result is selected
|
||||
// The links get added later so listen to parent
|
||||
$('#mkdocs-search-results').click(function(e) {
|
||||
if ($(e.target).is('a')) {
|
||||
$search_modal.modal('hide');
|
||||
}
|
||||
});
|
||||
|
||||
// Populate keyboard modal with proper Keys
|
||||
// $keyboard_modal.find('.help.shortcut kbd')[0].innerHTML = keyCodes[shortcuts.help];
|
||||
// $keyboard_modal.find('.prev.shortcut kbd')[0].innerHTML = keyCodes[shortcuts.previous];
|
||||
// $keyboard_modal.find('.next.shortcut kbd')[0].innerHTML = keyCodes[shortcuts.next];
|
||||
// $keyboard_modal.find('.search.shortcut kbd')[0].innerHTML = keyCodes[shortcuts.search];
|
||||
|
||||
// Keyboard navigation
|
||||
document.addEventListener("keydown", function(e) {
|
||||
if ($(e.target).is(':input')) return true;
|
||||
var key = e.which || e.keyCode || window.event && window.event.keyCode;
|
||||
var page;
|
||||
switch (key) {
|
||||
case shortcuts.next:
|
||||
page = $('.navbar a[rel="next"]:first').prop('href');
|
||||
break;
|
||||
case shortcuts.previous:
|
||||
page = $('.navbar a[rel="prev"]:first').prop('href');
|
||||
break;
|
||||
case shortcuts.search:
|
||||
e.preventDefault();
|
||||
// $keyboard_modal.modal('hide');
|
||||
$search_modal.modal('show');
|
||||
$search_modal.find('#mkdocs-search-query').focus();
|
||||
break;
|
||||
case shortcuts.help:
|
||||
$search_modal.modal('hide');
|
||||
// $keyboard_modal.modal('show');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (page) {
|
||||
// $keyboard_modal.modal('hide');
|
||||
window.location.href = page;
|
||||
}
|
||||
});
|
||||
|
||||
$('table').addClass('table table-striped table-hover');
|
||||
|
||||
// Improve the scrollspy behaviour when users click on a TOC item.
|
||||
$(".bs-sidenav a").on("click", function() {
|
||||
var clicked = this;
|
||||
setTimeout(function() {
|
||||
var active = $('.nav li.active a');
|
||||
active = active[active.length - 1];
|
||||
if (clicked !== active) {
|
||||
$(active).parent().removeClass("active");
|
||||
$(clicked).parent().addClass("active");
|
||||
}
|
||||
}, 50);
|
||||
});
|
||||
|
||||
function showInnerDropdown(item) {
|
||||
var popup = $(item).next('.dropdown-menu');
|
||||
popup.addClass('show');
|
||||
$(item).addClass('open');
|
||||
|
||||
// First, close any sibling dropdowns.
|
||||
var container = $(item).parent().parent();
|
||||
container.find('> .dropdown-submenu > a').each(function(i, el) {
|
||||
if (el !== item) {
|
||||
hideInnerDropdown(el);
|
||||
}
|
||||
});
|
||||
|
||||
var popupMargin = 10;
|
||||
var maxBottom = $(window).height() - popupMargin;
|
||||
var bounds = item.getBoundingClientRect();
|
||||
|
||||
popup.css('left', bounds.right + 'px');
|
||||
if (bounds.top + popup.height() > maxBottom &&
|
||||
bounds.top > $(window).height() / 2) {
|
||||
popup.css({
|
||||
'top': (bounds.bottom - popup.height()) + 'px',
|
||||
'max-height': (bounds.bottom - popupMargin) + 'px',
|
||||
});
|
||||
} else {
|
||||
popup.css({
|
||||
'top': bounds.top + 'px',
|
||||
'max-height': (maxBottom - bounds.top) + 'px',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function hideInnerDropdown(item) {
|
||||
var popup = $(item).next('.dropdown-menu');
|
||||
popup.removeClass('show');
|
||||
$(item).removeClass('open');
|
||||
|
||||
popup.scrollTop(0);
|
||||
popup.find('.dropdown-menu').scrollTop(0).removeClass('show');
|
||||
popup.find('.dropdown-submenu > a').removeClass('open');
|
||||
}
|
||||
|
||||
$('.dropdown-submenu > a').on('click', function(e) {
|
||||
if ($(this).next('.dropdown-menu').hasClass('show')) {
|
||||
hideInnerDropdown(this);
|
||||
} else {
|
||||
showInnerDropdown(this);
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('.dropdown-menu').parent().on('hide.bs.dropdown', function(e) {
|
||||
$(this).find('.dropdown-menu').scrollTop(0);
|
||||
$(this).find('.dropdown-submenu > a').removeClass('open');
|
||||
$(this).find('.dropdown-menu .dropdown-menu').removeClass('show');
|
||||
});
|
||||
});
|
||||
|
||||
$(window).on('resize', applyTopPadding);
|
||||
|
||||
$('body').scrollspy({
|
||||
target: '.bs-sidebar',
|
||||
offset: 100
|
||||
});
|
||||
|
||||
/* Prevent disabled links from causing a page reload */
|
||||
$("li.disabled a").click(function() {
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
// See https://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes
|
||||
// We only list common keys below. Obscure keys are omitted and their use is discouraged.
|
||||
var keyCodes = {
|
||||
8: 'backspace',
|
||||
9: 'tab',
|
||||
13: 'enter',
|
||||
16: 'shift',
|
||||
17: 'ctrl',
|
||||
18: 'alt',
|
||||
19: 'pause/break',
|
||||
20: 'caps lock',
|
||||
27: 'escape',
|
||||
32: 'spacebar',
|
||||
33: 'page up',
|
||||
34: 'page down',
|
||||
35: 'end',
|
||||
36: 'home',
|
||||
37: '←',
|
||||
38: '↑',
|
||||
39: '→',
|
||||
40: '↓',
|
||||
45: 'insert',
|
||||
46: 'delete',
|
||||
48: '0',
|
||||
49: '1',
|
||||
50: '2',
|
||||
51: '3',
|
||||
52: '4',
|
||||
53: '5',
|
||||
54: '6',
|
||||
55: '7',
|
||||
56: '8',
|
||||
57: '9',
|
||||
65: 'a',
|
||||
66: 'b',
|
||||
67: 'c',
|
||||
68: 'd',
|
||||
69: 'e',
|
||||
70: 'f',
|
||||
71: 'g',
|
||||
72: 'h',
|
||||
73: 'i',
|
||||
74: 'j',
|
||||
75: 'k',
|
||||
76: 'l',
|
||||
77: 'm',
|
||||
78: 'n',
|
||||
79: 'o',
|
||||
80: 'p',
|
||||
81: 'q',
|
||||
82: 'r',
|
||||
83: 's',
|
||||
84: 't',
|
||||
85: 'u',
|
||||
86: 'v',
|
||||
87: 'w',
|
||||
88: 'x',
|
||||
89: 'y',
|
||||
90: 'z',
|
||||
91: 'Left Windows Key / Left ⌘',
|
||||
92: 'Right Windows Key',
|
||||
93: 'Windows Menu / Right ⌘',
|
||||
96: 'numpad 0',
|
||||
97: 'numpad 1',
|
||||
98: 'numpad 2',
|
||||
99: 'numpad 3',
|
||||
100: 'numpad 4',
|
||||
101: 'numpad 5',
|
||||
102: 'numpad 6',
|
||||
103: 'numpad 7',
|
||||
104: 'numpad 8',
|
||||
105: 'numpad 9',
|
||||
106: 'multiply',
|
||||
107: 'add',
|
||||
109: 'subtract',
|
||||
110: 'decimal point',
|
||||
111: 'divide',
|
||||
112: 'f1',
|
||||
113: 'f2',
|
||||
114: 'f3',
|
||||
115: 'f4',
|
||||
116: 'f5',
|
||||
117: 'f6',
|
||||
118: 'f7',
|
||||
119: 'f8',
|
||||
120: 'f9',
|
||||
121: 'f10',
|
||||
122: 'f11',
|
||||
123: 'f12',
|
||||
124: 'f13',
|
||||
125: 'f14',
|
||||
126: 'f15',
|
||||
127: 'f16',
|
||||
128: 'f17',
|
||||
129: 'f18',
|
||||
130: 'f19',
|
||||
131: 'f20',
|
||||
132: 'f21',
|
||||
133: 'f22',
|
||||
134: 'f23',
|
||||
135: 'f24',
|
||||
144: 'num lock',
|
||||
145: 'scroll lock',
|
||||
186: ';',
|
||||
187: '=',
|
||||
188: ',',
|
||||
189: '‐',
|
||||
190: '.',
|
||||
191: '?',
|
||||
192: '`',
|
||||
219: '[',
|
||||
220: '\',
|
||||
221: ']',
|
||||
222: ''',
|
||||
};
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,13 @@
|
||||
{% macro make_prev_next( ) -%}
|
||||
<nav class="btn-group">
|
||||
{%- if page.previous_page %}
|
||||
<a href="{{ page.previous_page.url|url }}" title="{{ page.previous_page.title }}">{% trans %}Previous{% endtrans %}</a>
|
||||
{% endif %}
|
||||
{%- if page.previous_page and page.next_page -%}
|
||||
|
|
||||
{%- endif -%}
|
||||
{%- if page.next_page %}
|
||||
<a href="{{ page.next_page.url|url }}" title="{{ page.next_page.title }}">{% trans %}Next{% endtrans %}</a>
|
||||
{%- endif %}
|
||||
</nav>
|
||||
{%- endmacro -%}
|
||||
@@ -0,0 +1,3 @@
|
||||
{% macro get_section_index_page_title() -%}
|
||||
{% if config.extra.INDEX_PAGE_NAV_TITLE %}{{ config.extra.INDEX_PAGE_NAV_TITLE }}{% else %}Index{% endif %}
|
||||
{%- endmacro -%}
|
||||
@@ -0,0 +1,41 @@
|
||||
{%- import 'macros/side-nav/section-index-page-title.j2' as index_helper with context -%}
|
||||
|
||||
{% macro get_base_class( nav_item ) -%}
|
||||
{% set ns = namespace(class="terminal-mkdocs-side-nav-item", is_active_index=false) %}
|
||||
{% if nav_item.active %}
|
||||
{%- set ns.class = ns.class ~ "--active" -%}
|
||||
{% endif %}
|
||||
|
||||
{% if "navigation.side.indexes" in features and nav_item.title == index_helper.get_section_index_page_title() %}
|
||||
{# if nav_item is a index page, check to see if any of its' siblings are active) #}
|
||||
{% for index_sibling in nav_item.parent.children %}
|
||||
{% if index_sibling.active %}
|
||||
{% set ns.is_active_index = true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if ns.is_active_index %}
|
||||
{%- set ns.class = ns.class ~ "--active" -%}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{{ ns.class|trim }}
|
||||
{%- endmacro -%}
|
||||
|
||||
|
||||
{# 'terminal-mkdocs-side-nav-section-no-index' css class used to indicate a non-clickable folder #}
|
||||
{% macro get_class( nav_item ) -%}
|
||||
{% set ns = namespace(class="") %}
|
||||
{%- set ns.class = get_base_class( nav_item ) -%}
|
||||
|
||||
{% if nav_item.children %}
|
||||
{% if "navigation.side.indexes" not in features %}
|
||||
{%- set ns.class = ns.class ~ " terminal-mkdocs-side-nav-section-no-index" -%}
|
||||
{% else %}
|
||||
{% if nav_item.children|selectattr("title", "eq", index_helper.get_section_index_page_title() )|list|length == 0 %}
|
||||
{%- set ns.class = ns.class ~ " terminal-mkdocs-side-nav-section-no-index" -%}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif -%}
|
||||
|
||||
{{ ns.class|trim }}
|
||||
{%- endmacro -%}
|
||||
@@ -0,0 +1,23 @@
|
||||
{% macro index_item( nav_item, class ) -%}
|
||||
{% if nav_item.active %}
|
||||
<span {% if class %}class="{{ class }}"{% endif %}>{{ nav_item.parent.title }}</span>
|
||||
{% else %}
|
||||
<a {% if class %}class="{{ class }}"{% endif %} href="{{ nav_item.url|url }}">{{ nav_item.parent.title }}</a>
|
||||
{% endif %}
|
||||
{%- endmacro -%}
|
||||
|
||||
|
||||
|
||||
{% macro non_index_item( nav_item, class ) -%}
|
||||
{% if nav_item.active %}
|
||||
<span {% if class %}class="{{ class }}"{% endif %}>{{ nav_item.title }}</span>
|
||||
{% else %}
|
||||
{% if nav_item.is_section %}
|
||||
{# nav_item.is_section covers MkDocs Section objects #}
|
||||
{# MkDocs Section objects do not have a URL to use as a link #}
|
||||
<span {% if class %}class="{{ class }}"{% endif %}>{{ nav_item.title }}</span>
|
||||
{% else %}
|
||||
<a {% if class %}class="{{ class }}"{% endif %} href="{{ nav_item.url|url }}">{{ nav_item.title }}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{%- endmacro -%}
|
||||
@@ -0,0 +1,12 @@
|
||||
{% macro make_toc( toc ) -%}
|
||||
<nav>
|
||||
<ul>
|
||||
{% for toc_item in toc -%}
|
||||
<li><a href="{{ toc_item.url }}">{{ toc_item.title}}</a></li>
|
||||
{% for toc_item in toc_item.children -%}
|
||||
<li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
{%- endmacro -%}
|
||||
@@ -0,0 +1,9 @@
|
||||
{% macro make_search_button( idx_in_menu ) %}
|
||||
{% set search_button_ns = namespace(text="Search") %}
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">{{ search_button_ns.text }}</span>
|
||||
</a>
|
||||
<meta property="position" content="{{ idx_in_menu }}">
|
||||
</li>
|
||||
{%- endmacro -%}
|
||||
@@ -0,0 +1,614 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/meshcore/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>Introduction - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="../cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item--active terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">Introduction</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#introduction">Introduction</a></li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="introduction">Introduction</h1>
|
||||
<p>Welcome to the MeshCore documentation.</p>
|
||||
<p>Below are a few quick start guides.</p>
|
||||
<ul>
|
||||
<li><a href="../faq/">Frequently Asked Questions</a></li>
|
||||
<li><a href="../cli_commands/">CLI Commands</a></li>
|
||||
<li><a href="../companion_protocol/">Companion Protocol</a></li>
|
||||
<li><a href="../packet_format/">Packet Format</a></li>
|
||||
<li><a href="../qr_codes/">QR Codes</a></li>
|
||||
</ul>
|
||||
<p>If you find a mistake in any of our documentation, or find something is missing, please feel free to open a pull request for us to review.</p>
|
||||
<ul>
|
||||
<li><a href="https://github.com/meshcore-dev/MeshCore/tree/main/docs">Documentation Source</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,670 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/number_allocations/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>Number allocations - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="../cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item--active terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">Number allocations</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#number-allocations">Number Allocations</a></li>
|
||||
<li><a href="#group-data-types">Group Data Types</a></li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="number-allocations">Number Allocations</h1>
|
||||
<p>This document lists unique numbers/identifiers used in various MeshCore protocol payloads.</p>
|
||||
<h1 id="group-data-types">Group Data Types</h1>
|
||||
<p>The <code>PAYLOAD_TYPE_GRP_DATA</code> payloads have a 16-bit data-type field, which identifies which application the packet is for.</p>
|
||||
<p>To make sure multiple applications can function without interfering with each other, the table below is for reserving various ranges of data-type values. Just modify this table, adding a row, then submit a PR to have it authorised/merged.</p>
|
||||
<p>NOTE: the range FF00 - FFFF is for use while you're developing, doing POC, and for these you don't need to request to use/allocate.</p>
|
||||
<p>Once you have a working app/project, you need to be able to demonstrate it exists/works, and THEN request type IDs. So, just use the testing/dev range while developing, then request IDs before you transition to publishing your project.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Data-Type range</th>
|
||||
<th>App name</th>
|
||||
<th>Contact</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>0000 - 00FF</td>
|
||||
<td>-reserved for internal use-</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>0100</td>
|
||||
<td>MeshCore Open</td>
|
||||
<td>zsylvester@monitormx.com — https://github.com/zjs81/meshcore-open</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>0110 - 011F</td>
|
||||
<td>Ripple</td>
|
||||
<td>ripple_biz@protonmail.com — https://buymeacoffee.com/ripplebiz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>0120</td>
|
||||
<td>MCO Advanced</td>
|
||||
<td>most.original.address@gmail.com — https://hdden.ru/MCOa/</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>0130 - 013F</td>
|
||||
<td>StreamSensor</td>
|
||||
<td>william@housedillon.com - https://housedillon.com/blog/lora-e5-with-seeed-fusion</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>0140</td>
|
||||
<td>Nelos</td>
|
||||
<td>support@nelos.app — https://nelos.app</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>0150</td>
|
||||
<td>Road Events</td>
|
||||
<td>juraj@bednar.io — https://github.com/jooray/roadbeacon/blob/main/nips/road-events.md</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>0160</td>
|
||||
<td>Knit</td>
|
||||
<td>jeff@getknit.app — https://getknit.app</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>0170</td>
|
||||
<td>MeshTrax</td>
|
||||
<td>venahamtrack@gmail.com — https://github.com/venamartin/meshtrax</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>FF00 - FFFF</td>
|
||||
<td>-reserved for testing/dev-</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>(add rows, inside the range 0100 - FEFF for custom apps)</p>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
+771
@@ -0,0 +1,771 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/ota/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>Firmware update by the admin (OTA) - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="../cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item--active terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">Firmware update by the admin (OTA)</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#admin-pushed-firmware-update-experimental-ota-images">Admin-pushed firmware update (experimental -ota images)</a></li>
|
||||
<li><a href="#what-a-release-carries">What a release carries</a></li><li><a href="#on-the-node">On the node</a></li><li><a href="#when-an-update-goes-wrong">When an update goes wrong</a></li><li><a href="#tools">Tools</a></li><li><a href="#your-own-builds">Your own builds</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="admin-pushed-firmware-update-experimental-ota-images">Admin-pushed firmware update (experimental <code>-ota</code> images)</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>The <code>*-ota</code> and <code>*-observer-ota</code> images of this fork's releases can take a new
|
||||
firmware from their admin -- over the USB or BLE console, or <strong>over the mesh,
|
||||
as remote admin CLI</strong>. Nothing changes in the bootloader and there is no second
|
||||
bank: the node stores the package in free flash, checks all of it, and only on
|
||||
an explicit <code>fw apply</code> rewrites itself from a routine running in RAM.</p>
|
||||
<p>The point is the <strong>delta</strong>: a package against the image the node runs is
|
||||
usually a few kB, so it goes through LoRa in minutes. A full image (~300 kB)
|
||||
goes only over USB or BLE.</p>
|
||||
<p><strong>Rolling release on <code>dev</code>, for experienced users.</strong> These <code>-ota</code> images track
|
||||
MeshCore <code>dev</code>, merged continuously, so a new release lands roughly twice a day
|
||||
and each delta stays small. There is no stable channel, no second bank, and no
|
||||
automatic rollback: a bad image that still boots keeps running until you push the
|
||||
next one, and one that will not boot needs USB/BLE DFU in hand. Run it only on
|
||||
nodes you can reach, and try every release on one within reach first.</p>
|
||||
<h2 id="what-a-release-carries">What a release carries</h2>
|
||||
<p>For every <code><board>_<role>-ota</code> / <code>-observer-ota</code> image:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>file</th>
|
||||
<th>what</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code><image>-<release>.zip</code> / <code>.uf2</code></td>
|
||||
<td>the image, flashed the usual way (first time)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><image>-<release>.mcfw</code></td>
|
||||
<td>full package: USB/BLE console only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><image>-<release>.from-<earlier>.mcfw</code></td>
|
||||
<td>delta from an earlier release's same image</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>manifest.json</code></td>
|
||||
<td>image sha256, target, build epoch, packages, deltas by base</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>SHA256SUMS</code>, <code>SHA256SUMS.sig</code></td>
|
||||
<td>checksums, signed by <code>meshcore-ota@tth-pub</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Check a download:</p>
|
||||
<pre><code>ssh-keygen -Y verify -f tools/ota_allowed_signers -I meshcore-ota@tth-pub \
|
||||
-n meshcore-ota -s SHA256SUMS.sig < SHA256SUMS
|
||||
sha256sum -c --ignore-missing SHA256SUMS
|
||||
</code></pre>
|
||||
<p><code>tools/ota_pack.py fetch <image> --base <sha8></code> does both and picks the delta
|
||||
for the node's image (<code>--full</code> for the full package, <code>--release <tag></code> for
|
||||
another than the latest).</p>
|
||||
<h2 id="on-the-node">On the node</h2>
|
||||
<div class="highlight"><pre><span></span><code>fw status state, battery, the running image's size and sha256 prefix
|
||||
fw ver target and build epoch a package for this image needs
|
||||
fw begin <bytes> [sid] start a transfer
|
||||
fw w <offset> <base64> one 96 B chunk (text)
|
||||
fw missing what is still missing
|
||||
fw verify queue the full check, poll fw status
|
||||
fw apply battery gate, then rewrite and reboot
|
||||
fw apply downgrade local console only: an older (or the same) image
|
||||
fw abort
|
||||
</code></pre></div>
|
||||
<p>What the node checks before it touches its own image:</p>
|
||||
<ol>
|
||||
<li>The <strong>manifest</strong>, as soon as it is in: an Ed25519 signature by the key the
|
||||
image was built with (<code>[ota] pubkey</code>), the target (board + variant: an
|
||||
<code>-observer-ota</code> node takes no <code>-ota</code> package), the size, for a delta the
|
||||
base (the sha256 of the image it runs), and the build epoch.</li>
|
||||
<li>Over the mesh: <strong>only a delta, and only a newer build.</strong> An older or equal
|
||||
one is refused right after the manifest; a full image is refused when the
|
||||
transfer begins. Locally a full image is fine, and an older one takes
|
||||
<code>fw apply downgrade</code>.</li>
|
||||
<li><code>fw verify</code>: the payload hash, and a delta applied <strong>dry</strong> -- the same code
|
||||
the real run uses, with the flash untouched -- must produce the signed
|
||||
image hash.</li>
|
||||
<li><code>fw apply</code>: battery at 3.8 V or more unless the node runs on USB. The
|
||||
bootloader settings get the new image's CRC <strong>first</strong>, so a power cut during
|
||||
the rewrite leaves the node in the bootloader (back with USB/BLE DFU), not
|
||||
in half an image.</li>
|
||||
</ol>
|
||||
<h2 id="when-an-update-goes-wrong">When an update goes wrong</h2>
|
||||
<p>No second bank, no automatic rollback. The checks above stop a <em>corrupt</em> package,
|
||||
but firmware that passes them and still boots into a broken state keeps running.
|
||||
Two watchdogs catch that. The deaf-receiver one is <strong>off by default</strong> -- turn it
|
||||
on for nodes you push to; the TX stall one is on in repeaters:</p>
|
||||
<pre><code>set radio.silence <min> re-arm the receiver, then reboot, if it hears nothing
|
||||
for <min> (persisted, off by default); catches an OTA
|
||||
that boots with a dead radio
|
||||
set radio.txstall <min> the same when the TX queue stalls (repeater only, on
|
||||
at 15 min by default, a change holds until reboot)
|
||||
get radio.reboots watchdog reboots so far (survives power loss)
|
||||
get boot why the board last reset, plus the hardfault record
|
||||
</code></pre>
|
||||
<p>Details: <code>docs/cli_commands.md</code>, "Radio silence watchdog" and "TX stall watchdog".</p>
|
||||
<p>A node that will not boot at all has to be reflashed over USB/BLE DFU. After an
|
||||
<code>fw apply</code> over <strong>BLE</strong> the bond can drop (a supervision timeout while the node
|
||||
reboots) -- re-pair from the same host; it is not a brick.</p>
|
||||
<h2 id="tools">Tools</h2>
|
||||
<div class="highlight"><pre><span></span><code><span class="c1"># a delta for the node's image, from the latest release</span>
|
||||
tools/ota_pack.py<span class="w"> </span>fetch<span class="w"> </span>Xiao_nrf52_repeater-ota<span class="w"> </span>--base<span class="w"> </span><sha8<span class="w"> </span>from<span class="w"> </span>fw<span class="w"> </span>status>
|
||||
|
||||
<span class="c1"># over the mesh, through a companion (USB port or tcp://host:port), as admin</span>
|
||||
tools/ota_mesh_push.py<span class="w"> </span>/dev/serial/by-id/<companion><span class="w"> </span><node<span class="w"> </span>pubkey<span class="w"> </span>prefix><span class="w"> </span>pkg.mcfw<span class="w"> </span>--apply
|
||||
|
||||
<span class="c1"># over the node's own USB console</span>
|
||||
tools/ota_push.py<span class="w"> </span>/dev/serial/by-id/<node><span class="w"> </span>pkg.mcfw<span class="w"> </span>--apply
|
||||
</code></pre></div>
|
||||
<h3 id="from-a-phone">From a phone</h3>
|
||||
<p>The <a href="https://git.rfa.cz/tth-pub/meshcore-open">tth fork of meshcore-open</a>
|
||||
(Android, Obtainium) has it in the repeater management of an admin: Firmware
|
||||
update (OTA). With no file chosen it reads the node's target and image and
|
||||
takes the delta from the latest release (checked against <code>SHA256SUMS</code>); the
|
||||
side channel below is a switch there.</p>
|
||||
<h3 id="off-the-shared-channel-side">Off the shared channel: <code>--side</code></h3>
|
||||
<pre><code>tools/ota_mesh_push.py <companion> <node> pkg.mcfw --apply \
|
||||
--side 869.525,62.5,7,5 --duty 10 --gap 1
|
||||
</code></pre>
|
||||
<p>Login, <code>fw status</code> and <code>get radio</code> still go over the mesh; then the node gets
|
||||
<code>tempradio <side>,3</code>, the companion retunes to the same preset, logs in again
|
||||
zero-hop, and the chunks go there. The window grows to <code>--window</code> (15 min) once
|
||||
the link is proven and is renewed while the transfer runs. The node comes back
|
||||
by itself when the window runs out, on <code>fw apply</code> (the reboot), or when the
|
||||
tool sends it back with <code>tempradio <its preset>,1</code>. Nothing new in the firmware:
|
||||
any node with <code>tempradio</code> takes it.</p>
|
||||
<ul>
|
||||
<li>The companion must be in <strong>direct</strong> range of the node, and it must be a
|
||||
companion <strong>firmware</strong> that retunes its own radio. An openHop virtual
|
||||
companion answers <code>set_radio</code> with OK and stays put; the tool checks that
|
||||
and stops, and the node returns within 3 minutes.</li>
|
||||
<li>The companion's preset is put back at the end -- unless the tool is killed
|
||||
hard; then <code>set_radio</code> it back yourself.</li>
|
||||
<li>The example preset sits inside 869.4-869.65 MHz (10 % duty) between the CZ
|
||||
mesh (869.432/62.5) and EU Narrow (869.618/62.5). The node keeps its TX
|
||||
power on the side channel: pick a band where that power is allowed.</li>
|
||||
</ul>
|
||||
<p>The transfer in both tools is the OTA engine of the
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-ansible">tth.meshcore Ansible collection</a>
|
||||
(<code>plugins/module_utils/meshcore_ota_engine.py</code>) -- its <code>meshcore_fw_ota</code> module
|
||||
runs the same code, so a fix lands everywhere at once. The tools need only its
|
||||
files, not Ansible: an installed collection
|
||||
(<code>ansible-galaxy collection install git+https://git.rfa.cz/tth-pub/meshcore-ansible.git</code>),
|
||||
a checkout named by <code>MESHCORE_ANSIBLE</code>, or one next to this repository
|
||||
(<code>tools/ota_collection.py</code> prints which one it uses).</p>
|
||||
<p><code>ota_mesh_push.py</code> needs the <code>meshcore</code> Python library. It logs in as admin
|
||||
(password from <code>[secrets] admin_pw</code> of <code>platformio.local.ini</code>, or asked for),
|
||||
sends binary chunks with a pause between them, asks which are missing and
|
||||
resends only those, and keeps an airtime budget (<code>--duty</code>, default 1 % per
|
||||
hour: the 865-868 MHz band). A refused package costs the two manifest chunks,
|
||||
not the whole transfer. Check <code>get radio</code> on both ends first: this transmits.</p>
|
||||
<h2 id="your-own-builds">Your own builds</h2>
|
||||
<p>A build with <code>-D FW_OTA=1</code> trusts <code>[ota] pubkey</code> of <code>platformio.ini</code> -- the
|
||||
release key. To sign your own packages, set your key in the gitignored
|
||||
<code>platformio.local.ini</code>:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="k">[ota]</span>
|
||||
<span class="na">pubkey</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s"><tools/ota_pack.py pubkey --key your.key></span>
|
||||
</code></pre></div>
|
||||
<p>and pack with <code>tools/ota_pack.py pack|diff <env> --key your.key</code>. Target and
|
||||
build epoch come from the ELF, never from the command line. Keep every image
|
||||
you flash: a delta needs the exact bytes the node runs as its base.</p>
|
||||
<p>Cost: about 10 kB of RAM on a repeater, the applier code in RAM, a 32 kB
|
||||
buffer while a full package is verified or applied. Classic images (without
|
||||
<code>-ota</code>) have none of it.</p>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,971 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/packet_format/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>Packet format - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="../cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item--active terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">Packet format</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#packet-format">Packet Format</a></li>
|
||||
<li><a href="#version-1-packet-format">Version 1 Packet Format</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="packet-format">Packet Format</h1>
|
||||
<p>This document describes the MeshCore packet format.</p>
|
||||
<ul>
|
||||
<li><code>0xYY</code> indicates <code>YY</code> in hex notation.</li>
|
||||
<li><code>0bYY</code> indicates <code>YY</code> in binary notation.</li>
|
||||
<li>Bit 0 indicates the bit furthest to the right: <code>0000000X</code></li>
|
||||
<li>Bit 7 indicates the bit furthest to the left: <code>X0000000</code></li>
|
||||
</ul>
|
||||
<h2 id="version-1-packet-format">Version 1 Packet Format</h2>
|
||||
<p>This is the protocol level packet structure used in MeshCore firmware v1.12.0</p>
|
||||
<div class="highlight"><pre><span></span><code>[header][transport_codes(optional)][path_length][path][payload]
|
||||
</code></pre></div>
|
||||
<ul>
|
||||
<li><a href="#header-format">header</a> - 1 byte<ul>
|
||||
<li>8-bit Format: <code>0bVVPPPPRR</code> - <code>V=Version</code> - <code>P=PayloadType</code> - <code>R=RouteType</code></li>
|
||||
<li>Bits 0-1 - 2-bits - <a href="#route-types">Route Type</a><ul>
|
||||
<li><code>0x00</code>/<code>0b00</code> - <code>ROUTE_TYPE_TRANSPORT_FLOOD</code> - Flood Routing + Transport Codes</li>
|
||||
<li><code>0x01</code>/<code>0b01</code> - <code>ROUTE_TYPE_FLOOD</code> - Flood Routing</li>
|
||||
<li><code>0x02</code>/<code>0b10</code> - <code>ROUTE_TYPE_DIRECT</code> - Direct Routing</li>
|
||||
<li><code>0x03</code>/<code>0b11</code> - <code>ROUTE_TYPE_TRANSPORT_DIRECT</code> - Direct Routing + Transport Codes</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Bits 2-5 - 4-bits - <a href="#payload-types">Payload Type</a><ul>
|
||||
<li><code>0x00</code>/<code>0b0000</code> - <code>PAYLOAD_TYPE_REQ</code> - Request (destination/source hashes + MAC)</li>
|
||||
<li><code>0x01</code>/<code>0b0001</code> - <code>PAYLOAD_TYPE_RESPONSE</code> - Response to <code>REQ</code> or <code>ANON_REQ</code></li>
|
||||
<li><code>0x02</code>/<code>0b0010</code> - <code>PAYLOAD_TYPE_TXT_MSG</code> - Plain text message</li>
|
||||
<li><code>0x03</code>/<code>0b0011</code> - <code>PAYLOAD_TYPE_ACK</code> - Acknowledgment</li>
|
||||
<li><code>0x04</code>/<code>0b0100</code> - <code>PAYLOAD_TYPE_ADVERT</code> - Node advertisement</li>
|
||||
<li><code>0x05</code>/<code>0b0101</code> - <code>PAYLOAD_TYPE_GRP_TXT</code> - Group text message (unverified)</li>
|
||||
<li><code>0x06</code>/<code>0b0110</code> - <code>PAYLOAD_TYPE_GRP_DATA</code> - Group datagram (unverified)</li>
|
||||
<li><code>0x07</code>/<code>0b0111</code> - <code>PAYLOAD_TYPE_ANON_REQ</code> - Anonymous request</li>
|
||||
<li><code>0x08</code>/<code>0b1000</code> - <code>PAYLOAD_TYPE_PATH</code> - Returned path</li>
|
||||
<li><code>0x09</code>/<code>0b1001</code> - <code>PAYLOAD_TYPE_TRACE</code> - Trace a path, collecting SNR for each hop</li>
|
||||
<li><code>0x0A</code>/<code>0b1010</code> - <code>PAYLOAD_TYPE_MULTIPART</code> - Packet is part of a sequence of packets</li>
|
||||
<li><code>0x0B</code>/<code>0b1011</code> - <code>PAYLOAD_TYPE_CONTROL</code> - Control packet data (unencrypted)</li>
|
||||
<li><code>0x0C</code>/<code>0b1100</code> - reserved</li>
|
||||
<li><code>0x0D</code>/<code>0b1101</code> - reserved</li>
|
||||
<li><code>0x0E</code>/<code>0b1110</code> - reserved</li>
|
||||
<li><code>0x0F</code>/<code>0b1111</code> - <code>PAYLOAD_TYPE_RAW_CUSTOM</code> - Custom packet (raw bytes, custom encryption)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Bits 6-7 - 2-bits - <a href="#payload-versions">Payload Version</a><ul>
|
||||
<li><code>0x00</code>/<code>0b00</code> - v1 - 1-byte src/dest hashes, 2-byte MAC</li>
|
||||
<li><code>0x01</code>/<code>0b01</code> - v2 - Future version (e.g., 2-byte hashes, 4-byte MAC)</li>
|
||||
<li><code>0x02</code>/<code>0b10</code> - v3 - Future version</li>
|
||||
<li><code>0x03</code>/<code>0b11</code> - v4 - Future version</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>transport_codes</code> - 4 bytes (optional)<ul>
|
||||
<li>Only present for <code>ROUTE_TYPE_TRANSPORT_FLOOD</code> and <code>ROUTE_TYPE_TRANSPORT_DIRECT</code></li>
|
||||
<li><code>transport_code_1</code> - 2 bytes - <code>uint16_t</code> - calculated from region scope</li>
|
||||
<li><code>transport_code_2</code> - 2 bytes - <code>uint16_t</code> - reserved</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>path_length</code> - 1 byte - Encoded path metadata<ul>
|
||||
<li>Bits 0-5 store path hash count / hop count (<code>0-63</code>)</li>
|
||||
<li>Bits 6-7 store path hash size minus 1<ul>
|
||||
<li><code>0b00</code>: 1-byte path hashes</li>
|
||||
<li><code>0b01</code>: 2-byte path hashes</li>
|
||||
<li><code>0b10</code>: 3-byte path hashes</li>
|
||||
<li><code>0b11</code>: reserved / unsupported</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>path</code> - <code>hop_count * hash_size</code> bytes - Path to use for Direct Routing or flood path tracking<ul>
|
||||
<li>Up to a maximum of 64 bytes, defined by <code>MAX_PATH_SIZE</code></li>
|
||||
<li>Effective byte length is calculated from the encoded hop count and hash size, not taken directly from <code>path_length</code></li>
|
||||
<li>v1.12.0 firmware and older only handled legacy 1-byte path hashes and dropped packets whose path bytes exceeded <a href="https://github.com/meshcore-dev/MeshCore/blob/e812632235274ffd2382adf5354168aec765d416/src/Dispatcher.cpp#L144">64 bytes</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>payload</code> - variable length - Payload Data<ul>
|
||||
<li>Up to a maximum 184 bytes, defined by <code>MAX_PACKET_PAYLOAD</code></li>
|
||||
<li>Generally this is the remainder of the raw packet data</li>
|
||||
<li>The firmware parses this data based on the provided Payload Type</li>
|
||||
<li>v1.12.0 firmware and older drops packets with <code>payload</code> sizes <a href="https://github.com/meshcore-dev/MeshCore/blob/e812632235274ffd2382adf5354168aec765d416/src/Dispatcher.cpp#L152">larger than 184</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h3 id="packet-format_1">Packet Format</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Field</th>
|
||||
<th>Size (bytes)</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>header</td>
|
||||
<td>1</td>
|
||||
<td>Contains routing type, payload type, and payload version</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>transport_codes</td>
|
||||
<td>4 (optional)</td>
|
||||
<td>2x 16-bit transport codes (if ROUTE_TYPE_TRANSPORT_*)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>path_length</td>
|
||||
<td>1</td>
|
||||
<td>Encodes path hash size in bits 6-7 and hop count in bits 0-5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>path</td>
|
||||
<td>up to 64 (<code>MAX_PATH_SIZE</code>)</td>
|
||||
<td>Stores <code>hop_count * hash_size</code> bytes of path data if applicable</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>payload</td>
|
||||
<td>up to 184 (<code>MAX_PACKET_PAYLOAD</code>)</td>
|
||||
<td>Data for the provided Payload Type</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<blockquote>
|
||||
<p>NOTE: see the <a href="../payloads/">Payloads</a> documentation for more information about the content of specific payload types.</p>
|
||||
</blockquote>
|
||||
<h3 id="header-format">Header Format</h3>
|
||||
<p>Bit 0 means the lowest bit (1s place)</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Bits</th>
|
||||
<th>Mask</th>
|
||||
<th>Field</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>0-1</td>
|
||||
<td><code>0x03</code></td>
|
||||
<td>Route Type</td>
|
||||
<td>Flood, Direct, etc</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2-5</td>
|
||||
<td><code>0x3C</code></td>
|
||||
<td>Payload Type</td>
|
||||
<td>Request, Response, ACK, etc</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>6-7</td>
|
||||
<td><code>0xC0</code></td>
|
||||
<td>Payload Version</td>
|
||||
<td>Versioning of the payload format</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 id="route-types">Route Types</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Value</th>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>0x00</code></td>
|
||||
<td><code>ROUTE_TYPE_TRANSPORT_FLOOD</code></td>
|
||||
<td>Flood Routing + Transport Codes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x01</code></td>
|
||||
<td><code>ROUTE_TYPE_FLOOD</code></td>
|
||||
<td>Flood Routing</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x02</code></td>
|
||||
<td><code>ROUTE_TYPE_DIRECT</code></td>
|
||||
<td>Direct Routing</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x03</code></td>
|
||||
<td><code>ROUTE_TYPE_TRANSPORT_DIRECT</code></td>
|
||||
<td>Direct Routing + Transport Codes</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 id="path-length-encoding">Path Length Encoding</h3>
|
||||
<p><code>path_length</code> is not a raw byte count. It packs both hash size and hop count:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Bits</th>
|
||||
<th>Field</th>
|
||||
<th>Meaning</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>0-5</td>
|
||||
<td>Hop Count</td>
|
||||
<td>Number of path hashes (<code>0-63</code>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>6-7</td>
|
||||
<td>Hash Size Code</td>
|
||||
<td>Stored as <code>hash_size - 1</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Hash size codes:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Bits 6-7</th>
|
||||
<th>Hash Size</th>
|
||||
<th>Notes</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>0b00</code></td>
|
||||
<td>1 byte</td>
|
||||
<td>Legacy / default mode</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0b01</code></td>
|
||||
<td>2 bytes</td>
|
||||
<td>Supported in current firmware</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0b10</code></td>
|
||||
<td>3 bytes</td>
|
||||
<td>Supported in current firmware</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0b11</code></td>
|
||||
<td>4 bytes</td>
|
||||
<td>Reserved / invalid</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Examples:</p>
|
||||
<ul>
|
||||
<li><code>0x00</code>: zero-hop packet, no path bytes</li>
|
||||
<li><code>0x05</code>: 5 hops using 1-byte hashes, so path is 5 bytes</li>
|
||||
<li><code>0x45</code>: 5 hops using 2-byte hashes, so path is 10 bytes</li>
|
||||
<li><code>0x8A</code>: 10 hops using 3-byte hashes, so path is 30 bytes</li>
|
||||
</ul>
|
||||
<h3 id="payload-types">Payload Types</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Value</th>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>0x00</code></td>
|
||||
<td><code>PAYLOAD_TYPE_REQ</code></td>
|
||||
<td>Request (destination/source hashes + MAC)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x01</code></td>
|
||||
<td><code>PAYLOAD_TYPE_RESPONSE</code></td>
|
||||
<td>Response to <code>REQ</code> or <code>ANON_REQ</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x02</code></td>
|
||||
<td><code>PAYLOAD_TYPE_TXT_MSG</code></td>
|
||||
<td>Plain text message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x03</code></td>
|
||||
<td><code>PAYLOAD_TYPE_ACK</code></td>
|
||||
<td>Acknowledgment</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x04</code></td>
|
||||
<td><code>PAYLOAD_TYPE_ADVERT</code></td>
|
||||
<td>Node advertisement</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x05</code></td>
|
||||
<td><code>PAYLOAD_TYPE_GRP_TXT</code></td>
|
||||
<td>Group text message (unverified)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x06</code></td>
|
||||
<td><code>PAYLOAD_TYPE_GRP_DATA</code></td>
|
||||
<td>Group datagram (unverified)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x07</code></td>
|
||||
<td><code>PAYLOAD_TYPE_ANON_REQ</code></td>
|
||||
<td>Anonymous request</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x08</code></td>
|
||||
<td><code>PAYLOAD_TYPE_PATH</code></td>
|
||||
<td>Returned path</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x09</code></td>
|
||||
<td><code>PAYLOAD_TYPE_TRACE</code></td>
|
||||
<td>Trace a path, collecting SNR for each hop</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x0A</code></td>
|
||||
<td><code>PAYLOAD_TYPE_MULTIPART</code></td>
|
||||
<td>Packet is part of a sequence of packets</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x0B</code></td>
|
||||
<td><code>PAYLOAD_TYPE_CONTROL</code></td>
|
||||
<td>Control packet data (unencrypted)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x0C</code></td>
|
||||
<td>reserved</td>
|
||||
<td>reserved</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x0D</code></td>
|
||||
<td>reserved</td>
|
||||
<td>reserved</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x0E</code></td>
|
||||
<td>reserved</td>
|
||||
<td>reserved</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x0F</code></td>
|
||||
<td><code>PAYLOAD_TYPE_RAW_CUSTOM</code></td>
|
||||
<td>Custom packet (raw bytes, custom encryption)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 id="payload-versions">Payload Versions</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Value</th>
|
||||
<th>Version</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>0x00</code></td>
|
||||
<td>1</td>
|
||||
<td>1-byte src/dest hashes, 2-byte MAC</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x01</code></td>
|
||||
<td>2</td>
|
||||
<td>Future version (e.g., 2-byte hashes, 4-byte MAC)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x02</code></td>
|
||||
<td>3</td>
|
||||
<td>Future version</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>0x03</code></td>
|
||||
<td>4</td>
|
||||
<td>Future version</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,26 @@
|
||||
Copyright © 2014-present, Tom Christie. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or
|
||||
without modification, are permitted provided that the following
|
||||
conditions are met:
|
||||
|
||||
Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
||||
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
+1524
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,5 @@
|
||||
{% import 'pluglets/tile_grid/templates/j2-macros/tile-util.j2' as tile_util %}
|
||||
{% macro make_image( tile ) -%}
|
||||
<img src="{{ tile.img_src }}" alt="{{ tile.alt_text|default('', true ) }}"
|
||||
{%- if tile_util.is_image_only(tile) == "true" -%}{%- if tile.tooltip is defined and tile.tooltip|string|length %} title="{{ tile.tooltip }}"{% endif %}{% endif %} >
|
||||
{%- endmacro -%}
|
||||
@@ -0,0 +1,5 @@
|
||||
{% import 'pluglets/tile_grid/templates/j2-macros/tile-util.j2' as tile_util %}
|
||||
{% macro make_link_start( tile ) -%}
|
||||
<div class="terminal-mkdocs-tile-link"><a href="{{ tile.link_href }}"
|
||||
{%- if tile_util.is_link_only(tile) == "true" or tile_util.is_linked_image(tile) == "true" %}{%- if tile.tooltip is defined and tile.tooltip|string|length %} title="{{ tile.tooltip }}"{% endif %}{% endif %} >
|
||||
{%- endmacro -%}
|
||||
@@ -0,0 +1,55 @@
|
||||
{%- macro has_caption( tile ) -%}
|
||||
{%- if tile.caption is defined and tile.caption|string|length -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro has_image( tile ) -%}
|
||||
{%- if tile.img_src is defined and tile.img_src|string|length -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro has_link( tile ) -%}
|
||||
{%- if tile.link_href is defined and tile.link_href|string|length -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro is_image_only( tile ) -%}
|
||||
{%- if has_image(tile) == "true" and has_link(tile) != "true" -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro is_link_only( tile ) -%}
|
||||
{%- if has_link(tile) == "true" and has_image(tile) != "true" -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro is_linked_image( tile ) -%}
|
||||
{%- if has_image(tile) == "true" and has_link(tile) == "true" -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro is_valid( tile ) -%}
|
||||
{%- if is_image_only(tile) == "true" or is_link_only(tile) == "true" or is_linked_image(tile) == "true" -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
@@ -0,0 +1,33 @@
|
||||
|
||||
{% import 'pluglets/tile_grid/templates/j2-macros/tile-image.j2' as image_helper %}
|
||||
{% import 'pluglets/tile_grid/templates/j2-macros/tile-link.j2' as link_helper %}
|
||||
{% import 'pluglets/tile_grid/templates/j2-macros/tile-util.j2' as tile_util %}
|
||||
|
||||
{% macro make_tile( tile, use_markup ) %}
|
||||
{%- set ns = namespace(is_valid=false, has_link=false, has_image=false, has_caption=false) -%}
|
||||
{%- set ns.has_image = tile_util.has_image(tile) == "true" -%}
|
||||
{%- set ns.has_link = tile_util.has_link(tile) == "true" -%}
|
||||
{%- set ns.has_caption = tile_util.has_caption(tile) == "true" -%}
|
||||
{%- set ns.is_valid = tile_util.is_valid(tile) == "true" -%}
|
||||
{%- if ns.is_valid -%}
|
||||
<div {% if tile.tile_id is defined and tile.tile_id|string|length %} id="{{ tile.tile_id }}" {% endif %}class="terminal-mkdocs-tile {{ tile.tile_css }}">
|
||||
<figure>
|
||||
{% if ns.has_link -%}{{ link_helper.make_link_start(tile) }}{% endif %}
|
||||
{%- if ns.has_image %}
|
||||
{{ image_helper.make_image(tile) }}
|
||||
{%- endif -%}
|
||||
{%- if ns.has_link -%}
|
||||
{% if ns.has_image %}
|
||||
</a></div>{% else %}{{ tile.alt_text|default(tile.link_href, true) }}</a></div>{%- endif %}
|
||||
{%- endif -%}
|
||||
{%- if ns.has_caption -%}
|
||||
{%- if use_markup %}
|
||||
<figcaption>{{ tile.caption|string|trim|markup }}</figcaption>
|
||||
{% else %}
|
||||
<figcaption>{{ tile.caption|string|trim }}</figcaption>
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
</figure>
|
||||
</div>
|
||||
{%- endif -%}
|
||||
{% endmacro %}
|
||||
+1176
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,631 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/qr_codes/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>QR codes - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="../cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item--active terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">QR codes</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#qr-codes">QR Codes</a></li>
|
||||
<li><a href="#add-channel">Add Channel</a></li><li><a href="#add-contact">Add Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="qr-codes">QR Codes</h1>
|
||||
<p>This document provides an overview of QR Code formats that can be used for sharing MeshCore channels and contacts. The formats described below are supported by the MeshCore mobile app.</p>
|
||||
<h2 id="add-channel">Add Channel</h2>
|
||||
<p><strong>Example URL</strong>:</p>
|
||||
<div class="highlight"><pre><span></span><code>meshcore://channel/add?name=Public&secret=8b3387e9c5cdea6ac9e5edbaa115cd72
|
||||
</code></pre></div>
|
||||
<p><strong>Parameters</strong>:</p>
|
||||
<ul>
|
||||
<li><code>name</code>: Channel name (URL-encoded)</li>
|
||||
<li><code>secret</code>: 16-byte secret represented as 32 hex characters</li>
|
||||
<li><code>region_scope</code>: Region Scope (optional, URL-encoded if provided)<ul>
|
||||
<li>Supported by MeshCore App v1.47.0+</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="add-contact">Add Contact</h2>
|
||||
<p><strong>Example URL</strong>:</p>
|
||||
<div class="highlight"><pre><span></span><code>meshcore://contact/add?name=Example+Contact&public_key=9cd8fcf22a47333b591d96a2b848b73f457b1bb1a3ea2453a885f9e5787765b1&type=1
|
||||
</code></pre></div>
|
||||
<p><strong>Parameters</strong>:</p>
|
||||
<ul>
|
||||
<li><code>name</code>: Contact name (URL-encoded if needed)</li>
|
||||
<li><code>public_key</code>: 32-byte public key represented as 64 hex characters</li>
|
||||
<li><code>type</code>: numeric contact type<ul>
|
||||
<li><code>1</code>: Companion</li>
|
||||
<li><code>2</code>: Repeater</li>
|
||||
<li><code>3</code>: Room Server</li>
|
||||
<li><code>4</code>: Sensor</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,655 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/radio_presets/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>Radio presets - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="../cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item--active terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../terminal_chat_cli/">Terminal chat CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">Radio presets</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#radio-presets">Radio Presets</a></li>
|
||||
<li><a href="#json-response">JSON Response</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="radio-presets">Radio Presets</h1>
|
||||
<p>The radio presets are currently stored on the MeshCore App API server.</p>
|
||||
<p>This allows us to update the presets without releasing new application updates.</p>
|
||||
<p>The presets can be fetched from <a href="https://api.meshcore.nz/api/v1/config">https://api.meshcore.nz/api/v1/config</a></p>
|
||||
<p>If you'd like a new radio preset to be added, this will need to be brought up for discussion in the <a href="https://meshcore.gg">MeshCore Discord</a> server, or via the <a href="https://github.com/meshcore-dev/MeshCore/issues">issues section</a> in our GitHub repo.</p>
|
||||
<p>Before a new preset will be considered for being added, local radio regulations must be researched by the person suggesting the preset, and investigation of the frequencies with an SDR is advised to ensure the least interference to provide a decent user experience.</p>
|
||||
<p>Once a preset is added, it's unlikely to be changed. Adding too many presets can lead to user frustration, as new users won't know which preset to select during setup.</p>
|
||||
<p>At this time, presets provided by the MeshCore App API are just suggestions, but you are free to configure any radio settings through the companion applications, provided they comply with local laws/regulations.</p>
|
||||
<blockquote>
|
||||
<p>Note: We are planning to implement deep linking such as meshcore:// URLs, and QR codes so local mesh networks can easily distribute their own settings, without relying on the internet, or all the companion applications to provide all the settings.</p>
|
||||
</blockquote>
|
||||
<h2 id="json-response">JSON Response</h2>
|
||||
<p>See the example JSON response below, which shows the expected format provided by the API server.</p>
|
||||
<p>Your application should be programmed to expect any of the JSON keys to be missing from the response, as the format could change at any time without any notification.</p>
|
||||
<p>Please configure an appropriate User Agent header string when sending your request to the server. We should be able to reach out to you if needed.</p>
|
||||
<blockquote>
|
||||
<p>Note: Some presets contain an optional <code>network_settings</code> section which defines the <code>path_hash_size</code> to use for this mesh network.</p>
|
||||
</blockquote>
|
||||
<div class="highlight"><pre><span></span><code><span class="p">{</span>
|
||||
<span class="w"> </span><span class="nt">"config"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
|
||||
<span class="w"> </span><span class="nt">"suggested_radio_settings"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
|
||||
<span class="w"> </span><span class="nt">"info_message"</span><span class="p">:</span><span class="w"> </span><span class="s2">"These presets are suggested by the community."</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"entries"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span>
|
||||
<span class="w"> </span><span class="p">{</span>
|
||||
<span class="w"> </span><span class="nt">"title"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Australia (Narrow)"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"description"</span><span class="p">:</span><span class="w"> </span><span class="s2">"916.575MHz / SF7 / BW62.5 / CR7"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"frequency"</span><span class="p">:</span><span class="w"> </span><span class="s2">"916.575"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"spreading_factor"</span><span class="p">:</span><span class="w"> </span><span class="s2">"7"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"bandwidth"</span><span class="p">:</span><span class="w"> </span><span class="s2">"62.5"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"coding_rate"</span><span class="p">:</span><span class="w"> </span><span class="s2">"7"</span>
|
||||
<span class="w"> </span><span class="p">},</span>
|
||||
<span class="w"> </span><span class="p">{</span>
|
||||
<span class="w"> </span><span class="nt">"title"</span><span class="p">:</span><span class="w"> </span><span class="s2">"New Zealand (Narrow)"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"description"</span><span class="p">:</span><span class="w"> </span><span class="s2">"917.375MHz / SF7 / BW62.5 / CR5 / 2B"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"frequency"</span><span class="p">:</span><span class="w"> </span><span class="s2">"917.375"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"spreading_factor"</span><span class="p">:</span><span class="w"> </span><span class="s2">"7"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"bandwidth"</span><span class="p">:</span><span class="w"> </span><span class="s2">"62.5"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"coding_rate"</span><span class="p">:</span><span class="w"> </span><span class="s2">"5"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"network_settings"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
|
||||
<span class="w"> </span><span class="nt">"path_hash_size"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span>
|
||||
<span class="w"> </span><span class="p">}</span>
|
||||
<span class="w"> </span><span class="p">},</span>
|
||||
<span class="w"> </span><span class="p">{</span>
|
||||
<span class="w"> </span><span class="nt">"title"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Portugal 868"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"description"</span><span class="p">:</span><span class="w"> </span><span class="s2">"869.618MHz / SF7 / BW62.5 / CR6"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"frequency"</span><span class="p">:</span><span class="w"> </span><span class="s2">"869.618"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"spreading_factor"</span><span class="p">:</span><span class="w"> </span><span class="s2">"7"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"bandwidth"</span><span class="p">:</span><span class="w"> </span><span class="s2">"62.5"</span><span class="p">,</span>
|
||||
<span class="w"> </span><span class="nt">"coding_rate"</span><span class="p">:</span><span class="w"> </span><span class="s2">"6"</span>
|
||||
<span class="w"> </span><span class="p">}</span>
|
||||
<span class="w"> </span><span class="p">]</span>
|
||||
<span class="w"> </span><span class="p">}</span>
|
||||
<span class="w"> </span><span class="p">}</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre></div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
+3475
File diff suppressed because it is too large.
Load diff
+109
@@ -0,0 +1,109 @@
|
||||
function getSearchTermFromLocation() {
|
||||
var sPageURL = window.location.search.substring(1);
|
||||
var sURLVariables = sPageURL.split('&');
|
||||
for (var i = 0; i < sURLVariables.length; i++) {
|
||||
var sParameterName = sURLVariables[i].split('=');
|
||||
if (sParameterName[0] == 'q') {
|
||||
return decodeURIComponent(sParameterName[1].replace(/\+/g, '%20'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function joinUrl (base, path) {
|
||||
if (path.substring(0, 1) === "/") {
|
||||
// path starts with `/`. Thus it is absolute.
|
||||
return path;
|
||||
}
|
||||
if (base.substring(base.length-1) === "/") {
|
||||
// base ends with `/`
|
||||
return base + path;
|
||||
}
|
||||
return base + "/" + path;
|
||||
}
|
||||
|
||||
function escapeHtml (value) {
|
||||
return value.replace(/&/g, '&')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>');
|
||||
}
|
||||
|
||||
function formatResult (location, title, summary) {
|
||||
return '<article><h3><a href="' + joinUrl(base_url, location) + '">'+ escapeHtml(title) + '</a></h3><p>' + escapeHtml(summary) +'</p></article>';
|
||||
}
|
||||
|
||||
function displayResults (results) {
|
||||
var search_results = document.getElementById("mkdocs-search-results");
|
||||
while (search_results.firstChild) {
|
||||
search_results.removeChild(search_results.firstChild);
|
||||
}
|
||||
if (results.length > 0){
|
||||
for (var i=0; i < results.length; i++){
|
||||
var result = results[i];
|
||||
var html = formatResult(result.location, result.title, result.summary);
|
||||
search_results.insertAdjacentHTML('beforeend', html);
|
||||
}
|
||||
} else {
|
||||
var noResultsText = search_results.getAttribute('data-no-results-text');
|
||||
if (!noResultsText) {
|
||||
noResultsText = "No results found";
|
||||
}
|
||||
search_results.insertAdjacentHTML('beforeend', '<p>' + noResultsText + '</p>');
|
||||
}
|
||||
}
|
||||
|
||||
function doSearch () {
|
||||
var query = document.getElementById('mkdocs-search-query').value;
|
||||
if (query.length > min_search_length) {
|
||||
if (!window.Worker) {
|
||||
displayResults(search(query));
|
||||
} else {
|
||||
searchWorker.postMessage({query: query});
|
||||
}
|
||||
} else {
|
||||
// Clear results for short queries
|
||||
displayResults([]);
|
||||
}
|
||||
}
|
||||
|
||||
function initSearch () {
|
||||
var search_input = document.getElementById('mkdocs-search-query');
|
||||
if (search_input) {
|
||||
search_input.addEventListener("keyup", doSearch);
|
||||
}
|
||||
var term = getSearchTermFromLocation();
|
||||
if (term) {
|
||||
search_input.value = term;
|
||||
doSearch();
|
||||
}
|
||||
}
|
||||
|
||||
function onWorkerMessage (e) {
|
||||
if (e.data.allowSearch) {
|
||||
initSearch();
|
||||
} else if (e.data.results) {
|
||||
var results = e.data.results;
|
||||
displayResults(results);
|
||||
} else if (e.data.config) {
|
||||
min_search_length = e.data.config.min_search_length-1;
|
||||
}
|
||||
}
|
||||
|
||||
if (!window.Worker) {
|
||||
console.log('Web Worker API not supported');
|
||||
// load index in main thread
|
||||
$.getScript(joinUrl(base_url, "search/worker.js")).done(function () {
|
||||
console.log('Loaded worker');
|
||||
init();
|
||||
window.postMessage = function (msg) {
|
||||
onWorkerMessage({data: msg});
|
||||
};
|
||||
}).fail(function (jqxhr, settings, exception) {
|
||||
console.error('Could not load worker.js');
|
||||
});
|
||||
} else {
|
||||
// Wrap search in a web worker
|
||||
var searchWorker = new Worker(joinUrl(base_url, "search/worker.js"));
|
||||
searchWorker.postMessage({init: true});
|
||||
searchWorker.onmessage = onWorkerMessage;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"About this fork (meshcore-tth) \u010cesk\u00e1 verze . Warning Experimental firmware -- not meant for regular users. This fork and all its releases are a personal development branch for the nodes of one small network: a rolling release on upstream dev , built automatically about twice a day, with no stable channel, no support, and tried only on our own boards. It may carry bugs that take a node out of service, and getting one back then needs USB or BLE in hand. For everyday use flash the official MeshCore ( flasher.meshcore.io ). A fork of meshcore-dev/MeshCore that runs the repeaters, sensors and bench boards of a small Czech network on the CZ mesh (869.432 MHz). Upstream main and dev are merged automatically twice a day; everything below is on top of that. Our code is marked CUSTOM (TeTeHacko) in the source. Nothing here changes the wire protocol. The fork's and upstream's docs as a website: https://tth-pub.pages.rfa.cz/meshcore-tth/ Repeater: antispam (all of it off-switchable, none of it upstream) After flashing only the FairnessLimiter is on , with limits about twice above 30 days of real CZ mesh traffic: per channel a burst of 100 messages, then one per 30 s; per sender 150 and one per 10 s; per advert origin 30 and one per 10 min. It is a net for runaway floods, not a quota; fairness off switches it off for good. The advert window, the filters and dry-run stay off until you turn them on. FairnessLimiter -- token buckets on forwarded floods, keyed on the 1-byte ids already in the clear (channel hash, sender hash, advert origin). Port of Beanow's proposal #1502 , limits re-sized from 30 days of real CZ traffic. fairness <on|off> , fairness cap , fairness refill , fairness grid ; direct-routed traffic is never limited. Per-origin advert window -- each node's flood advert forwarded at most once per N hours ( fairness advert <hours> , fairness advert clear ), ported from DutchMeshCore 's AdvertLimiter. Aimed at nodes that re-advertise every minute. Dry-run -- fairness dryrun on counts every verdict but forwards anyway; fairness air reports the airtime shed (or that would be) per reason. Channel filter -- on channels whose key the repeater knows (Public and #hashtag channels), stop forwarding messages of listed sender names ( filter add <name> , filter del <name> , filter list ). Names are spoofable: it contains a runaway bot, it is not security. Channel-hash deny-forward -- filter hash add <hex> [secs] : keyless, works on private channels too; reception is unaffected, only forwarding. With secs the channel is throttled (one packet per secs ) instead of cut. Message age limit -- filter age <minutes> / filter age off (opt-in, 1-10080 min): do not forward group texts on the decrypted channels whose sender timestamp is older; inactive while the repeater clock is unset. It judges the sender's clock, so companions without a time sync are dropped too -- keep it in days. filter dryrun on counts every filter verdict but forwards anyway. Diagnostics and operations Every command of the fork, which builds have it and the defaults: docs/tth-commands.md . Repeater, room server and sensor (everything with a text console) have: Radio watchdogs. The hardware watchdog only catches a frozen loop; two of our nodes were found deaf with the loop running, and only a reboot helped. set radio.silence <min> -- deaf receiver : when the received-frame counter does not move for <min> minutes (a frame with a CRC error counts), the node re-arms its receiver first and reboots if that does not help either. Each such reboot doubles the threshold for the next boot (up to 16x) and the first frame received resets it, so a quiet site does not end in a reboot loop. Saved; off by default ( 0 ) -- pick a threshold well above the longest normal quiet spell of the site. Stalled TX (repeater only): packets wait in the queue and the sent counter does not move -> re-arm the radio, then reboot. An empty queue never counts. On, 15 min ( RADIO_TXSTALL_MIN ); set radio.txstall <min>|off holds until the next reboot. get radio.reboots -- reboots done by the watchdogs (survives power loss); get boot -- why the board last reset, and the hardfault record (also printed at boot). dfu [uf2|serial|ota] -- a deterministic reboot into the bootloader (local console only); i2c -- bus scan. The repeater also has: blink (flashes the LED, also over the mesh -- finds a node on a mast), txpwr (TX power until reboot, with RadioLib's verdict), TX-failure counters in the status reply. Observer variants only ( *-observer ): text console over BLE next to USB, ble <on|off> saved across reboots ( RPT_BLE_DEFAULT_OFF : starts off), own BLE PIN ( ble pin ), persisted connection TX power ( blepwr ), bleconn , a non-blocking BLE TX pump and connection parameters that hold on a weak link. Also observer variants only: a passive analyzer in thLine truncated
|
||||
@@ -0,0 +1,133 @@
|
||||
var base_path = 'function' === typeof importScripts ? '.' : '/search/';
|
||||
var allowSearch = false;
|
||||
var index;
|
||||
var documents = {};
|
||||
var lang = ['en'];
|
||||
var data;
|
||||
|
||||
function getScript(script, callback) {
|
||||
console.log('Loading script: ' + script);
|
||||
$.getScript(base_path + script).done(function () {
|
||||
callback();
|
||||
}).fail(function (jqxhr, settings, exception) {
|
||||
console.log('Error: ' + exception);
|
||||
});
|
||||
}
|
||||
|
||||
function getScriptsInOrder(scripts, callback) {
|
||||
if (scripts.length === 0) {
|
||||
callback();
|
||||
return;
|
||||
}
|
||||
getScript(scripts[0], function() {
|
||||
getScriptsInOrder(scripts.slice(1), callback);
|
||||
});
|
||||
}
|
||||
|
||||
function loadScripts(urls, callback) {
|
||||
if( 'function' === typeof importScripts ) {
|
||||
importScripts.apply(null, urls);
|
||||
callback();
|
||||
} else {
|
||||
getScriptsInOrder(urls, callback);
|
||||
}
|
||||
}
|
||||
|
||||
function onJSONLoaded () {
|
||||
data = JSON.parse(this.responseText);
|
||||
var scriptsToLoad = ['lunr.js'];
|
||||
if (data.config && data.config.lang && data.config.lang.length) {
|
||||
lang = data.config.lang;
|
||||
}
|
||||
if (lang.length > 1 || lang[0] !== "en") {
|
||||
scriptsToLoad.push('lunr.stemmer.support.js');
|
||||
if (lang.length > 1) {
|
||||
scriptsToLoad.push('lunr.multi.js');
|
||||
}
|
||||
if (lang.includes("ja") || lang.includes("jp")) {
|
||||
scriptsToLoad.push('tinyseg.js');
|
||||
}
|
||||
for (var i=0; i < lang.length; i++) {
|
||||
if (lang[i] != 'en') {
|
||||
scriptsToLoad.push(['lunr', lang[i], 'js'].join('.'));
|
||||
}
|
||||
}
|
||||
}
|
||||
loadScripts(scriptsToLoad, onScriptsLoaded);
|
||||
}
|
||||
|
||||
function onScriptsLoaded () {
|
||||
console.log('All search scripts loaded, building Lunr index...');
|
||||
if (data.config && data.config.separator && data.config.separator.length) {
|
||||
lunr.tokenizer.separator = new RegExp(data.config.separator);
|
||||
}
|
||||
|
||||
if (data.index) {
|
||||
index = lunr.Index.load(data.index);
|
||||
data.docs.forEach(function (doc) {
|
||||
documents[doc.location] = doc;
|
||||
});
|
||||
console.log('Lunr pre-built index loaded, search ready');
|
||||
} else {
|
||||
index = lunr(function () {
|
||||
if (lang.length === 1 && lang[0] !== "en" && lunr[lang[0]]) {
|
||||
this.use(lunr[lang[0]]);
|
||||
} else if (lang.length > 1) {
|
||||
this.use(lunr.multiLanguage.apply(null, lang)); // spread operator not supported in all browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator#Browser_compatibility
|
||||
}
|
||||
this.field('title');
|
||||
this.field('text');
|
||||
this.ref('location');
|
||||
|
||||
for (var i=0; i < data.docs.length; i++) {
|
||||
var doc = data.docs[i];
|
||||
this.add(doc);
|
||||
documents[doc.location] = doc;
|
||||
}
|
||||
});
|
||||
console.log('Lunr index built, search ready');
|
||||
}
|
||||
allowSearch = true;
|
||||
postMessage({config: data.config});
|
||||
postMessage({allowSearch: allowSearch});
|
||||
}
|
||||
|
||||
function init () {
|
||||
var oReq = new XMLHttpRequest();
|
||||
oReq.addEventListener("load", onJSONLoaded);
|
||||
var index_path = base_path + '/search_index.json';
|
||||
if( 'function' === typeof importScripts ){
|
||||
index_path = 'search_index.json';
|
||||
}
|
||||
oReq.open("GET", index_path);
|
||||
oReq.send();
|
||||
}
|
||||
|
||||
function search (query) {
|
||||
if (!allowSearch) {
|
||||
console.error('Assets for search still loading');
|
||||
return;
|
||||
}
|
||||
|
||||
var resultDocuments = [];
|
||||
var results = index.search(query);
|
||||
for (var i=0; i < results.length; i++){
|
||||
var result = results[i];
|
||||
doc = documents[result.ref];
|
||||
doc.summary = doc.text.substring(0, 200);
|
||||
resultDocuments.push(doc);
|
||||
}
|
||||
return resultDocuments;
|
||||
}
|
||||
|
||||
if( 'function' === typeof importScripts ) {
|
||||
onmessage = function (e) {
|
||||
if (e.data.init) {
|
||||
init();
|
||||
} else if (e.data.query) {
|
||||
postMessage({ results: search(e.data.query) });
|
||||
} else {
|
||||
console.error("Worker - Unrecognized message: " + e);
|
||||
}
|
||||
};
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/ble-lora-coexistence/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/budka-sensor/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/cli_commands/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/companion_cli/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/companion_protocol/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/cs/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/faq/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/kiss_modem_protocol/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/meshcore/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/nrf52_power_management/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/number_allocations/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/ota/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/packet_format/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/payloads/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/power/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/qr_codes/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/radio_presets/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/stats_binary_frames/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/terminal_chat_cli/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://tth-pub.pages.rfa.cz/meshcore-tth/tth-commands/</loc>
|
||||
<lastmod>2026-12-02</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
Binary file not shown.
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,667 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
|
||||
<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/terminal_chat_cli/"><link rel="icon" type="image/png" sizes="192x192" href="../img/android-chrome-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="../img/android-chrome-512x512.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
|
||||
<link rel="shortcut icon" type="image/png" sizes="48x48" href="../img/favicon.ico" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
|
||||
|
||||
|
||||
|
||||
|
||||
<title>Terminal chat CLI - MeshCore TTH</title>
|
||||
|
||||
|
||||
<link href="../css/fontawesome/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="../css/fontawesome/css/solid.min.css" rel="stylesheet">
|
||||
<link href="../css/normalize.css" rel="stylesheet">
|
||||
<link href="../css/terminal.css" rel="stylesheet">
|
||||
<link href="../css/theme.css" rel="stylesheet">
|
||||
<link href="../css/theme.tile_grid.css" rel="stylesheet">
|
||||
<link href="../css/theme.footer.css" rel="stylesheet">
|
||||
<!-- dark color palette -->
|
||||
<link href="../css/palettes/dark.css" rel="stylesheet">
|
||||
|
||||
<!-- page layout -->
|
||||
<style>
|
||||
/* initially set page layout to a one column grid */
|
||||
.terminal-mkdocs-main-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* when side navigation is not hidden, use a two column grid.
|
||||
* if the screen is too narrow, fall back to the initial one column grid layout.
|
||||
* in this case the main content will be placed under the navigation panel.
|
||||
*/
|
||||
@media only screen and (min-width: 70em) {
|
||||
.terminal-mkdocs-main-grid {
|
||||
grid-template-columns: 4fr 9fr;
|
||||
}
|
||||
}</style>
|
||||
|
||||
<!-- cursor_animation override -->
|
||||
<style>
|
||||
#mkdocs-terminal-site-name.terminal-prompt::after {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<link href="../_stylesheets/tth.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- search css support -->
|
||||
<link href="../css/search/bootstrap-modal.css" rel="stylesheet">
|
||||
<!-- search scripts -->
|
||||
<script>
|
||||
var base_url = "..",
|
||||
shortcuts = "{}";
|
||||
</script>
|
||||
<script src="../js/jquery/jquery-1.10.1.min.js" defer></script>
|
||||
<script src="../js/bootstrap/bootstrap.min.js" defer></script>
|
||||
<script src="../js/mkdocs/base.js" defer></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="../search/main.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="terminal"><div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div id="mkdocs-terminal-site-name" class="logo terminal-prompt"><a href="https://tth-pub.pages.rfa.cz/meshcore-tth/" class="no-style">MeshCore TTH</a></div>
|
||||
</header>
|
||||
|
||||
<nav class="terminal-menu">
|
||||
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href=".." class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">About the fork</span>
|
||||
</a>
|
||||
<meta property="position" content="0">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="../cs/" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Česky</span>
|
||||
</a>
|
||||
<meta property="position" content="1">
|
||||
</li>
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="https://git.rfa.cz/tth-pub/meshcore-tth" class="menu-item " property="item" typeof="WebPage">
|
||||
<span property="name">Repository</span>
|
||||
</a>
|
||||
<meta property="position" content="2">
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li property="itemListElement" typeof="ListItem">
|
||||
<a href="#" class="menu-item" data-toggle="modal" data-target="#mkdocs_search_modal" property="item" typeof="SearchAction">
|
||||
<i aria-hidden="true" class="fa fa-search"></i> <span property="name">Search</span>
|
||||
</a>
|
||||
<meta property="position" content="3">
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="terminal-mkdocs-main-grid"><aside id="terminal-mkdocs-side-panel"><nav>
|
||||
<ul class="terminal-mkdocs-side-nav-items">
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="..">About the fork</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cs/">Česky</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="https://git.rfa.cz/tth-pub/meshcore-tth">Repository</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item terminal-mkdocs-side-nav-section-no-index">Fork meshcore-tth</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../tth-commands/">Console commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ota/">Firmware update by the admin (OTA)</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../power/">Power saving</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../budka-sensor/">Budka as a sensor</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../ble-lora-coexistence/">BLE/LoRa coexistence</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="
|
||||
|
||||
|
||||
|
||||
terminal-mkdocs-side-nav-item--active terminal-mkdocs-side-nav-section-no-index">MeshCore (upstream)</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="terminal-mkdocs-side-nav-li-ul">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../meshcore/">Introduction</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../faq/">FAQ</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../cli_commands/">CLI commands</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_cli/">Companion CLI</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../companion_protocol/">Companion protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
<span class="terminal-mkdocs-side-nav-item--active">Terminal chat CLI</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../kiss_modem_protocol/">KISS modem protocol</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../packet_format/">Packet format</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../payloads/">Payloads</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../stats_binary_frames/">Stats binary frames</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../number_allocations/">Number allocations</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../qr_codes/">QR codes</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../radio_presets/">Radio presets</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="terminal-mkdocs-side-nav-li-ul-li">
|
||||
|
||||
|
||||
|
||||
<a class="terminal-mkdocs-side-nav-item" href="../nrf52_power_management/">nRF52 power management</a>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav><hr>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#terminal-chat-cli">Terminal Chat CLI</a></li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<main id="terminal-mkdocs-main-content">
|
||||
<section id="mkdocs-terminal-content">
|
||||
<h1 id="terminal-chat-cli">Terminal Chat CLI</h1>
|
||||
<p>Below are the commands you can enter into the Terminal Chat clients:</p>
|
||||
<p><div class="highlight"><pre><span></span><code>set freq {frequency}
|
||||
</code></pre></div>
|
||||
Set the LoRa frequency. Example: set freq 915.8</p>
|
||||
<p><div class="highlight"><pre><span></span><code>set tx {tx-power-dbm}
|
||||
</code></pre></div>
|
||||
Sets LoRa transmit power in dBm.</p>
|
||||
<p><div class="highlight"><pre><span></span><code>set name {name}
|
||||
</code></pre></div>
|
||||
Sets your advertisement name.</p>
|
||||
<p><div class="highlight"><pre><span></span><code>set lat {latitude}
|
||||
</code></pre></div>
|
||||
Sets your advertisement map latitude. (decimal degrees)</p>
|
||||
<p><div class="highlight"><pre><span></span><code>set lon {longitude}
|
||||
</code></pre></div>
|
||||
Sets your advertisement map longitude. (decimal degrees)</p>
|
||||
<p><div class="highlight"><pre><span></span><code>set af {air-time-factor}
|
||||
</code></pre></div>
|
||||
Sets the transmit air-time-factor.</p>
|
||||
<blockquote>
|
||||
<p><strong>Note:</strong> <code>set dutycycle</code> is <em>not</em> available in Terminal Chat. Every other
|
||||
firmware — Repeater, Room Server, Sensor and Companion Radio — routes its
|
||||
<code>set</code>/<code>get</code> commands through the shared radio prefs handler and does support
|
||||
it (see <a href="../cli_commands/">CLI Commands</a>). Terminal Chat is the sole
|
||||
exception: it has its own inline <code>set</code> handler covering only the six options
|
||||
listed above.</p>
|
||||
</blockquote>
|
||||
<p><div class="highlight"><pre><span></span><code>time {epoch-secs}
|
||||
</code></pre></div>
|
||||
Set the device clock using UNIX epoch seconds. Example: time 1738242833</p>
|
||||
<p><div class="highlight"><pre><span></span><code>advert
|
||||
</code></pre></div>
|
||||
Sends an advertisement packet</p>
|
||||
<p><div class="highlight"><pre><span></span><code>clock
|
||||
</code></pre></div>
|
||||
Displays current time per device's clock.</p>
|
||||
<p><div class="highlight"><pre><span></span><code>ver
|
||||
</code></pre></div>
|
||||
Shows the device version and firmware build date.</p>
|
||||
<p><div class="highlight"><pre><span></span><code>card
|
||||
</code></pre></div>
|
||||
Displays <em>your</em> 'business card', for others to manually <em>import</em></p>
|
||||
<p><div class="highlight"><pre><span></span><code>import {card}
|
||||
</code></pre></div>
|
||||
Imports the given card to your contacts.</p>
|
||||
<p><div class="highlight"><pre><span></span><code>list {n}
|
||||
</code></pre></div>
|
||||
List all contacts by most recent. (optional {n}, is the last n by advertisement date)</p>
|
||||
<p><div class="highlight"><pre><span></span><code>to
|
||||
</code></pre></div>
|
||||
Shows the name of current recipient contact. (for subsequent 'send' commands)</p>
|
||||
<p><div class="highlight"><pre><span></span><code>to {name-prefix}
|
||||
</code></pre></div>
|
||||
Sets the recipient to the <em>first</em> matching contact (in 'list') by the name prefix. (ie. you don't have to type whole name)</p>
|
||||
<p><div class="highlight"><pre><span></span><code>send {text}
|
||||
</code></pre></div>
|
||||
Sends the text message (as DM) to current recipient.</p>
|
||||
<p><div class="highlight"><pre><span></span><code>reset path
|
||||
</code></pre></div>
|
||||
Resets the path to current recipient, for new path discovery.</p>
|
||||
<p><div class="highlight"><pre><span></span><code>public {text}
|
||||
</code></pre></div>
|
||||
Sends the text message to the built-in 'public' group channel</p>
|
||||
<p><div class="highlight"><pre><span></span><code>help
|
||||
</code></pre></div>
|
||||
Lists the available commands.</p>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<hr><footer>
|
||||
<div class="terminal-mkdocs-footer-grid">
|
||||
<div id="terminal-mkdocs-footer-copyright-info">
|
||||
|
||||
<p class="text-center text-muted">Source: <a href="https://git.rfa.cz/tth-pub/meshcore-tth">git.rfa.cz/tth-pub/meshcore-tth</a> ·</p>
|
||||
Site built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="https://github.com/ntno/mkdocs-terminal">Terminal for MkDocs</a>.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="alertdialog" aria-modal="true" aria-labelledby="searchModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="search">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="searchModalLabel">Search</h5>
|
||||
<button type="button" class="close btn btn-default btn-ghost" data-dismiss="modal" aria-label="Close">x</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="searchInputLabel">Type to start searching</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="search" class="form-control" aria-labelledby="searchInputLabel" placeholder="" id="mkdocs-search-query" title="Please enter search terms here">
|
||||
</div>
|
||||
</form>
|
||||
<div id="mkdocs-search-results" data-no-results-text="No document matches found"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
<meta name="generator" content="mkdocs-1.6.1, mkdocs-terminal-4.8.0">
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user