Release v0.34.0 — Series-4 parity, and most of Blastware's report from the event file alone #59

Merged
serversdown merged 245 commits from dev into main 2026-11-04 18:19:24 -05:00
Showing only changes of commit c4cb979dfb - Show all commits
+17
View File
@@ -916,6 +916,14 @@
<span class="mon-label">Memory free</span>
<span class="mon-value" id="mon-mem-free">—</span>
</div>
<div class="mon-field" style="display:none" title="The unit's own clock">
<span class="mon-label">Unit time</span>
<span class="mon-value" id="mon-time">—</span>
</div>
<div class="mon-field" style="display:none" title="Read only where it is cheap (Series 4)">
<span class="mon-label">Events</span>
<span class="mon-value" id="mon-events">—</span>
</div>
<div class="mon-spacer"></div>
<button class="btn" id="mon-refresh-btn" onclick="refreshMonitorStatus()" title="Refresh monitoring status">↻ Status</button>
<button class="btn" id="mon-start-btn" onclick="startMonitoring()" title="Start monitoring">▶ Start</button>
@@ -1929,6 +1937,15 @@ function updateMonitorPanel(s) {
const kb = (bytes, k) => bytes != null ? Math.round(bytes / 1024) : k;
const totalKb = kb(s.memory_total_bytes, s.memory_total_kb);
const freeKb = kb(s.memory_free_bytes, s.memory_free_kb);
// The unit's clock and event count come only in the shared shape (serial
// mode); Series 3 reports both as null.
const shared = 'monitoring' in s;
for (const [id, v] of [['mon-time', s.device_time ? s.device_time.replace('T', ' ') : '—'],
['mon-events', s.event_count ?? '—']]) {
const el = document.getElementById(id);
if (shared) el.textContent = v;
el.parentElement.style.display = shared ? '' : 'none';
}
if (volts != null) batEl.textContent = `${volts.toFixed(2)} V`;
if (totalKb != null) memTEl.textContent = `${totalKb} KB`;
if (freeKb != null) memFEl.textContent = `${freeKb} KB`;