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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user