Added DeleteObject and Cleanup support to basic CharacterString object (#886)

This commit is contained in:
Tomasz Kazimierz Motyl
2025-01-06 14:20:49 +00:00
committed by GitHub
parent 94b3809a58
commit 2ba59abbf8
4 changed files with 251 additions and 135 deletions
+3 -1
View File
@@ -30,10 +30,12 @@ static void testCharacterString_Value(void)
const int *pProprietary = NULL;
unsigned count = 0;
bool status = false;
uint32_t object_instance = BACNET_MAX_INSTANCE;
CharacterString_Value_Init();
object_instance = CharacterString_Value_Create(object_instance);
count = CharacterString_Value_Count();
zassert_true(count > 0, NULL);
zassert_true(count == 1, NULL);
rpdata.application_data = &apdu[0];
rpdata.application_data_len = sizeof(apdu);
rpdata.object_type = OBJECT_CHARACTERSTRING_VALUE;