Lock
When locked, the LYNX's drive function is disabled. The LYNX can be locked either through GPIO or via the IOT protocol.
The lock feature is optional and not available in all mods of LYNX. To verify if your mod supports locking, check the terminal output after boot. Lock support is indicated by either - Lock
or - Lock lite
messages.
Lock lite
indicates support for IOT-only locking with freewheeling modeLock
indicates full support for both GPIO and IOT locking
GPIO Lock
The controller can be locked using a connected button or switch. The lock input (in_lock
) must be mapped to GPIO via input mapping.
Lock activation can be configured through the /lock/lockopts
parameter to respond to short press, long press, or level (switch).
IOT Lock
The controller supports locking through the IOT protocol via the lock
command.
This method is compatible with the siliXcon VDS display.
To use lock functionality with the display, enable lock at startup. Otherwise, the device will initialize in an unlocked state.
Parameters
All parameters are located in the /lock
folder.
Lock lite
only includes the lockopts
parameter. Additional parameters are available with full lock
support.
lockopts
This bitwise parameter configures lock behavior.
Bit | Description |
---|---|
0 | Activate lock by short press |
1 | Activate lock by long press |
2 | Activate lock by level (switch) |
3 | Start controller in locked state (lock device at startup) |
Enable lock at startup when using the display interface.
locktim
[s]
Sets automatic locking timeout. The timer only runs when accelerator and brake are inactive.