Skip to content

Commit

Permalink
support ignition ON/OFF (Freematics protocol)
Browse files Browse the repository at this point in the history
  • Loading branch information
soshial committed Jul 2, 2021
1 parent d7585c3 commit 79b6266
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ private Object decodePosition(
case 0x82:
cpuTemperature = Integer.parseInt(value) * 0.1;
break;
case 0x92:
position.set(Position.KEY_IGNITION, Integer.parseInt(value) == 1);
break;
case 0x104:
position.set(Position.KEY_ENGINE_LOAD, Integer.parseInt(value));
break;
Expand Down

0 comments on commit 79b6266

Please sign in to comment.