From 8ff99cabd053085ce9fa942604a479a75e618ff7 Mon Sep 17 00:00:00 2001 From: mrv777 Date: Sat, 28 Sep 2024 08:30:46 -0500 Subject: [PATCH] fix: Show mac address on log page --- .../axe-os/src/app/components/logs/logs.component.html | 4 ++++ main/http_server/axe-os/src/app/services/system.service.ts | 1 + main/http_server/axe-os/src/models/ISystemInfo.ts | 1 + 3 files changed, 6 insertions(+) diff --git a/main/http_server/axe-os/src/app/components/logs/logs.component.html b/main/http_server/axe-os/src/app/components/logs/logs.component.html index eccb2aace..4f677bfa6 100644 --- a/main/http_server/axe-os/src/app/components/logs/logs.component.html +++ b/main/http_server/axe-os/src/app/components/logs/logs.component.html @@ -15,6 +15,10 @@
Overview
WiFi Status: {{info.wifiStatus}} + + MAC Address: + {{info.macAddr}} + Free Heap Memory: {{info.freeHeap}} diff --git a/main/http_server/axe-os/src/app/services/system.service.ts b/main/http_server/axe-os/src/app/services/system.service.ts index 3bf9f7ddd..26b09fcc5 100644 --- a/main/http_server/axe-os/src/app/services/system.service.ts +++ b/main/http_server/axe-os/src/app/services/system.service.ts @@ -33,6 +33,7 @@ export class SystemService { coreVoltage: 1200, coreVoltageActual: 1200, hostname: "Bitaxe", + macAddr: "2C:54:91:88:C9:E3", ssid: "default", wifiPass: "password", wifiStatus: "Connected!", diff --git a/main/http_server/axe-os/src/models/ISystemInfo.ts b/main/http_server/axe-os/src/models/ISystemInfo.ts index dde736c80..00a491678 100644 --- a/main/http_server/axe-os/src/models/ISystemInfo.ts +++ b/main/http_server/axe-os/src/models/ISystemInfo.ts @@ -15,6 +15,7 @@ export interface ISystemInfo { freeHeap: number, coreVoltage: number, hostname: string, + macAddr: string, ssid: string, wifiStatus: string, sharesAccepted: number,