summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Expand)AuthorFilesLines
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
2014-02-14Add an option to pad outgoing CAN frames to 8 bytes (on by default).Christopher Peplin2-1/+7
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-16/+16
2014-01-17Mark whether a PID is present in response.Christopher Peplin2-4/+8
2014-01-15Preserve compatibility with C89 mode.Christopher Peplin1-2/+4
2014-01-15Accept functional broadcast responses to a range of arb IDs.Christopher Peplin3-36/+54
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 Peplin1-1/+2
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 Peplin1-3/+9
2014-01-07Don't complete requests if mode or PID didn't match.Christopher Peplin1-15/+13
2014-01-07Add a constant for the functional broadcast address 0x7df.Christopher Peplin1-0/+2
2014-01-07Don't walk off the end of the payload array.Christopher Peplin1-2/+1
2014-01-06Grab PID from response without dereffing a type punned pointer.Christopher Peplin1-4/+2
2014-01-06Mark request handle and response completed even if an error ocurred.Christopher Peplin1-1/+13
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 Peplin1-4/+2
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-05Add imports and return values to allow compiling with projects.Christopher Peplin2-3/+20
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 Peplin1-1/+1
2014-01-03Clean up the primary diag request handler.Christopher Peplin2-121/+104
2014-01-03Test receiving a negative response.Christopher Peplin1-3/+5
2014-01-03Remove a resolved TODO.Christopher Peplin1-2/+0