summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Christopher Peplin [Sun, 21 Sep 2014 01:58:35 +0000 (21:58 -0400)]
Merge remote-tracking branch 'origin/latest-nanopb' into passthrough-command
Conflicts:
gen/cpp/openxc.pb.c
gen/cpp/openxc.pb.h
Christopher Peplin [Sun, 21 Sep 2014 01:47:09 +0000 (21:47 -0400)]
Add passthrough command and refactor commands in binary format.
The ControlCommand is now more like a VehicleMessage - it has a 'type'
and many optional fields pointing to the various types. If the type is
diagnostic, the client should look at the diagnostic_request field.
Christopher Peplin [Wed, 17 Sep 2014 03:03:32 +0000 (23:03 -0400)]
Re-build with nanopb v0.3.1.
Christopher Peplin [Fri, 5 Sep 2014 02:37:07 +0000 (22:37 -0400)]
Note that 0x prefix on hex strings is optional.
Christopher Peplin [Tue, 12 Aug 2014 03:36:39 +0000 (23:36 -0400)]
Move action field to ControlCommand in binary format.
Christopher Peplin [Mon, 11 Aug 2014 02:05:11 +0000 (22:05 -0400)]
Add a 'status' field to command responses.
Christopher Peplin [Mon, 11 Aug 2014 01:51:13 +0000 (21:51 -0400)]
Remove 'update' feature of diag request commands.
Christopher Peplin [Tue, 5 Aug 2014 02:04:57 +0000 (22:04 -0400)]
Require an 'action' in diagnostic requests.
It wasn't very clean to try and infer a delete/create/update based on
the value of the frequency field - this will require a little more code,
but as they say in Python, explicit is better than implicit.
Fixed https://github.com/openxc/openxc-message-format/issues/12
Christopher Peplin [Tue, 5 Aug 2014 01:41:35 +0000 (21:41 -0400)]
Explain when to use JSON vs. binary.
Christopher Peplin [Tue, 5 Aug 2014 01:36:47 +0000 (21:36 -0400)]
Expand diagnostic mode field to a full byte's range.
Fixed #10.
Christopher Peplin [Wed, 25 Jun 2014 22:52:43 +0000 (18:52 -0400)]
Add 'extras' field to JSON messages for custom data.
Christopher Peplin [Wed, 25 Jun 2014 22:49:03 +0000 (18:49 -0400)]
Make the protobuf format more clear in README.
Christopher Peplin [Wed, 25 Jun 2014 22:47:21 +0000 (18:47 -0400)]
Merge remote-tracking branch 'origin/master' into next
Christopher Peplin [Thu, 12 Jun 2014 03:28:53 +0000 (23:28 -0400)]
Remove factor and offset from diag requests - left up to clients.
Christopher Peplin [Sun, 25 May 2014 01:30:12 +0000 (21:30 -0400)]
Fix typo in example for raw message format.
Christopher Peplin [Tue, 29 Apr 2014 04:04:31 +0000 (00:04 -0400)]
Bump to next dev release.
Christopher Peplin [Tue, 29 Apr 2014 04:03:10 +0000 (00:03 -0400)]
Bump to v0.3.
Christopher Peplin [Tue, 29 Apr 2014 04:01:13 +0000 (00:01 -0400)]
Add version to README.
Christopher Peplin [Tue, 29 Apr 2014 03:03:44 +0000 (23:03 -0400)]
Merge remote-tracking branch 'origin/master' into diagnostic
Christopher Peplin [Sun, 13 Apr 2014 22:36:55 +0000 (18:36 -0400)]
Bump copyright date.
Christopher Peplin [Sun, 13 Apr 2014 22:36:34 +0000 (18:36 -0400)]
Add a quick list of the output from a build with OBD-II enabled.
Christopher Peplin [Wed, 9 Apr 2014 02:52:25 +0000 (22:52 -0400)]
Merge pull request #9 from dret/master
more gears
Erik Wilde [Tue, 8 Apr 2014 22:19:45 +0000 (15:19 -0700)]
more gears
with consumer vehicles now routinely having 8-speed gearboxes, gear_lever_position should go at least up to eighth, and maybe to be on the safe side even up to tenth. transmission_gear_position already went up to eighth, but for consistency it now also goes all the way up to tenth.
Christopher Peplin [Thu, 27 Mar 2014 15:52:14 +0000 (11:52 -0400)]
Clarify that 'newline' in trace file may or may not have \r.
Christopher Peplin [Thu, 27 Mar 2014 15:38:33 +0000 (11:38 -0400)]
Document delimiters for both formats.
Christopher Peplin [Wed, 26 Mar 2014 17:57:36 +0000 (13:57 -0400)]
Clarify how diagnostic requests are identified, updated and cancelled.
Christopher Peplin [Wed, 26 Mar 2014 14:48:29 +0000 (10:48 -0400)]
Refactor diagnostic fields for decoding payload.
Christopher Peplin [Wed, 26 Mar 2014 12:53:09 +0000 (08:53 -0400)]
Remove parse_payload from diagnostic messages, it's not needed.
Christopher Peplin [Sun, 23 Mar 2014 20:26:33 +0000 (16:26 -0400)]
Elaborate on 'name' field for diagnostic requests.
Christopher Peplin [Sun, 23 Mar 2014 20:05:53 +0000 (16:05 -0400)]
Make negative diagnostic response format clearer.
Christopher Peplin [Sat, 22 Mar 2014 20:05:33 +0000 (16:05 -0400)]
Add 'success' field to example diagnostic response.
Christopher Peplin [Sat, 22 Mar 2014 18:27:33 +0000 (14:27 -0400)]
Document command queries and responses.
Christopher Peplin [Thu, 20 Mar 2014 18:44:58 +0000 (14:44 -0400)]
Require byte arrays in JSON hex strings to have 2 chars per byte.
Christopher Peplin [Sat, 15 Mar 2014 16:54:35 +0000 (12:54 -0400)]
Add 'name' and 'multiple_responses' fields to diag requests.
Christopher Peplin [Thu, 6 Mar 2014 22:01:46 +0000 (17:01 -0500)]
Add CommandResponse type to VehicleMessage (from VI to host).
Christopher Peplin [Tue, 4 Mar 2014 20:28:14 +0000 (15:28 -0500)]
Condense string/number/bool trio into a field.
Christopher Peplin [Tue, 4 Mar 2014 19:47:23 +0000 (14:47 -0500)]
Remove duplicate generate files.
Christopher Peplin [Tue, 4 Mar 2014 18:35:02 +0000 (13:35 -0500)]
Move ControlCommand inside VehicleMessage so it can be on same stream.
Christopher Peplin [Mon, 3 Mar 2014 20:36:35 +0000 (15:36 -0500)]
Add a draft protobuf format for diagnostic requests.
Christopher Peplin [Fri, 28 Feb 2014 19:48:36 +0000 (14:48 -0500)]
Add details about updating diag requests.
Christopher Peplin [Fri, 28 Feb 2014 19:47:09 +0000 (14:47 -0500)]
Move 'frequency' field inside 'request' object of diag command.
Christopher Peplin [Fri, 28 Feb 2014 19:43:26 +0000 (14:43 -0500)]
Add more optional fields to diag requests and responses.
Christopher Peplin [Wed, 19 Feb 2014 21:05:59 +0000 (16:05 -0500)]
Add a value field to diagnostic responses for parsed payloads.
Christopher Peplin [Fri, 17 Jan 2014 21:38:23 +0000 (16:38 -0500)]
Store raw CAN payload in bytes instead of uint64_t.
Christopher Peplin [Fri, 17 Jan 2014 20:05:27 +0000 (15:05 -0500)]
Merge branch 'master' into diagnostic
Christopher Peplin [Fri, 17 Jan 2014 20:05:13 +0000 (15:05 -0500)]
Ignore dirty submodules (generated files in nanopb).
Christopher Peplin [Fri, 17 Jan 2014 19:43:05 +0000 (14:43 -0500)]
Add Diagnostic type within VehicleMessage supertype.
Christopher Peplin [Fri, 17 Jan 2014 19:31:39 +0000 (14:31 -0500)]
Store diagnostic response payload as a byte array in protobuf.
Christopher Peplin [Fri, 17 Jan 2014 19:12:42 +0000 (14:12 -0500)]
Add a protobuf type for diagnostic message responses.
Christopher Peplin [Fri, 17 Jan 2014 19:02:38 +0000 (14:02 -0500)]
Update nanopb to 0.2.5 and fix max string length options.
Christopher Peplin [Tue, 7 Jan 2014 20:01:34 +0000 (15:01 -0500)]
Draft an idea of what the diagnostic request/response format will be.
Christopher Peplin [Thu, 24 Oct 2013 14:09:30 +0000 (10:09 -0400)]
Minimize the number of separate protobuf types.
Christopher Peplin [Thu, 24 Oct 2013 13:56:07 +0000 (09:56 -0400)]
Revert "Switch back to many subtypes for binary messages."
This reverts commit
3e954ea9c44bdd00b39d3f0d2cc43662e633c891.
Christopher Peplin [Thu, 24 Oct 2013 13:56:02 +0000 (09:56 -0400)]
Revert "Restore accidentally deleted data field from raw message."
This reverts commit
e4a78ec9935af3b19d314e88b0ed935789162ca8.
Christopher Peplin [Wed, 23 Oct 2013 13:55:14 +0000 (09:55 -0400)]
Restore accidentally deleted data field from raw message.
Christopher Peplin [Wed, 23 Oct 2013 13:02:33 +0000 (09:02 -0400)]
Switch back to many subtypes for binary messages.
Some protobuf libraries don't support checking if a field exists (they
always return a default value), so although this style has more code it
is easier to support.
Christopher Peplin [Wed, 9 Oct 2013 18:29:00 +0000 (14:29 -0400)]
Fix package name of generated protobuf objects.
Christopher Peplin [Sat, 5 Oct 2013 20:25:51 +0000 (16:25 -0400)]
Switch raw data field to uint64 to fit all values and update benchmark.
Christopher Peplin [Sat, 5 Oct 2013 20:17:43 +0000 (16:17 -0400)]
Remove timestamp from trace JSON before benchmarking - oops!
The size savings is now about 35%, not 55%.
Christopher Peplin [Sat, 5 Oct 2013 20:08:56 +0000 (16:08 -0400)]
Update benchmark tool for latest protobuf format.
Christopher Peplin [Fri, 4 Oct 2013 23:31:51 +0000 (19:31 -0400)]
Merge all sub-types into a single TranslatedMessage type.
Christopher Peplin [Tue, 1 Oct 2013 20:56:35 +0000 (16:56 -0400)]
Add generated protobuf implementations.
Christopher Peplin [Tue, 1 Oct 2013 18:46:03 +0000 (14:46 -0400)]
Add a bus field to RawMessage and make data an 64-bit int.
Christopher Peplin [Tue, 1 Oct 2013 03:32:29 +0000 (23:32 -0400)]
Add an options file to enable static memory with nanopb.
Christopher Peplin [Tue, 1 Oct 2013 01:19:06 +0000 (21:19 -0400)]
Move proto definition to top level.
Christopher Peplin [Mon, 30 Sep 2013 20:07:27 +0000 (16:07 -0400)]
Use a container type to be able to stream protobufs.
Christopher Peplin [Thu, 22 Aug 2013 20:57:54 +0000 (16:57 -0400)]
Benchmark how much overhead each encoding adds vs raw CAN.
Christopher Peplin [Thu, 22 Aug 2013 14:57:48 +0000 (10:57 -0400)]
Benchmark encoding translated messages as binary, too.
Results for all of my trace files:
> ./compare_sizes.py ~/ownCloud/OpenXC\ Traces/peplin/**/*.json 1
For the 89 trace files given...
Total transferred raw JSON size is 13.3MB
Total transferred raw binary size is 2.1MB
Total transferred translated JSON size is 791.0MB
Total transferred translated binary size is 318.6MB
Total transferred JSON size is 804.3MB
Total transferred binary size is 320.6MB
Binary encoding is 84.328494% smaller than JSON for raw messages
Binary encoding is 59.727489% smaller than JSON for translated messages
Binary encoding is 60.133196% smaller than JSON overall
Christopher Peplin [Thu, 22 Aug 2013 14:35:35 +0000 (10:35 -0400)]
Add benchmarking tests for binary encoding (moved from cantranslator).
Christopher Peplin [Fri, 22 Nov 2013 15:20:17 +0000 (10:20 -0500)]
Document trace file format.
Christopher Peplin [Tue, 5 Nov 2013 19:04:24 +0000 (14:04 -0500)]
Add frequency to gear_lever_position
Christopher Peplin [Wed, 9 Oct 2013 16:51:35 +0000 (12:51 -0400)]
Move frequencies here from the OpenXC site.
Christopher Peplin [Thu, 26 Sep 2013 13:24:31 +0000 (09:24 -0400)]
Document the RAW message format, including the bus attribute.
Christopher Peplin [Thu, 8 Aug 2013 14:34:59 +0000 (10:34 -0400)]
Add a gear_lever_position signal to official set.
This signal is primarily used on vehicles with continuously variable
transmissions, where the transmission_gear_position signal is not
useful.
Christopher Peplin [Fri, 3 May 2013 16:28:54 +0000 (12:28 -0400)]
Add license and official signal list.
Christopher Peplin [Fri, 3 May 2013 16:16:55 +0000 (12:16 -0400)]
Don't use pygments highlighting in README.
Christopher Peplin [Fri, 3 May 2013 16:15:49 +0000 (12:15 -0400)]
Initial commit, moved from openxcplatform.com.