Add BACnet reinitialized state names and parser (#1228)

This commit is contained in:
Steve Karg
2026-02-13 10:23:25 -06:00
committed by GitHub
parent 4cc8067c86
commit c9f2836025
4 changed files with 44 additions and 1 deletions
+9 -1
View File
@@ -50,7 +50,15 @@ static void testBacText(void)
zassert_equal(index, i, "index=%u i=%u", index, i);
}
}
/* BACNET_REINITIALIZED_STATE */
for (i = 0; i < BACNET_REINIT_MAX; i++) {
pString = bactext_reinitialized_state_name_default(i, NULL);
if (pString) {
status = bactext_reinitialized_state_strtol(pString, &index);
zassert_true(status, "i=%u", i);
zassert_equal(index, i, "index=%u i=%u", index, i);
}
}
/* BACNET_APPLICATION_TAG */
for (i = 0; i < BACNET_APPLICATION_TAG_EXTENDED_MAX; i++) {
pString = bactext_application_tag_name(i);