Add EEPROM EUI-48 device identity across firmware and API.
Read the factory 24AA025E48 serial after ADAU I2C boot, derive SoftAP SSID, BT name, STA hostname, and expose serialNumber on GET /api/health with graceful fallbacks. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -36,7 +36,7 @@ Returns a health-check DTO serialised by
|
||||
|
||||
\begin{drnote}[Response schema]
|
||||
\begin{drcode}[JSON]
|
||||
{"status":"ok","fw":"0.8.3",
|
||||
{"status":"ok","fw":"0.8.3","serialNumber":"0004A3123456",
|
||||
"chips":{"si4684":true,"adau1701":true,"bt1035":true}}
|
||||
\end{drcode}
|
||||
\begin{itemize}
|
||||
@@ -44,6 +44,8 @@ Returns a health-check DTO serialised by
|
||||
firmware is running normally.
|
||||
\item \texttt{fw} --- firmware release string
|
||||
(\texttt{core::FirmwareVersion}).
|
||||
\item \texttt{serialNumber} --- canonical EEPROM serial, or
|
||||
\texttt{unknown} when the 24AA025E48 read fails.
|
||||
\item \texttt{chips} --- companion-chip boot flags after
|
||||
\texttt{HardwareBootstrap::boot()} (Slice~8 integration).
|
||||
\end{itemize}
|
||||
|
||||
Reference in New Issue
Block a user