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:
+15
-16
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user