reduce max isotp message size. see OpenXC vi-firmware issue #375 https://github.com...
[apps/low-level-can-service.git] / src / isotp / isotp_types.h
index 6ae3a79..3b7fd26 100644 (file)
@@ -10,7 +10,7 @@
 // TODO we want to avoid malloc, and we can't be allocated 4K on the stack for
 // each IsoTpMessage, so for now we're setting an artificial max message size
 // here - for most multi-frame use cases, 256 bytes is plenty.
-#define OUR_MAX_ISO_TP_MESSAGE_SIZE 256
+#define OUR_MAX_ISO_TP_MESSAGE_SIZE 127
 
 /* Private: IsoTp nibble specifics for PCI and Payload.
  */