I will have to check out Ida Pro, there is a couple very interesting sounding .ocx files -- like 'canspec'.
On databases, i dunno there is some interesting sounding structures;
Code:
DiagInfoIxNo CheckCode SysId LangApply SysChInfo0 SysChInfo1 SysChInfo2 SysChInfo3 SysChInfo4 SysChInfo5 SysChInfo6 SysChInfo7 SysRule SysType CommRuleIxNo CommFuncIxNo DiagTypeIxNo
1196033 4672 0 0 255 15 255 0 255 255 255 255 2 0 1196033 1196033 0
1310720 5120 0 0 255 15 255 0 255 255 255 255 3 0 2 3 0
1310721 5120 0 0 255 15 255 0 255 255 255 255 2 0 1310721 1310721 0
1310976 5121 0 0 255 15 255 0 255 255 255 255 3 0 2 3 0
Can't help but wonder if this is D0 -> D7 and the decimal value for the request. But you need to link back to an index that ultimately is a link on a link of a link for the specific car.
Or this;
Code:
DiagInfoIxNo FfdNo ItemType ItemNameIxNo BytePos SendByte ProcIxNo FormIxNo UnitNameIxNo ReceiveInfo BitLogic BitPosition GraphIxNo DrFlag
16 1 0 68387 1 1 -3902 -3902 3 0 0 0 -1 0
16 2 0 68388 2 1 -3902 -3902 3 0 0 0 -1 0
16 3 0 68389 3 1 -3902 -3902 3 0 0 0 -1 0
It's quite spread out, so I had been hoping to find in the .JS functions with effectively the SQL statements on the appropiate joins to return the values needed to form a command to the car.
I'd definitely think the information needed to build a request exists in either the MSSQL databases, or the .mdb files. Your code/logic be allot more car agnostic eh? So it must build it's request from some lookup, or know which PID to issue it on or whether to go kline vs can?
I have slowed down my digging and going to shift back to improving my capture/processing abilities, and what the iCarSoft Max can show me. Hoping that is a more straight forward path
-------------------------------------------
On another note; My iCarSoft Max arrived today. Unfortunately my OBD2 Y Splitter has not -- should be here tomorrow. The device also does not use db9 as a connection, so my current db9 split will not allow me to daisy chain.
I did some quick test and I was able to actuate quite a few things within the HVAC -- fan speed, temp, max, etc. As well quite a few other menus and options from immobilizer to 'cell voltage smoothing' on the BMU. If any interest I can document all the functions it is offering per module. Then ofcourse view information from the modules as well.
Tomorrow evening I should be able to daisy chain OBD and have my canEdge2 connected in parallel to fully capture sessions. I could tap into the EVECU or ACECU tonight, but i'm going to focus on the software side of canEdge this evening.
Not sure others have seen/used, but this is the company i've ordered more than a sane person should:
https://www.csselectronics.com/
I have the clx2000 which I can do live sessions with savvycan.
Also the canEdge2 which is more log and view later -- though you can configure it to send commands. It can also upload directly to s3 object storage, and the company even has some open source tooling to visualize the data in grafana.
I think at this point I have nearly all their cables, extensions, etc. Even the alligator one which I think be handy but now not sure I ever have the room to use it
At the moment I have their backend grafana containerized running in GCP Cloud run, with my existing grafana able to connect. The device itself configured to leverage a mobile hotspot to upload it's logs straight to GCP cloud storage.
My goal this evening is to start building a DBC file for our Miev and tying it into CSS's software stack in GCP to begin widdling down and identifying what is left to decode -- To my knowledge this does *not* exist? Unfortunately I have yet to find a decent tool to build/generate these files -- on Linux.
I generally store my personal code on Google's source repo (convenience -- like the dockerfile to run grafana/backend), but for the DBC I will create a github project (assuming there isn't a better place for such an item?). I will then tie it together that an update to the DBC project update the grafana instance, etc, etc. If others are interested i'm happy to give access to the grafana, raw data, code repos.
Also happy to share whichever format canbus logs on any captures I do -- with carsoft, etc.