summaryrefslogtreecommitdiffstats
path: root/src/uds
AgeCommit message (Collapse)AuthorFilesLines
2016-09-14Multi frame (#6)Zac Nelson2-7/+14
* 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-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 Peplin3-7/+21
2014-02-26Optionally split up preparing a diag request and actually sending it.Christopher Peplin2-33/+82
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 Peplin3-14/+21
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 Peplin2-1/+7
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 Peplin2-7/+26
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 Peplin2-0/+9
2014-01-20Rename from simply obd2 to more general UDS (unified diagnostics).Christopher Peplin5-0/+645
Fixed #1.