Revert "Added segmentation support for server reply. (#974)"

This reverts commit 3ea710f92f.
This commit is contained in:
Steve Karg
2025-11-17 22:26:50 -06:00
parent 003073b71e
commit 2a6c251803
25 changed files with 144 additions and 2112 deletions
+1 -4
View File
@@ -108,9 +108,7 @@ void handler_device_communication_control(
debug_print("DeviceCommunicationControl: "
"Missing Required Parameter. Sending Reject!\n");
goto DCC_FAILURE;
}
#if !BACNET_SEGMENTATION_ENABLED
else if (service_data->segmented_message) {
} else if (service_data->segmented_message) {
len = abort_encode_apdu(
&Handler_Transmit_Buffer[pdu_len], service_data->invoke_id,
ABORT_REASON_SEGMENTATION_NOT_SUPPORTED, true);
@@ -118,7 +116,6 @@ void handler_device_communication_control(
"Sending Abort - segmented message.\n");
goto DCC_FAILURE;
}
#endif
/* decode the service request only */
len = dcc_decode_service_request(
service_request, service_len, &timeDuration, &state, &password);