Re:I Hacked My Car Guides: Creating Custom Firmware
by LadyCailin on Tuesday July 19, 2022 @06:31AM
(#32149676)
My experience (datapoint 1, working on ecocar in college a decade ago) was that they are exceedingly defensive revealing info about the CAN message format. It would likely require reverse engineering the protocol in order to make any apps that actually interface with the car somehow. Making a fully standalone app would be possible, but limited in usefulness.
Re:I Hacked My Car Guides: Creating Custom Firmware
by bluGill on Tuesday July 19, 2022 @08:57AM
(#32150806)
That depends on what you want to do. OBDII diagnostics is legally mandated by law and so not hard to do across all cars. It is minimal information, but enough for most things. If you want anything else it different for each car (not just each manufacture, sometimes sometimes the same car model will have more than one variant).
The information you need isn't impossible to get: the manufactures make this available to third party scan tools, but they assume anyone wanting this information considers paying $100,000 a nominal cost and won't question it. In a previous job (I left in 2010) I had access to this information, but we still spent a lot of time reverse engineering things because the documents were too often wrong.
Re:I Hacked My Car Guides: Creating Custom Firmware
by adolph on Tuesday July 19, 2022 @12:29PM
(#32154119)
See:
* DBC file is a proprietary format that describes the data over a CAN bus.: http://socialledge.com/sjsu/index.php/DBC_Format
* OpenDBC: democratize access to car decoder rings: https://github.com/commaai/opendbc
Re:I Hacked My Car Guides: Creating Custom Firmware
by frosted-flakes on Tuesday July 19, 2022 @12:10PM
(#32153804)
OBDII is only required for engine diagnostics, no? I've heard that Tesla cars don't have them, for example.
Re:I Hacked My Car Guides: Creating Custom Firmware
by Handytinge on Tuesday August 02, 2022 @05:03AM
(#32316547)
It depends what country you're in. My country, the Tesla does have an ODB II port, because it's a requirement for cars sold here. I don't believe that's the case in the US, although those have a CAN port.
Re:I Hacked My Car Guides: Creating Custom Firmware
by bluGill on Tuesday July 19, 2022 @02:09PM
(#32155704)
It is only required for emissions diagnostics. Which is a small subset of total engine diagnostics, though the most common things to go wrong on an engine affect emissions so for practical purposes it is engine.
I don't know how powerful the chip in the car is but I can see someone building quite a competent open source navigation system through Qt and some car APIs, assuming you can get some kind of map storage solution working