Issues/issue 787 app bacepics misses optional parameters for the device object (#789)

* Added some optional properties into the object property lists up to protocol-revision 22

* Added serial-number property to basic device object example.
This commit is contained in:
Steve Karg
2024-09-27 16:22:58 -05:00
committed by GitHub
parent 3eee88dd31
commit 7b18add6d3
5 changed files with 479 additions and 110 deletions
+4 -1
View File
@@ -8,6 +8,7 @@
*/
#include <zephyr/ztest.h>
#include <bacnet/property.h>
#include <bacnet/bactext.h>
/**
* @addtogroup bacnet_tests
@@ -49,7 +50,9 @@ static void testPropList(void)
object_name++;
}
}
zassert_equal(object_type, 1, NULL);
zassert_equal(
object_type, 1, "%s: duplicate object type property",
bactext_object_type_name((BACNET_OBJECT_TYPE)i));
zassert_equal(object_id, 1, NULL);
zassert_equal(object_name, 1, NULL);
/* test member function */