Author Topic: SW CAN links  (Read 5125 times)

Vitaliy

  • ScanTool.net Staff
  • Veteran
  • *
  • Posts: 2253
  • Forum Cop
    • View Profile
    • OBDScantool.com
SW CAN links
« on: December 16, 2011, 12:42:53 PM »
Need to decode a diagnostic trouble code? Try DTCSearch.com

K1GTo

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • New Projects
Re: SW CAN links
« Reply #1 on: December 22, 2011, 11:04:32 AM »
There are also a few open-source projects in progress, as well as some plans to build a Java communications class to take advantage of the advanced features of the Obdlink MX. If you are interested, please download the source and by all means, feel free to contribute  :)

libvoyager: https://github.com/gtosoft/libvoyager
demo app using the above library: https://github.com/gtosoft/VoyDemo
Sleuth: https://github.com/gtosoft/Sleuth


malcom2073

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: SW CAN links
« Reply #2 on: April 15, 2012, 02:44:48 PM »
I started a ATMA parser. It allows you to select the protocol passed to STP, and then ATMA's and parses the result by either PID or source. It's very much a work in progress, but it's a start.

git://gitorious.org/libobd/canparse.git
« Last Edit: April 19, 2012, 03:16:33 PM by malcom2073 »

Vitaliy

  • ScanTool.net Staff
  • Veteran
  • *
  • Posts: 2253
  • Forum Cop
    • View Profile
    • OBDScantool.com
Re: SW CAN links
« Reply #3 on: April 16, 2012, 12:06:21 AM »
I started a ATMA parser. It allows you to select the protocol passed to STP, and then ATMA's and parses the result by either PID or source. It's very much a work in progress, but it's a start.

git@gitorious.org:libobd/canparse.git

Brilliant! Although instead of using ATMA and filtering the results in your software, you should definitely take advantage of the STN11xx built-in filters. This would help you avoid buffer overflows at lower baud rates.

Vitaliy
Need to decode a diagnostic trouble code? Try DTCSearch.com

malcom2073

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: SW CAN links
« Reply #4 on: April 16, 2012, 05:48:50 PM »
Brilliant! Although instead of using ATMA and filtering the results in your software, you should definitely take advantage of the STN11xx built-in filters. This would help you avoid buffer overflows at lower baud rates.

Vitaliy

That's the eventual goal, however since there is zero information on what the messages mean, I'm just logging everything for now :)

K1GTo

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • New Projects
Re: SW CAN links
« Reply #5 on: November 12, 2012, 06:11:56 PM »

I've just started a similar project in Java - I have a new car and its CAN network is nice and busy, so there's a lot of potential for decoding ATMA data.

I cloned the git link above and tried to compile but it failed looking for "ObdThread.h"


millermmail

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: SW CAN links
« Reply #6 on: February 11, 2014, 04:02:48 PM »
Brilliant! Although instead of using ATMA and filtering the results in your software, you should definitely take advantage of the STN11xx built-in filters. This would help you avoid buffer overflows at lower baud rates.

Vitaliy

That's the eventual goal, however since there is zero information on what the messages mean, I'm just logging everything for now :)
Cool - I was thinking of trying to start something (in Java) like this!  While you might have less to parse with the built in filters, the advantage of pulling *everything* is you could run some tests and then analyze it later in a more comfortable setting.  I'm thinking things like radio or A/C controls would be interesting to try and locate by analyzing patterns, say looking for a specific quantity of a button press to determine the control command.

I'm going to have to look at your project!
« Last Edit: February 11, 2014, 04:05:23 PM by millermmail »