Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Alternator Potential should be signed in pgn 127489 #9

Merged
merged 2 commits into from
Apr 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/pgns.json
Original file line number Diff line number Diff line change
Expand Up @@ -6860,7 +6860,7 @@
"BitStart":0,
"Units":"V",
"Resolution":"0.01",
"Signed":false},
"Signed":true},
{
"Order":6,
"Id":"fuelRate",
Expand Down
2 changes: 1 addition & 1 deletion test/pgns/127489.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = [{
"expected": {"timestamp":"2017-04-15T14:57:58.469Z","prio":2,"src":17,"dst":255,"pgn":127489,"description":"Engine Parameters, Dynamic","fields":{"Engine Instance":"Single Engine or Dual Engine Port","Oil pressure":393000,"Temperature":330.43,"Alternator Potential":327.67,"Total Engine hours":699005,"Discrete Status 1": [],"Discrete Status 2": []}},
"expected": {"timestamp":"2017-04-15T14:57:58.469Z","prio":2,"src":17,"dst":255,"pgn":127489,"description":"Engine Parameters, Dynamic","fields":{"Engine Instance":"Single Engine or Dual Engine Port","Oil pressure":393000,"Temperature":330.43,"Total Engine hours":699005,"Discrete Status 1": [],"Discrete Status 2": []}},
"input": "2017-04-15T14:57:58.469Z,2,127489,17,255,26,00,5a,0f,ff,ff,13,81,ff,7f,ff,7f,7d,aa,0a,00,ff,ff,ff,ff,ff,00,00,00,00,7f,7f"
}]