Developer Mode
Developer Mode is installed by default in Legato 16.10+.
Developer Mode (devMode
) was created to provide helpful features to Developers.
devMode
provides the following features:
- sets the probation period of apps to 10 seconds, to prevent aggressive roll-back.
- runs the tcf-agent, so the target is auto discoverable by Developer Studio.
- holds a wake lock, so the target won't go to sleep when disconnected from USB.
Enabling Developer Mode
To start devMode
on your target (if it's disabled):
Start the app:
app start devMode
Modify the config on the target to enable starting devMode upon reboot:
config set /apps/devMode/startManual false bool
To configure enabling/disabling devMode
(even after a system rebuild) add a start: auto (enabled) or start: manual (disabled) to the devMode
adef.
Example devMode adef:
sandboxed: false start: auto <-- change to manual to disable executables: { devMode = ( $LEGATO_ROOT/components/devMode/devMode ) } processes: { run: {
Disabling Developer Mode
To temporarily stop devMode:
app stop devMode
Removing Developer Mode
To remove devMode from your target:
app remove devMode
It is advisable to remove the devMode app before deploying targets in production. This can be done by removing devMode from the system sdef file and rebuilding the system for the target device.
- Note
- The tcf-agent creates extra network traffic between the host and the target. Stopping or removing devMode will decrease the traffic.
Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.