apps/agl-service-can-low-level.git
10 years agoBump to v0.3.
Christopher Peplin [Tue, 29 Apr 2014 04:03:10 +0000 (00:03 -0400)]
Bump to v0.3.

10 years agoAdd version to README.
Christopher Peplin [Tue, 29 Apr 2014 04:01:13 +0000 (00:01 -0400)]
Add version to README.

10 years agoMerge remote-tracking branch 'origin/master' into diagnostic
Christopher Peplin [Tue, 29 Apr 2014 03:03:44 +0000 (23:03 -0400)]
Merge remote-tracking branch 'origin/master' into diagnostic

10 years agoBump copyright date.
Christopher Peplin [Sun, 13 Apr 2014 22:36:55 +0000 (18:36 -0400)]
Bump copyright date.

10 years agoAdd a quick list of the output from a build with OBD-II enabled.
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.

10 years agoMerge pull request #9 from dret/master
Christopher Peplin [Wed, 9 Apr 2014 02:52:25 +0000 (22:52 -0400)]
Merge pull request #9 from dret/master

more gears

10 years agomore 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.

10 years agoClarify that 'newline' in trace file may or may not have \r.
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.

10 years agoDocument delimiters for both formats.
Christopher Peplin [Thu, 27 Mar 2014 15:38:33 +0000 (11:38 -0400)]
Document delimiters for both formats.

10 years agoClarify how diagnostic requests are identified, updated and cancelled.
Christopher Peplin [Wed, 26 Mar 2014 17:57:36 +0000 (13:57 -0400)]
Clarify how diagnostic requests are identified, updated and cancelled.

10 years agoRefactor diagnostic fields for decoding payload.
Christopher Peplin [Wed, 26 Mar 2014 14:48:29 +0000 (10:48 -0400)]
Refactor diagnostic fields for decoding payload.

10 years agoRemove parse_payload from diagnostic messages, it's not needed.
Christopher Peplin [Wed, 26 Mar 2014 12:53:09 +0000 (08:53 -0400)]
Remove parse_payload from diagnostic messages, it's not needed.

10 years agoElaborate on 'name' field for diagnostic requests.
Christopher Peplin [Sun, 23 Mar 2014 20:26:33 +0000 (16:26 -0400)]
Elaborate on 'name' field for diagnostic requests.

10 years agoMake negative diagnostic response format clearer.
Christopher Peplin [Sun, 23 Mar 2014 20:05:53 +0000 (16:05 -0400)]
Make negative diagnostic response format clearer.

10 years agoAdd 'success' field to example diagnostic response.
Christopher Peplin [Sat, 22 Mar 2014 20:05:33 +0000 (16:05 -0400)]
Add 'success' field to example diagnostic response.

10 years agoDocument command queries and responses.
Christopher Peplin [Sat, 22 Mar 2014 18:27:33 +0000 (14:27 -0400)]
Document command queries and responses.

10 years agoRequire byte arrays in JSON hex strings to have 2 chars per byte.
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.

10 years agoAdd 'name' and 'multiple_responses' fields to diag requests.
Christopher Peplin [Sat, 15 Mar 2014 16:54:35 +0000 (12:54 -0400)]
Add 'name' and 'multiple_responses' fields to diag requests.

10 years agoAdd CommandResponse type to VehicleMessage (from VI to host).
Christopher Peplin [Thu, 6 Mar 2014 22:01:46 +0000 (17:01 -0500)]
Add CommandResponse type to VehicleMessage (from VI to host).

10 years agoCondense string/number/bool trio into a field.
Christopher Peplin [Tue, 4 Mar 2014 20:28:14 +0000 (15:28 -0500)]
Condense string/number/bool trio into a field.

10 years agoRemove duplicate generate files.
Christopher Peplin [Tue, 4 Mar 2014 19:47:23 +0000 (14:47 -0500)]
Remove duplicate generate files.

10 years agoMove ControlCommand inside VehicleMessage so it can be on same stream.
Christopher Peplin [Tue, 4 Mar 2014 18:35:02 +0000 (13:35 -0500)]
Move ControlCommand inside VehicleMessage so it can be on same stream.

10 years agoAdd a draft protobuf format for diagnostic requests.
Christopher Peplin [Mon, 3 Mar 2014 20:36:35 +0000 (15:36 -0500)]
Add a draft protobuf format for diagnostic requests.

10 years agoAdd details about updating diag requests.
Christopher Peplin [Fri, 28 Feb 2014 19:48:36 +0000 (14:48 -0500)]
Add details about updating diag requests.

10 years agoMove 'frequency' field inside 'request' object of diag command.
Christopher Peplin [Fri, 28 Feb 2014 19:47:09 +0000 (14:47 -0500)]
Move 'frequency' field inside 'request' object of diag command.

10 years agoAdd more optional fields to diag requests and responses.
Christopher Peplin [Fri, 28 Feb 2014 19:43:26 +0000 (14:43 -0500)]
Add more optional fields to diag requests and responses.

10 years agoAdd a value field to diagnostic responses for parsed payloads.
Christopher Peplin [Wed, 19 Feb 2014 21:05:59 +0000 (16:05 -0500)]
Add a value field to diagnostic responses for parsed payloads.

10 years agoStore raw CAN payload in bytes instead of uint64_t.
Christopher Peplin [Fri, 17 Jan 2014 21:38:23 +0000 (16:38 -0500)]
Store raw CAN payload in bytes instead of uint64_t.

10 years agoMerge branch 'master' into diagnostic
Christopher Peplin [Fri, 17 Jan 2014 20:05:27 +0000 (15:05 -0500)]
Merge branch 'master' into diagnostic

10 years agoIgnore dirty submodules (generated files in nanopb).
Christopher Peplin [Fri, 17 Jan 2014 20:05:13 +0000 (15:05 -0500)]
Ignore dirty submodules (generated files in nanopb).

10 years agoAdd Diagnostic type within VehicleMessage supertype.
Christopher Peplin [Fri, 17 Jan 2014 19:43:05 +0000 (14:43 -0500)]
Add Diagnostic type within VehicleMessage supertype.

10 years agoStore diagnostic response payload as a byte array in protobuf.
Christopher Peplin [Fri, 17 Jan 2014 19:31:39 +0000 (14:31 -0500)]
Store diagnostic response payload as a byte array in protobuf.

10 years agoAdd a protobuf type for diagnostic message responses.
Christopher Peplin [Fri, 17 Jan 2014 19:12:42 +0000 (14:12 -0500)]
Add a protobuf type for diagnostic message responses.

10 years agoUpdate nanopb to 0.2.5 and fix max string length options.
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.

10 years agoDraft an idea of what the diagnostic request/response format will be.
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.

10 years agoMinimize the number of separate protobuf types.
Christopher Peplin [Thu, 24 Oct 2013 14:09:30 +0000 (10:09 -0400)]
Minimize the number of separate protobuf types.

10 years agoRevert "Switch back to many subtypes for binary messages."
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.

10 years agoRevert "Restore accidentally deleted data field from raw message."
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.

10 years agoRestore accidentally deleted data field from raw message.
Christopher Peplin [Wed, 23 Oct 2013 13:55:14 +0000 (09:55 -0400)]
Restore accidentally deleted data field from raw message.

10 years agoSwitch back to many subtypes for binary messages.
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.

10 years agoFix package name of generated protobuf objects.
Christopher Peplin [Wed, 9 Oct 2013 18:29:00 +0000 (14:29 -0400)]
Fix package name of generated protobuf objects.

10 years agoSwitch raw data field to uint64 to fit all values and update benchmark.
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.

10 years agoRemove timestamp from trace JSON before benchmarking - oops!
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%.

10 years agoUpdate benchmark tool for latest protobuf format.
Christopher Peplin [Sat, 5 Oct 2013 20:08:56 +0000 (16:08 -0400)]
Update benchmark tool for latest protobuf format.

10 years agoMerge all sub-types into a single TranslatedMessage type.
Christopher Peplin [Fri, 4 Oct 2013 23:31:51 +0000 (19:31 -0400)]
Merge all sub-types into a single TranslatedMessage type.

10 years agoAdd generated protobuf implementations.
Christopher Peplin [Tue, 1 Oct 2013 20:56:35 +0000 (16:56 -0400)]
Add generated protobuf implementations.

10 years agoAdd a bus field to RawMessage and make data an 64-bit int.
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.

10 years agoAdd an options file to enable static memory with nanopb.
Christopher Peplin [Tue, 1 Oct 2013 03:32:29 +0000 (23:32 -0400)]
Add an options file to enable static memory with nanopb.

10 years agoMove proto definition to top level.
Christopher Peplin [Tue, 1 Oct 2013 01:19:06 +0000 (21:19 -0400)]
Move proto definition to top level.

10 years agoUse a container type to be able to stream protobufs.
Christopher Peplin [Mon, 30 Sep 2013 20:07:27 +0000 (16:07 -0400)]
Use a container type to be able to stream protobufs.

10 years agoBenchmark how much overhead each encoding adds vs raw CAN.
Christopher Peplin [Thu, 22 Aug 2013 20:57:54 +0000 (16:57 -0400)]
Benchmark how much overhead each encoding adds vs raw CAN.

10 years agoBenchmark encoding translated messages as binary, too.
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

10 years agoAdd benchmarking tests for binary encoding (moved from cantranslator).
Christopher Peplin [Thu, 22 Aug 2013 14:35:35 +0000 (10:35 -0400)]
Add benchmarking tests for binary encoding (moved from cantranslator).

10 years agoDocument trace file format.
Christopher Peplin [Fri, 22 Nov 2013 15:20:17 +0000 (10:20 -0500)]
Document trace file format.

11 years agoAdd frequency to gear_lever_position
Christopher Peplin [Tue, 5 Nov 2013 19:04:24 +0000 (14:04 -0500)]
Add frequency to gear_lever_position

11 years agoMove frequencies here from the OpenXC site.
Christopher Peplin [Wed, 9 Oct 2013 16:51:35 +0000 (12:51 -0400)]
Move frequencies here from the OpenXC site.

11 years agoDocument the RAW message format, including the bus attribute.
Christopher Peplin [Thu, 26 Sep 2013 13:24:31 +0000 (09:24 -0400)]
Document the RAW message format, including the bus attribute.

11 years agoAdd a gear_lever_position signal to official set.
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.

11 years agoAdd license and official signal list.
Christopher Peplin [Fri, 3 May 2013 16:28:54 +0000 (12:28 -0400)]
Add license and official signal list.

11 years agoDon't use pygments highlighting in README.
Christopher Peplin [Fri, 3 May 2013 16:16:55 +0000 (12:16 -0400)]
Don't use pygments highlighting in README.

11 years agoInitial commit, moved from openxcplatform.com.
Christopher Peplin [Fri, 3 May 2013 16:15:49 +0000 (12:15 -0400)]
Initial commit, moved from openxcplatform.com.