diff --git a/src/knx/address_table_object.cpp b/src/knx/address_table_object.cpp index 6f67a5c..bd5dae7 100644 --- a/src/knx/address_table_object.cpp +++ b/src/knx/address_table_object.cpp @@ -87,8 +87,12 @@ void AddressTableObject::beforeStateChange(LoadState& newState) static PropertyDescription _propertyDescriptions[] = { - { PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0 } + { PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0 }, + { PID_LOAD_STATE_CONTROL, true, PDT_CONTROL, 1, ReadLv3 | WriteLv3 }, + { PID_TABLE_REFERENCE, false, PDT_UNSIGNED_LONG, 1, ReadLv3 | WriteLv0 }, + { PID_ERROR_CODE, false, PDT_ENUM8, 1, ReadLv3 | WriteLv0 }, }; + static uint8_t _propertyCount = sizeof(_propertyDescriptions) / sizeof(PropertyDescription); uint8_t AddressTableObject::propertyCount() diff --git a/src/knx/application_program_object.cpp b/src/knx/application_program_object.cpp index c6dee8a..23e76fe 100644 --- a/src/knx/application_program_object.cpp +++ b/src/knx/application_program_object.cpp @@ -90,7 +90,12 @@ uint8_t* ApplicationProgramObject::restore(uint8_t* buffer) static PropertyDescription _propertyDescriptions[] = { - { PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0 } + { PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0 }, + { PID_LOAD_STATE_CONTROL, true, PDT_CONTROL, 1, ReadLv3 | WriteLv3 }, + { PID_TABLE_REFERENCE, false, PDT_UNSIGNED_LONG, 1, ReadLv3 | WriteLv0 }, + { PID_ERROR_CODE, false, PDT_ENUM8, 1, ReadLv3 | WriteLv0 }, + { PID_PEI_TYPE, false, PDT_UNSIGNED_CHAR, 1, ReadLv3 | WriteLv0 }, + { PID_PROG_VERSION, true, PDT_GENERIC_05, 1, ReadLv3 | WriteLv3 }, }; static uint8_t _propertyCount = sizeof(_propertyDescriptions) / sizeof(PropertyDescription); diff --git a/src/knx/association_table_object.cpp b/src/knx/association_table_object.cpp index 7f3aa95..6f68180 100644 --- a/src/knx/association_table_object.cpp +++ b/src/knx/association_table_object.cpp @@ -72,7 +72,10 @@ void AssociationTableObject::beforeStateChange(LoadState& newState) static PropertyDescription _propertyDescriptions[] = { { PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0 }, - { PID_TABLE, false, PDT_GENERIC_02, 254, ReadLv3 | WriteLv0 } + { PID_TABLE, false, PDT_GENERIC_02, 254, ReadLv3 | WriteLv0 }, + { PID_LOAD_STATE_CONTROL, true, PDT_CONTROL, 1, ReadLv3 | WriteLv3 }, + { PID_TABLE_REFERENCE, false, PDT_UNSIGNED_LONG, 1, ReadLv3 | WriteLv0 }, + { PID_ERROR_CODE, false, PDT_ENUM8, 1, ReadLv3 | WriteLv0 }, }; static uint8_t _propertyCount = sizeof(_propertyDescriptions) / sizeof(PropertyDescription); diff --git a/src/knx/group_object_table_object.cpp b/src/knx/group_object_table_object.cpp index f435b57..022cada 100644 --- a/src/knx/group_object_table_object.cpp +++ b/src/knx/group_object_table_object.cpp @@ -126,7 +126,10 @@ bool GroupObjectTableObject::initGroupObjects() static PropertyDescription _propertyDescriptions[] = { - { PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0 } + { PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0 }, + { PID_LOAD_STATE_CONTROL, true, PDT_CONTROL, 1, ReadLv3 | WriteLv3 }, + { PID_TABLE_REFERENCE, false, PDT_UNSIGNED_LONG, 1, ReadLv3 | WriteLv0 }, + { PID_ERROR_CODE, false, PDT_ENUM8, 1, ReadLv3 | WriteLv0 }, }; static uint8_t _propertyCount = sizeof(_propertyDescriptions) / sizeof(PropertyDescription);