summaryrefslogtreecommitdiffstats
path: root/src/uds
diff options
context:
space:
mode:
authorZac Nelson <znelson1@ford.com>2016-10-05 10:25:09 -0700
committerGitHub <noreply@github.com>2016-10-05 10:25:09 -0700
commite506334e270d77b20c0bc259ac6c7d8c9b702b7a (patch)
tree69cd198b323ec496a133a19e90a7776520daab36 /src/uds
parentb28b20aa8e3d14745ed90f80013878e2ccd9ff6c (diff)
Reduce max response payload size. (#7)
* reduce max payload size. see OpenXC vi-firmware issue #375 https://github.com/openxc/vi-firmware/issues/375. * update isotp dependency with reduce isotp message size.
Diffstat (limited to 'src/uds')
-rw-r--r--src/uds/uds_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uds/uds_types.h b/src/uds/uds_types.h
index 66bf7437..4ebc150c 100644
--- a/src/uds/uds_types.h
+++ b/src/uds/uds_types.h
@@ -11,7 +11,7 @@ extern "C" {
// TODO This still doesn't have enough space for the largest possible
// multiframe response. May need to dynamically allocate in the future.
-#define MAX_UDS_RESPONSE_PAYLOAD_LENGTH 255
+#define MAX_UDS_RESPONSE_PAYLOAD_LENGTH 127
#define MAX_UDS_REQUEST_PAYLOAD_LENGTH 7
#define MAX_RESPONDING_ECU_COUNT 8
#define VIN_LENGTH 17