-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
Description
I've been investigating add VIN support to the vi-firmware stack. My end goal would be to implement a command similar to the vi-firmware Version and Device ID. So in the Android Enabler, you would see:
VI Version ____
VI Device ID ____
VIN ____
In order to support this on the firmware side, we need to be able to support multi-frame diagnostic messages in the iso-tp library. VIN requests come in 3 CAN messages.
Before I dive into the work of adding that to the iso-tp library, I wanted to first see if other folks had thoughts for adding this support. Based on the standard OBDII-PIDs, the VIN number can be read as follows: https://en.wikipedia.org/wiki/OBD-II_PIDs
Mode = 0x09 - Request vehicle information
ID = 0x02 - VIN
- Send request.
- Response would be first message of a multi-frame response. (VIN is 17 bytes)
- VI would then send a flow-control message for the remaining data to be sent
- Next 2 messages would contain the remainder of the VIN info.
UnSciPreneur