summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-09Fix: wrong type not compatible with signature inRomain Forlot1-1/+1
isotp-c libs. Change-Id: Ie5709e5c0b7f25c4a1eab876a695c2d24f7fe936 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2016-10-05Reduce max response payload size. (#7)Zac Nelson2-31/+6
* 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.
2016-09-14fix isotp commit hash.Zac Nelson1-0/+32
2016-09-14Multi frame (#6)Zac Nelson5-26/+103
* increase payload size just for diag responses to support multi-frame responses. limited to 255 bytes for now. * not all diag requests with modes greater than 0xa have a 2 byte pid. need to check was pid_length should be based on the size of the pid. * remove line that does nothing. * add multi_frame field to DiagnosticResponse and update based on IsoTpMessage. Need this upstream for timeout calls specific to multi frame. * update isotp-c submodule. * update autoset_pid tests. check that pid_length is dynamically set based on pid value. adjust other tests to use 2-byte pid for enhanced diagnostic mode requests. * add test for multi-frame response. * update changelog.
2014-09-27Propagate errors from isotp-c when sending requests.Christopher Peplin1-2/+11
2014-09-27Fix rendering of message arb ID in strings - use hex, not decimal.Christopher Peplin1-4/+4
2014-07-19Remove old hipchat token from Travis CI config.Christopher Peplin1-3/+0
2014-03-26If an OBD-II PID is unrecognized, return fully parsed payload.Christopher Peplin1-1/+1
2014-03-14Force 0x3e "pid" (actually service ID) to be 1 byte.Christopher Peplin1-1/+1
2014-03-14Add NRC for incomplete messages.Christopher Peplin1-0/+1
2014-03-06Add a function to check if a request is completely sent.Christopher Peplin2-0/+11
2014-02-27Use proper format specifier for uint32_t.Christopher Peplin1-2/+3
2014-02-27Increase arb IDs to uint32_t to fit extended IDs.Christopher Peplin5-16/+28
2014-02-26Optionally split up preparing a diag request and actually sending it.Christopher Peplin3-39/+145
2014-02-19Quiet some misleading log messages.Christopher Peplin1-28/+10
2014-02-19Leave payload parsing to applications using this library.Christopher Peplin2-4/+2
2014-02-18Shorten the negative response code log message.Christopher Peplin1-1/+1
2014-02-14Only include PID in log output if request has one.Christopher Peplin1-3/+10
2014-02-14Show negative response codes in log output.Christopher Peplin1-6/+20
2014-02-14Add helper functions to render requests and responses as strings.Christopher Peplin2-35/+86
2014-02-14Clean up log output if a diag request has no payload.Christopher Peplin1-10/+19
2014-02-14Clarify when we are using int vs float and move decoders up a level.Christopher Peplin4-17/+24
Fixed #4 - the Decoder function type signature actually belonged one level higher, in the application, since there's no capability of actually using it in this library at the moment.
2014-02-14Add an option to pad outgoing CAN frames to 8 bytes (on by default).Christopher Peplin4-12/+76
Fixed #3.
2014-02-14Display mode in more recognizable hex format in log messages.Christopher Peplin1-2/+2
2014-01-24Add calculations for many OBD-II PID values.Christopher Peplin3-2/+39
2014-01-24Automatically set pid length for outgoing requests if not specified.Christopher Peplin3-7/+52
2014-01-24Remove a few resolved TODOs.Christopher Peplin1-5/+0
2014-01-24Wrap lines at 80 characters.Christopher Peplin1-6/+8
2014-01-20Don't try and rx broadcast response on all handles after one completes.Christopher Peplin1-2/+4
2014-01-20Add a function to parse the entire payload as a float.Christopher Peplin3-0/+24
2014-01-20Rename from simply obd2 to more general UDS (unified diagnostics).Christopher Peplin8-25/+27
Fixed #1.
2014-01-17Mark whether a PID is present in response.Christopher Peplin3-6/+12
2014-01-15Preserve compatibility with C89 mode.Christopher Peplin1-2/+4
2014-01-15Accept functional broadcast responses to a range of arb IDs.Christopher Peplin4-80/+99
2014-01-08Don't log incorrect negative response mode, just cap it at 0.Christopher Peplin1-2/+3
2014-01-08Reject a response that should have had PID but did not.Christopher Peplin2-1/+18
2014-01-08Add a function prototype for payloder decoders.Christopher Peplin1-0/+2
2014-01-07Add a placeholder function for decoding OBD-II PIDs.Christopher Peplin1-0/+3
2014-01-07Prep request handler to receive again if we got wrong mode or PID.Christopher Peplin2-3/+34
2014-01-07Don't complete requests if mode or PID didn't match.Christopher Peplin2-20/+31
2014-01-07Add a constant for the functional broadcast address 0x7df.Christopher Peplin3-13/+14
2014-01-07Fix warnings, now that they're enabled!Christopher Peplin1-5/+4
2014-01-07Don't walk off the end of the payload array.Christopher Peplin1-2/+1
2014-01-07Don't supress warnings when compiling, argh!Christopher Peplin1-1/+1
2014-01-06Grab PID from response without dereffing a type punned pointer.Christopher Peplin2-9/+7
2014-01-06Mark request handle and response completed even if an error ocurred.Christopher Peplin2-3/+18
Add extra logging and a few notes.
2014-01-06Make sure not to use a negative payload length.Christopher Peplin1-1/+5
2014-01-06Initialize outgoing payload to 0.Christopher Peplin1-1/+1
2014-01-06Use new set_bitfield function to handle swapping endianness.Christopher Peplin2-9/+7
2014-01-05Add a TODO about flipping byte order.Christopher Peplin1-1/+2