From e506334e270d77b20c0bc259ac6c7d8c9b702b7a Mon Sep 17 00:00:00 2001 From: Zac Nelson Date: Wed, 5 Oct 2016 10:25:09 -0700 Subject: 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. --- src/uds/uds_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/uds') diff --git a/src/uds/uds_types.h b/src/uds/uds_types.h index 66bf743..4ebc150 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 -- cgit 1.2.3-korg