apps/low-level-can-service.git
9 years agolink to web server project
Eric Marsman [Tue, 15 Sep 2015 14:04:24 +0000 (10:04 -0400)]
link to web server project

9 years agoabs link json
mgiannikouris [Tue, 15 Sep 2015 01:11:06 +0000 (21:11 -0400)]
abs link json

9 years agojson
mgiannikouris [Tue, 15 Sep 2015 01:07:15 +0000 (21:07 -0400)]
json

9 years agoMore JSON.mkd
mgiannikouris [Tue, 15 Sep 2015 01:05:55 +0000 (21:05 -0400)]
More JSON.mkd

9 years agoMore JSON.mkd
mgiannikouris [Mon, 14 Sep 2015 20:51:15 +0000 (16:51 -0400)]
More JSON.mkd

9 years agoAll caps makes it look like I'm yelling...
mgiannikouris [Mon, 14 Sep 2015 20:48:42 +0000 (16:48 -0400)]
All caps makes it look like I'm yelling...

9 years agoUpdated JSON.mkd
mgiannikouris [Mon, 14 Sep 2015 20:46:45 +0000 (16:46 -0400)]
Updated JSON.mkd

Added details on the "modem_configuration" command.

9 years agoadded uptime field to VehicleMessage
mgiannikouris [Tue, 2 Dec 2014 04:02:22 +0000 (23:02 -0500)]
added uptime field to VehicleMessage

10 years agoBump to v0.4 for release.
Christopher Peplin [Sat, 15 Nov 2014 17:01:26 +0000 (12:01 -0500)]
Bump to v0.4 for release.

10 years agoMerge branch 'next'
Christopher Peplin [Sat, 15 Nov 2014 17:01:01 +0000 (12:01 -0500)]
Merge branch 'next'

10 years agoBack off change to CAN message ID for backwards compatibility.
Christopher Peplin [Fri, 7 Nov 2014 13:57:03 +0000 (08:57 -0500)]
Back off change to CAN message ID for backwards compatibility.

I don't think this change is worth breaking compatibility with exiting
trace files. The meaning of an ID is much more clean when inside a CAN
message object, so that's why I think it make sense to be different than
the "id" inside a diagnostic request.

10 years agoUpdate changelog.
Christopher Peplin [Fri, 7 Nov 2014 04:04:07 +0000 (23:04 -0500)]
Update changelog.

10 years agoSpecify the response when no device ID is known.
Christopher Peplin [Wed, 29 Oct 2014 02:36:07 +0000 (22:36 -0400)]
Specify the response when no device ID is known.

10 years agoUpdate protobuf options to use new field names.
Christopher Peplin [Tue, 14 Oct 2014 18:03:14 +0000 (14:03 -0400)]
Update protobuf options to use new field names.

10 years agoRemove redundant 'type' field from binary SimpleVehicleMessage.
Christopher Peplin [Tue, 7 Oct 2014 03:25:13 +0000 (23:25 -0400)]
Remove redundant 'type' field from binary SimpleVehicleMessage.

You can figure out the type based on the value and event DynamicFields.

Fixed #19.

10 years agoUse more specific 'message_id' in JSON, not just 'id'.
Christopher Peplin [Tue, 7 Oct 2014 03:23:29 +0000 (23:23 -0400)]
Use more specific 'message_id' in JSON, not just 'id'.

There often isn't enough context to know if it's the message ID or a
transaction ID or something else.

Fixed #20.

10 years agoGive diagnostic request field a more specific name.
Christopher Peplin [Tue, 7 Oct 2014 03:20:36 +0000 (23:20 -0400)]
Give diagnostic request field a more specific name.

Fixed #18.

10 years agoMention 'status' field in all command response JSON examples.
Christopher Peplin [Tue, 7 Oct 2014 03:14:03 +0000 (23:14 -0400)]
Mention 'status' field in all command response JSON examples.

Fixed #13.

10 years agoDeprecate "translated" and "raw" names in binary format.
Christopher Peplin [Tue, 7 Oct 2014 03:12:02 +0000 (23:12 -0400)]
Deprecate "translated" and "raw" names in binary format.

Fixed #16.

10 years agoMerge remote-tracking branch 'origin/16-new-names' into next
Christopher Peplin [Tue, 7 Oct 2014 03:10:57 +0000 (23:10 -0400)]
Merge remote-tracking branch 'origin/16-new-names' into next

Conflicts:
README.md

10 years agoGive frame format field a more specific name.
Christopher Peplin [Tue, 7 Oct 2014 02:07:13 +0000 (22:07 -0400)]
Give frame format field a more specific name.

10 years agoAdd a field to CAN messages to explicitly set the frame format.
Christopher Peplin [Tue, 7 Oct 2014 01:30:28 +0000 (21:30 -0400)]
Add a field to CAN messages to explicitly set the frame format.

See openxc/vi-firmware:230.

10 years agoMove JSON spec to a separate file to keep the length down.
Christopher Peplin [Tue, 7 Oct 2014 01:27:24 +0000 (21:27 -0400)]
Move JSON spec to a separate file to keep the length down.

10 years agoAdd a command to enable/disable pre-defined OBD-II requests.
Christopher Peplin [Tue, 30 Sep 2014 01:52:34 +0000 (21:52 -0400)]
Add a command to enable/disable pre-defined OBD-II requests.

See openxc/vi-firmware#303.

10 years agoStandardize names for payload format.
Christopher Peplin [Sun, 28 Sep 2014 00:40:22 +0000 (20:40 -0400)]
Standardize names for payload format.

10 years agoRemove unnecessary 'bus' field from message format command.
Christopher Peplin [Sun, 28 Sep 2014 00:17:48 +0000 (20:17 -0400)]
Remove unnecessary 'bus' field from message format command.

10 years agoReturn response to set message format command in original format.
Christopher Peplin [Sun, 28 Sep 2014 00:07:03 +0000 (20:07 -0400)]
Return response to set message format command in original format.

10 years agoAdd a command to change message format while running.
Christopher Peplin [Sat, 27 Sep 2014 23:56:21 +0000 (19:56 -0400)]
Add a command to change message format while running.

10 years agoUpdate compiled files.
Christopher Peplin [Sat, 27 Sep 2014 23:43:42 +0000 (19:43 -0400)]
Update compiled files.

10 years agoAdd a control command to control AF bypass status.
Christopher Peplin [Sat, 27 Sep 2014 22:41:24 +0000 (18:41 -0400)]
Add a control command to control AF bypass status.

See openxc/vi-firmware#301.

10 years agoAdd missing comma in example.
Christopher Peplin [Sun, 21 Sep 2014 21:20:50 +0000 (17:20 -0400)]
Add missing comma in example.

10 years agoDeprecate "translated" and "raw" verbiage.
Christopher Peplin [Sun, 21 Sep 2014 21:19:21 +0000 (17:19 -0400)]
Deprecate "translated" and "raw" verbiage.

Partway towards #16 but need to updated the binary format, too.

10 years agoSimplify passthrough command to just a boolean.
Christopher Peplin [Sun, 21 Sep 2014 02:56:37 +0000 (22:56 -0400)]
Simplify passthrough command to just a boolean.

10 years agoMerge remote-tracking branch 'origin/latest-nanopb' into passthrough-command
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

10 years agoAdd passthrough command and refactor commands in binary format.
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.

10 years agoRe-build with nanopb v0.3.1.
Christopher Peplin [Wed, 17 Sep 2014 03:03:32 +0000 (23:03 -0400)]
Re-build with nanopb v0.3.1.

10 years agoMove a TODO to issue #14.
Christopher Peplin [Fri, 5 Sep 2014 13:05:30 +0000 (09:05 -0400)]
Move a TODO to issue #14.

10 years agoNote that 0x prefix on hex strings is optional.
Christopher Peplin [Fri, 5 Sep 2014 02:37:07 +0000 (22:37 -0400)]
Note that 0x prefix on hex strings is optional.

10 years agoMove action field to ControlCommand in binary format.
Christopher Peplin [Tue, 12 Aug 2014 03:36:39 +0000 (23:36 -0400)]
Move action field to ControlCommand in binary format.

10 years agoAdd a 'status' field to command responses.
Christopher Peplin [Mon, 11 Aug 2014 02:05:11 +0000 (22:05 -0400)]
Add a 'status' field to command responses.

10 years agoRemove 'update' feature of diag request commands.
Christopher Peplin [Mon, 11 Aug 2014 01:51:13 +0000 (21:51 -0400)]
Remove 'update' feature of diag request commands.

10 years agoRequire an 'action' in diagnostic requests.
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

10 years agoExplain when to use JSON vs. binary.
Christopher Peplin [Tue, 5 Aug 2014 01:41:35 +0000 (21:41 -0400)]
Explain when to use JSON vs. binary.

10 years agoExpand diagnostic mode field to a full byte's range.
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.

10 years agoAdd 'extras' field to JSON messages for custom data.
Christopher Peplin [Wed, 25 Jun 2014 22:52:43 +0000 (18:52 -0400)]
Add 'extras' field to JSON messages for custom data.

10 years agoMake the protobuf format more clear in README.
Christopher Peplin [Wed, 25 Jun 2014 22:49:03 +0000 (18:49 -0400)]
Make the protobuf format more clear in README.

10 years agoMerge remote-tracking branch 'origin/master' into next
Christopher Peplin [Wed, 25 Jun 2014 22:47:21 +0000 (18:47 -0400)]
Merge remote-tracking branch 'origin/master' into next

10 years agoRemove factor and offset from diag requests - left up to clients.
Christopher Peplin [Thu, 12 Jun 2014 03:28:53 +0000 (23:28 -0400)]
Remove factor and offset from diag requests - left up to clients.

10 years agoFix typo in example for raw message format.
Christopher Peplin [Sun, 25 May 2014 01:30:12 +0000 (21:30 -0400)]
Fix typo in example for raw message format.

10 years agoBump to next dev release.
Christopher Peplin [Tue, 29 Apr 2014 04:04:31 +0000 (00:04 -0400)]
Bump to next dev release.

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.