Oscbs 33 ci zephyr port (#375)

* zephyr: twister build fixes/patches

* zephyr: hack: suppress bvlc test (build failures)

Co-authored-by: Gregory Shue <gregory.shue@legrand.com>
This commit is contained in:
Greg Shue
2023-01-05 16:53:29 -08:00
committed by GitHub
parent c9efd0b84d
commit b8d345679b
9 changed files with 34 additions and 19 deletions
+15 -16
View File
@@ -783,14 +783,13 @@ int event_notify_decode_service_request(
switch (tag_number) {
case BACNET_APPLICATION_TAG_ENUMERATED:
if (-1 == (section_length =
decode_enumerated(&apdu[len],
len_value,
&data->
notificationParams.commandFailure.
commandValue.binaryValue))) {
if (-1 ==
(section_length = decode_enumerated(
&apdu[len], len_value, &enum_value))) {
return -1;
}
data->notificationParams.commandFailure
.commandValue.binaryValue = enum_value;
break;
case BACNET_APPLICATION_TAG_UNSIGNED_INT:
@@ -835,14 +834,13 @@ int event_notify_decode_service_request(
switch (tag_number) {
case BACNET_APPLICATION_TAG_ENUMERATED:
if (-1 == (section_length =
decode_enumerated(&apdu[len],
len_value,
&data->
notificationParams.commandFailure.
feedbackValue.binaryValue))) {
if (-1 ==
(section_length = decode_enumerated(
&apdu[len], len_value, &enum_value))) {
return -1;
}
data->notificationParams.commandFailure
.feedbackValue.binaryValue = enum_value;
break;
case BACNET_APPLICATION_TAG_UNSIGNED_INT:
@@ -1058,12 +1056,13 @@ int event_notify_decode_service_request(
break;
case EVENT_ACCESS_EVENT:
if (-1 == (section_length =
decode_context_enumerated(&apdu[len], 0,
&data->notificationParams.
accessEvent.accessEvent))) {
if (-1 ==
(section_length = decode_context_enumerated(
&apdu[len], 0, &enum_value))) {
return -1;
}
data->notificationParams.accessEvent.accessEvent =
enum_value;
len += section_length;
if (-1 == (section_length =