avr/apps/stats: send VALUE_REPORT messages instead of individual stats messages.
this makes it easier to add some more stats later and it removes some messages.
This commit is contained in:
@@ -20,6 +20,22 @@
|
||||
.equ AQHOME_VALUETYPE_MOTION = 6
|
||||
.equ AQHOME_VALUETYPE_CO2 = 7
|
||||
.equ AQHOME_VALUETYPE_TVOC = 8
|
||||
.equ AQHOME_VALUETYPE_STATS = 9
|
||||
|
||||
|
||||
; Value Ids
|
||||
|
||||
.equ AQHOME_VALUEID_STATS_PACKETS_IN = 0xe0
|
||||
.equ AQHOME_VALUEID_STATS_PACKETS_OUT = 0xe1
|
||||
.equ AQHOME_VALUEID_STATS_ERRS_CONTENT = 0xe2
|
||||
.equ AQHOME_VALUEID_STATS_ERRS_IO = 0xe3
|
||||
.equ AQHOME_VALUEID_STATS_ERRS_NOBUF = 0xe4
|
||||
.equ AQHOME_VALUEID_STATS_ERRS_COLLISIONS = 0xe5
|
||||
.equ AQHOME_VALUEID_STATS_ERRS_BUSY = 0xe6
|
||||
.equ AQHOME_VALUEID_STATS_HEAP_USED = 0xe7
|
||||
.equ AQHOME_VALUEID_STATS_HEAP_FREE = 0xe8
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user