Bugfix/read property multiple client errors (#765)
* Fixed variable data type for boolean in RPM structure. * Fixed RPM error handling to use callback. * Fixed bacrpm app example when not enough command line parameters are used * Fixed empty-list EPICS printing. * Fixed RPM-Ack processing for end of list-of-results * Added minimal handling for segmentation-not-supported during RPM of object properties.
This commit is contained in:
+4
-1
@@ -3278,6 +3278,9 @@ int bacapp_snprintf_value(
|
||||
str, str_len, &value->type.Shed_Level);
|
||||
break;
|
||||
#endif
|
||||
case BACNET_APPLICATION_TAG_EMPTYLIST:
|
||||
ret_val = bacapp_snprintf(str, str_len, "{}");
|
||||
break;
|
||||
default:
|
||||
ret_val = bacapp_snprintf(
|
||||
str, str_len, "UnknownType(tag=%d)", value->tag);
|
||||
@@ -3922,7 +3925,7 @@ void bacapp_value_list_init(BACNET_APPLICATION_DATA_VALUE *value, size_t count)
|
||||
if (value && count) {
|
||||
for (i = 0; i < count; i++) {
|
||||
value->tag = BACNET_APPLICATION_TAG_NULL;
|
||||
value->context_specific = 0;
|
||||
value->context_specific = false;
|
||||
value->context_tag = 0;
|
||||
if ((i + 1) < count) {
|
||||
value->next = value + 1;
|
||||
|
||||
Reference in New Issue
Block a user