From 70e0f9f734ce8e954893ba77b224fa6c25fbb88b Mon Sep 17 00:00:00 2001 From: bonamin Date: Mon, 13 Jul 2026 02:14:53 +0300 Subject: [PATCH] docs(api-reference): add heartbeat payload card with rssi field Adds a dedicated Heartbeat Payload card to the Transports tab showing the full JSON schema with per-field descriptions, including the new rssi field. Co-Authored-By: Claude Sonnet 4.6 --- .../developer/ApiReferencePage.jsx | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/frontend/src/pages/engineering/developer/ApiReferencePage.jsx b/frontend/src/pages/engineering/developer/ApiReferencePage.jsx index fc68567..125b5d8 100644 --- a/frontend/src/pages/engineering/developer/ApiReferencePage.jsx +++ b/frontend/src/pages/engineering/developer/ApiReferencePage.jsx @@ -1516,6 +1516,31 @@ function TransportsTab() { + +
+ +
+ {[ + { field: 'device_id', type: 'string', notes: 'Serial number from NVS.' }, + { field: 'firmware_version', type: 'string', notes: 'FW_VERSION constant compiled into the binary.' }, + { field: 'timestamp', type: 'string', notes: 'Human-readable uptime string, e.g. "Uptime: 5h 23m 45s".' }, + { field: 'ip_address', type: 'string', notes: 'Current WiFi IP address.' }, + { field: 'gateway', type: 'string', notes: 'Current gateway IP address.' }, + { field: 'uptime_ms', type: 'int', notes: 'Milliseconds since last boot (millis()).' }, + { field: 'rssi', type: 'int', notes: 'WiFi signal strength in dBm. Typical range: -30 (excellent) to -90 (weak).' }, + ].map(row => ( +
+
+ {row.field} + {row.type} +
+

{row.notes}

+
+ ))} +
+
+
+
{UART_WHITELIST.map(cmd => (