mirror of
https://github.com/thelsing/knx.git
synced 2025-01-02 00:06:43 +01:00
bugfixing
This commit is contained in:
parent
ca27ff4ab3
commit
729c06357a
@ -10,7 +10,7 @@ ApplicationProgramObject::ApplicationProgramObject(Memory& memory)
|
|||||||
Property* properties[] =
|
Property* properties[] =
|
||||||
{
|
{
|
||||||
new DataProperty(PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0, (uint16_t)OT_APPLICATION_PROG),
|
new DataProperty(PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0, (uint16_t)OT_APPLICATION_PROG),
|
||||||
new DataProperty(PID_PROG_VERSION, true, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv3),
|
new DataProperty(PID_PROG_VERSION, true, PDT_GENERIC_05, 1, ReadLv3 | WriteLv3),
|
||||||
new CallbackProperty<ApplicationProgramObject>(this, PID_PEI_TYPE, false, PDT_UNSIGNED_CHAR, 1, ReadLv3 | WriteLv0,
|
new CallbackProperty<ApplicationProgramObject>(this, PID_PEI_TYPE, false, PDT_UNSIGNED_CHAR, 1, ReadLv3 | WriteLv0,
|
||||||
[](ApplicationProgramObject* io, uint16_t start, uint8_t count, uint8_t* data) -> uint8_t {
|
[](ApplicationProgramObject* io, uint16_t start, uint8_t count, uint8_t* data) -> uint8_t {
|
||||||
if (start == 0)
|
if (start == 0)
|
||||||
|
@ -11,7 +11,8 @@ AssociationTableObject::AssociationTableObject(Memory& memory)
|
|||||||
{
|
{
|
||||||
Property* properties[] =
|
Property* properties[] =
|
||||||
{
|
{
|
||||||
new DataProperty(PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0, (uint16_t)OT_ASSOC_TABLE)
|
new DataProperty(PID_OBJECT_TYPE, false, PDT_UNSIGNED_INT, 1, ReadLv3 | WriteLv0, (uint16_t)OT_ASSOC_TABLE),
|
||||||
|
new DataProperty(PID_TABLE, false, PDT_GENERIC_04, 65535, ReadLv3 | WriteLv0) //FIXME: implement correctly
|
||||||
};
|
};
|
||||||
|
|
||||||
TableObject::initializeProperties(sizeof(properties), properties);
|
TableObject::initializeProperties(sizeof(properties), properties);
|
||||||
|
Loading…
Reference in New Issue
Block a user