Bugfix/issues 1082 AddListElement and RemoveListElement and Notification Class object (#1083)
* Fixed AddListElement and RemoveListElement which were checking the wrong return value from Device object. * Fixed decoding of ListElement Tag 0: Object ID instance. * Fixed Notification_Class_Add_List_Element() and Notification_Class_Remove_List_Element() element counter index, and empty slot detection. * Added bacnet_recipient_device_set() and bacnet_recipient_address_set() API * Added unit test coverage for Notification Class object.
This commit is contained in:
@@ -143,6 +143,7 @@ int list_element_decode_service_request(
|
||||
len += decode_object_id(&apdu[len], &object_type, &object_instance);
|
||||
if (list_element) {
|
||||
list_element->object_type = object_type;
|
||||
list_element->object_instance = object_instance;
|
||||
}
|
||||
/* Tag 1: Property ID */
|
||||
len +=
|
||||
|
||||
Reference in New Issue
Block a user