Problem: download USF file - FOTA EHS6 | Thales IoT Developer Community
July 31, 2018 - 3:50pm, 1287 views
I want update the firmware of EHS6 and I'm using the FOTA example from: https://iot-developer.thalesgroup.com/showcase/fota-example-firmware-upd... .
I have a problem with download of usf file: when the download this file is done the program uses a function called "cleanResources()" for close all connections and streams. When the program tries close the stream "BufferedOutputStream" called "buffered_file_os", either it can't do it or can close after a long time (45 mins ~ 1:30).
Already comment the line "buffered_file_os.join();" and the installation bricked the module EHS6.
Any idea for solve the problem of dont close the stream ??