-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File management & firmware update features (#53)
* Refactored some models * Uniformed models * Reworking Downloader * Chunk size splitting * Working towards the end of session * Execute all callback calls on executor * Return success * The bit receive logic * Analyze current hash for every * Moved currentChunk increase * Simple test single chunk * Check status & report properly * Fix Travis build * More Travis build fixes * Bump to Bionic * Test ctor to separate into multiple chunks * Fixed first abort * More abort and abort tests * Most basic flow confirmed * Change to 2 threads for calls * More tests & refactor * Forgot sleeps * Runnable instances * Happy flow multiple chunks * Extend the sleep timing * Fixed the state issues * One chunk fail and redo test * Test where we rewind * Started work on UrlFileDownload session * Fixed wrap of DownloadTask * Implemented download logic * Unit tests for UrlFileDownloadSession * Started work on FileSystemManagement * Working on FileSystemManagement * Create file method * Finished FileSystemManagement * Finished protocol code, onto testing * Assembled everything, but can't debug * Init/delete/purge/lists work, can't get binary response/abort message * Working with executors * Working transfer, left to resolve last chunk * Fixed tests * Publish file list after deletions * Working last chunk * Check for already existing file, and check hash * Extra logging for users to be aware of file transfers * Expanded FileSystemManagement test to 100% * Unpruned enums * Better handling of IOExceptions * Fix topic in this error message * No more 16 retries, max 4 * Setup constructor mocking * Working on Unit Tests for FM * Started the FirmwareUpdateProtocol * Fully working example of FirmwareUpdate & FirmwareInstaller * Add the example file * Smore more tests * Half-way there for FM * Some fixes * Sleeps * Finished small handles * Finished FM tests * Firmware update tests * Done some requested changes * Renamed files & moved publishes to connect * Move DEFAULT_FILE location as final class value * General reformat * More requested changes * More changes * Fixed tests * Fully updated FirmwareUpdate * Fixed tests * Status after abort fix * Custom URL file downloader * Refactored SessionState out * Fixed tests & abort while downloading * Reformat code * Added README.md * Reorder methods & fix readme * Ignore the version file in management Co-authored-by: Astrihale <[email protected]>
- Loading branch information
Nenad Vuletić
and
Astrihale
authored
Nov 9, 2020
1 parent
e86f706
commit 526452f
Showing
41 changed files
with
4,723 additions
and
633 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ | |
/captures | ||
/out | ||
.gradletasknamecache | ||
|
||
*ssl*/ | ||
files/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.