diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-03-06 00:23:55 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-03-06 00:23:55 -0500 |
commit | cf4d4348421c7a2e8887fae39c7e9ab21a70666c (patch) | |
tree | b15ad6d9216f765db531ff398a3deb55fec38ff9 /src/uds/uds.c | |
parent | 2625fea56a1e220694ad6805bc9047f10f7c8c47 (diff) |
Add a function to check if a request is completely sent.
Diffstat (limited to 'src/uds/uds.c')
-rw-r--r-- | src/uds/uds.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uds/uds.c b/src/uds/uds.c index 31205f4b..1157949c 100644 --- a/src/uds/uds.c +++ b/src/uds/uds.c @@ -92,6 +92,10 @@ static void send_diagnostic_request(DiagnosticShims* shims, } } +bool diagnostic_request_sent(DiagnosticRequestHandle* handle) { + return handle->isotp_send_handle.completed; +} + void start_diagnostic_request(DiagnosticShims* shims, DiagnosticRequestHandle* handle) { handle->success = false; |