summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
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
2014-02-14Add an option to pad outgoing CAN frames to 8 bytes (on by default).Christopher Peplin4-12/+76
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
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
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
2014-01-05Log when sending a new diagnositc request.Christopher Peplin1-0/+16
2014-01-05Update API in README to match actual code.Christopher Peplin1-1/+1
2014-01-05Add imports and return values to allow compiling with projects.Christopher Peplin2-3/+20
2014-01-03Add dependencies to README.Christopher Peplin1-1/+8
2014-01-03Move notes lower down in README.Christopher Peplin1-11/+12
2014-01-03Document all remaining methods and data structures.Christopher Peplin3-50/+129
2014-01-03Remove a resolved TODO.Christopher Peplin1-5/+0
2014-01-03Split up header file for clarity.Christopher Peplin3-143/+238
2014-01-03Greatly expand API example in README.Christopher Peplin4-51/+155
2014-01-03Clean up the primary diag request handler.Christopher Peplin3-124/+106
2014-01-03Test receiving a negative response.Christopher Peplin2-3/+31
2014-01-03Test receiving a CAN frame to an already completed message.Christopher Peplin1-0/+35
2014-01-03Remove a resolved TODO.Christopher Peplin1-2/+0