Changed AtomicWriteFile handler to return complex Ack instead of Simple Ack.

This commit is contained in:
skarg
2007-02-26 00:05:19 +00:00
parent d119f3cacc
commit ca1af32d7c
+2 -3
View File
@@ -112,9 +112,8 @@ void handler_atomic_write_file(uint8_t * service_request,
} else if (data.access == FILE_STREAM_ACCESS) { } else if (data.access == FILE_STREAM_ACCESS) {
if (bacfile_write_stream_data(&data)) { if (bacfile_write_stream_data(&data)) {
len = len =
encode_simple_ack(&Handler_Transmit_Buffer[pdu_len], awf_ack_encode_apdu(&Handler_Transmit_Buffer
service_data->invoke_id, [pdu_len], service_data->invoke_id, &data);
SERVICE_CONFIRMED_ATOMIC_WRITE_FILE);
} else { } else {
error = true; error = true;
error_class = ERROR_CLASS_OBJECT; error_class = ERROR_CLASS_OBJECT;