aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2016-09-14Multi frame (#6)Zac Nelson1-13/+85
* 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-02-27Increase arb IDs to uint32_t to fit extended IDs.Christopher Peplin1-2/+2
2014-02-26Optionally split up preparing a diag request and actually sending it.Christopher Peplin1-6/+63
2014-02-14Clarify when we are using int vs float and move decoders up a level.Christopher Peplin1-3/+3
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 Peplin1-6/+62
Fixed #3.
2014-01-24Automatically set pid length for outgoing requests if not specified.Christopher Peplin1-0/+26
2014-01-20Add a function to parse the entire payload as a float.Christopher Peplin1-0/+15
2014-01-20Rename from simply obd2 to more general UDS (unified diagnostics).Christopher Peplin2-3/+3
Fixed #1.
2014-01-17Mark whether a PID is present in response.Christopher Peplin1-2/+4
2014-01-15Accept functional broadcast responses to a range of arb IDs.Christopher Peplin1-44/+45
2014-01-08Reject a response that should have had PID but did not.Christopher Peplin1-0/+16
2014-01-07Prep request handler to receive again if we got wrong mode or PID.Christopher Peplin1-0/+25
2014-01-07Don't complete requests if mode or PID didn't match.Christopher Peplin1-5/+18
2014-01-07Add a constant for the functional broadcast address 0x7df.Christopher Peplin1-9/+8
2014-01-07Fix warnings, now that they're enabled!Christopher Peplin1-5/+4
2014-01-06Mark request handle and response completed even if an error ocurred.Christopher Peplin1-2/+5
Add extra logging and a few notes.
2014-01-03Greatly expand API example in README.Christopher Peplin1-1/+1
2014-01-03Clean up the primary diag request handler.Christopher Peplin1-3/+2
2014-01-03Test receiving a negative response.Christopher Peplin1-0/+26
2014-01-03Test receiving a CAN frame to an already completed message.Christopher Peplin1-0/+35
2014-01-03Test sending payload with diagnostic request.Christopher Peplin1-0/+29
2014-01-02Test basic diag request and response!Christopher Peplin1-10/+26
2014-01-02Draft implemenation of receiving and parsing single fram diag messages.Christopher Peplin2-10/+6
2014-01-02Match isotp receive_can_frame style, depend less on callbacks.Christopher Peplin1-6/+11
2013-12-30Add more failing tests before beginning implementation.Christopher Peplin1-6/+46
2013-12-30Add a failing test for a simple diag request/response.Christopher Peplin2-3/+106
2013-12-30Add skeleton of the API and data structures.Christopher Peplin2-2/+1
2013-12-30Initial commit.Christopher Peplin1-0/+37