-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Connor Rigby <[email protected]>
- Loading branch information
1 parent
8ef6f19
commit 148a6fc
Showing
14 changed files
with
3,028 additions
and
4 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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#pragma once | ||
|
||
#include "imgui.h" | ||
|
||
#include "conescan_db.h" | ||
|
||
namespace ConeScan { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#pragma once | ||
|
||
#include <stdint.h> | ||
|
||
#include "librx8.h" | ||
#include "console.h" | ||
|
||
#if defined(_WIN32) || defined(WIN32) || defined (_WIN64) || defined (WIN64) | ||
#include <Windows.h> | ||
#else | ||
#include <pthread.h> | ||
#endif | ||
|
||
struct UDSRequestDownload { | ||
unsigned long address; | ||
unsigned long startAddress; | ||
unsigned long endAddress; | ||
unsigned long transferSize; | ||
uint16_t transferChunkSize; | ||
|
||
float transferProgress; | ||
uint32_t transferBytes; | ||
char* payload; | ||
bool downloadinProgress; | ||
|
||
#if defined(_WIN32) || defined(WIN32) || defined (_WIN64) || defined (WIN64) | ||
DWORD threadID; | ||
HANDLE threadHandle; | ||
#else | ||
|
||
#endif | ||
|
||
}; | ||
|
||
void uds_request_start_download(RX8* ecu, struct UDSRequestDownload* request, ConeScan::Console* console); | ||
void uds_request_complete(struct UDSRequestDownload* request); |
Oops, something went wrong.