Shell commands for IFT family
Documentation for all the commands under the common block of IFT family.
tip
- All arguments in
<>
brackets are mandatory and all arguments in[]
brackets are optional. - rule of thumb: If you are having issues with running some of the commands, make sure all options ALWAYS come before the arguments:
=>ls foo -l
ls -l foo
.
Commands
led [led id] [command]
Using this command you can override control of LEDs.
info
- This command is not checking if LED is present, or not.
- Calling this without
[command]
, will release LED override. - Calling only
led
, you will release all overrides.
led id | Description |
---|---|
1 | MIL LED |
2 | Green turn signal LED |
3 | Blue high beam LED |
command | Description |
---|---|
1 | Turn LED on |
0 | Turn LED off |
Return value
Return value | Description |
---|---|
1 | LED override released (LED is controlled by APP) |
0 | LED is overriden by this command |
-1 | Error, wrong LED ID |
example
VDS-felix>led 1 1
# MIL LED is now ON
VDS-felix>led 1
# mil led is not controller by application
shutdown
Shutdown display and controller.
- If "flip-flop" circuit is present, display is shutdown and all connected devices. "POWER" pin of display is connected to P_GND.
- If "flip-flop" circuit is NOT present, display do reset.
Return value
No return value.