From 8d87bf6de538cfacf6c56259b9076e5372f0971c Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Sat, 21 Apr 2018 21:38:12 +0200 Subject: [PATCH] add propertydescription for PID_TABLE --- association_table_object.cpp | 5 ++++- property_types.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/association_table_object.cpp b/association_table_object.cpp index 3008cab..e575377 100644 --- a/association_table_object.cpp +++ b/association_table_object.cpp @@ -68,7 +68,10 @@ void AssociationTableObject::beforeStateChange(LoadState& newState) _tableData = (uint16_t*)_data; } -static PropertyDescription _propertyDescriptions[] = { }; +static PropertyDescription _propertyDescriptions[] = +{ + { PID_TABLE, false, PDT_GENERIC_02, 254, ReadLv3 | WriteLv0 }, +}; static uint8_t _propertyCount = sizeof(_propertyDescriptions) / sizeof(PropertyDescription); uint8_t AssociationTableObject::propertyCount() diff --git a/property_types.h b/property_types.h index 3945828..8743dce 100644 --- a/property_types.h +++ b/property_types.h @@ -80,6 +80,7 @@ enum PropertyID PID_ORDER_INFO = 15, PID_PEI_TYPE = 16, PID_PORT_CONFIGURATION = 17, + PID_TABLE = 23, PID_VERSION = 25, PID_MCB_TABLE = 27, PID_ERROR_CODE = 28,