ble version

This commit is contained in:
2026-10-16 07:19:06 +03:00
parent 32abb8bf0a
commit f74d52d39d
65 changed files with 3835 additions and 143 deletions
@@ -24,6 +24,7 @@
<button class="tab active" data-tab="buttons">Кнопки</button>
<button class="tab" data-tab="appearance">Внешний вид</button>
<button class="tab" data-tab="network">Сеть</button>
<button class="tab" data-tab="sensors">Датчики</button>
<button class="tab" data-tab="system">Система</button>
<button class="tab" data-tab="update">Обновление</button>
<button class="tab" data-tab="security">Безопасность</button>
@@ -264,6 +265,51 @@
</div>
</section>
<!-- ============ Датчики ============ -->
<section class="panel" id="tab-sensors">
<div class="card">
<div class="card-head">
<h2>Датчики BLE</h2>
<button id="sensors-refresh" class="ghost">↻ Обновить</button>
</div>
<p class="hint" id="sensors-hint">Данные коллектора (GATT 0xA000).</p>
<table class="req-log" id="sensors-table">
<thead>
<tr>
<th>MAC</th>
<th>Аккумулятор</th>
<th>Показание</th>
<th>RSSI</th>
<th>Состояние</th>
</tr>
</thead>
<tbody id="sensors-body"></tbody>
</table>
</div>
<div class="card">
<div class="card-head">
<h2>Лог датчиков</h2>
</div>
<table class="req-log" id="sensors-log">
<thead>
<tr>
<th>Время</th>
<th>Событие</th>
<th>Детали</th>
</tr>
</thead>
<tbody id="sensors-log-body"></tbody>
</table>
</div>
<div class="card">
<div class="card-actions">
<button id="sensors-advertise" class="primary">Отправить рекламу</button>
</div>
</div>
</section>
<!-- ============ Система ============ -->
<section class="panel" id="tab-system">
<div class="card">