Added function to encode the application tag value from a string. Added unit tests.

This commit is contained in:
skarg
2006-01-23 13:07:11 +00:00
parent 22db53dd00
commit 32b617b672
2 changed files with 361 additions and 65 deletions
+9
View File
@@ -73,10 +73,19 @@ int bacapp_encode_application_data(
uint8_t *apdu,
BACNET_APPLICATION_DATA_VALUE *value);
bool bacapp_copy(
BACNET_APPLICATION_DATA_VALUE *dest_value,
BACNET_APPLICATION_DATA_VALUE *src_value);
bool bacapp_compare(
BACNET_APPLICATION_DATA_VALUE *value,
BACNET_APPLICATION_DATA_VALUE *test_value);
bool bacapp_parse_application_data(
BACNET_APPLICATION_TAG tag_number,
const char *argv,
BACNET_APPLICATION_DATA_VALUE *value);
#ifdef TEST
#include "ctest.h"
void testBACnetApplicationData(Test * pTest);