Add Mode 09 InfoType 17 (OBFCM / GHG distance-fuel used) - #39
Open
Anush-aj wants to merge 1 commit into
Open
Conversation
Append Mode 09 ITID 17 and the OBDonUDS DID F817 twin to the standard command set. Payload is item-index then four big-endian uint32s: recent/lifetime distance (0.1 km) and fuel (0.01 L). Co-authored-by: Anush-aj <Anush-aj@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SAE J1979 InfoType 17 (and the OBDonUDS mapping
22 F817) is a standard InfoType, not a manufacturer-extended PID, so it belongs in this repo rather than a vehicle repo.Layout from a real paired capture (2020 Ford E-350, CarDAQ-Plus 3): payload after
49 17is item-index01then four big-endian uint32s — Recent then Lifetime distance (÷10 km) then fuel (÷100 L).bixis 8/40/72/104 because byte 0 is the item-index. All-bits-set is the not-available sentinel (nullmax).Confirmed on one vehicle; constructed Golf 8 hex is not a second capture. Source decoder: https://github.com/Anush-aj/obfcm