Fixed issue in ISOTP_OPT::write where config.len was being used incorrectly and would not work if set to something different than the default value of 8. It was incorrectly being used to set the length of the first ISO-TP CAN frame.
Added function prototypes to use config.len as the message length definition rather than having to specify size separately. Makes more sense to specify it in the config. This will not change the behavior of the existing functions so will not effect compatibility but provides a better option.
Fixed issue in ISOTP_OPT::write where config.len was being used incorrectly and would not work if set to something different than the default value of 8. It was incorrectly being used to set the length of the first ISO-TP CAN frame.
Added function prototypes to use config.len as the message length definition rather than having to specify size separately. Makes more sense to specify it in the config. This will not change the behavior of the existing functions so will not effect compatibility but provides a better option.