extended memstats message and handling.

This commit is contained in:
Martin Preuss
2026-03-17 00:00:38 +01:00
parent e6aeaabb32
commit 8085043ef6
6 changed files with 162 additions and 34 deletions

View File

@@ -0,0 +1,27 @@
; ***************************************************************************
; copyright : (C) 2026 by Martin Preuss
; email : martin@libchipcard.de
;
; ***************************************************************************
; * This file is part of the project "AqHome". *
; * Please see toplevel file COPYING of that project for license details. *
; ***************************************************************************
#ifndef AQH_AVR_MODULES_NETWORK_MSG_MEMSTATS_D_ASM
#define AQH_AVR_MODULES_NETWORK_MSG_MEMSTATS_D_ASM
.equ NETMSG_MEMSTATS_OFFS_UID = NETMSG_OFFS_PAYLOAD
.equ NETMSG_MEMSTATS_OFFS_TIMESTAMP = NETMSG_OFFS_PAYLOAD+4
.equ NETMSG_MEMSTATS_OFFS_STACKUSED = NETMSG_OFFS_PAYLOAD+8
.equ NETMSG_MEMSTATS_OFFS_CURRBUFUSED = NETMSG_OFFS_PAYLOAD+10
.equ NETMSG_MEMSTATS_OFFS_MAXBUFUSED = NETMSG_OFFS_PAYLOAD+11
.equ NETMSG_MEMSTATS_OFFS_NOBUFERRORS = NETMSG_OFFS_PAYLOAD+12
.equ NETMSG_MEMSTATS_OFFS_HEAPUSED = NETMSG_OFFS_PAYLOAD+14
.equ NETMSG_MEMSTATS_OFFS_HEAPFREE = NETMSG_OFFS_PAYLOAD+16
.equ NETMSG_MEMSTATS_OFFS_XRAMSIZE = NETMSG_OFFS_PAYLOAD+18
.equ NETMSG_MEMSTATS_SIZE = NETMSG_OFFS_PAYLOAD+20
#endif