Last active
November 1, 2017 17:18
-
-
Save pradyuman/3b8e1e8148de972bd3d9780a430db8e4 to your computer and use it in GitHub Desktop.
477 Server Spec
This file contains 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
Request: | |
• 4 bits | Window - L_UP, L_DOWN **R | |
• 4 bits | L/R Door Lock/Unlock | |
• 1 bit | Trunk Release | |
• 2 bits | Accessory On/Off | |
• 2 bits | Ignition 1 On/Off | |
• 2 bits | Ignition 2 On/Off | |
• 1 bit | Start Command | |
- 1 bit | Horn On (cleared by mc on timer) | |
- 1 bit | Horn Strobe | |
- 1 bit | Horn Constant | |
- 1 bit | Hazard On (cleared by mc on timer) | |
- 1 bit | Popup Headlight | |
- 2 bits | AC On/Off | |
- 2 bits | Fan On/Off | |
- 1 bit | Burst Data (clear by mc on timer) | |
Status: | |
- 4 bits | L/R Window UP/DOWN | |
- 2 bits | L/R Door Lock | |
- 1 bit | Trunk Open | |
- 1 bit | Hazard On | |
- 1 bit | Popup On | |
- 1 bit | Horn On | |
- 1 bit | Horn Mode (0: Solid, 1: Strobe) | |
- 1 bit | MC AC On | |
- 1 bit | MC Fan On | |
- 2 bits | MC/Car Accessory On | |
- 2 bits | MC/Car Ignition 1 On | |
- 2 bits | MC/Car Ignition 2 On | |
- 1 bit | Brake Switch | |
- 1 bit | Clutch Switch | |
- 1 bit | Parking Brake | |
- 1 bit | Reverse | |
- 1 bit | Neutral | |
- 1 bit | Engine Running | |
- 1 bit | Bluetooth Connected | |
- 1 bit | Car Started | |
- 1 bit | Aux Input | |
Async: | |
- uint_16 | Start Duration | |
- uint_16 | Battery Voltage | |
- uint_16 | Alternator Voltage | |
- uint_16 | Aux Voltage | |
- uint_16 | Engine RPM | |
- int_32 | Longitude | |
- int_32 | Latitude | |
- uint_16 | Speed | |
- uint_16 | Temperature | |
- uint_16 | Coolant Temperature | |
Side Effects | |
- Engine Running -> timer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment