App
app.debug.auto_run
Abbreviation
ap d a
Access
get/set
Description
Enable/disable App from auto running.
This variable is not saved. When power is removed the variable is reset to its default value.
By default, an App always runs on power up.
The
app.debug.auto_run
variable is intended for use only in a debug session, to allow inputting commands to the Gecko OS terminal.
Arguments
1|true|on/0|false|off
where
1
: enable,
0
: disable
Default
1
Platforms
- WGM160P
Properties
- takes effect immediately
Gecko OS Plugin
Get example
> get ap d a
1
Set example
> set app.debug.auto_run 0
Set OK
app.debug.ignore_settings
Abbreviation
ap d i
Access
get/set
Description
This allows manual adjustment of variable settings while debugging a Gecko OS App that loads settings using the API gos_load_app_settings() .
When
app.debug.ignore_settings
is set, all calls to
gos_load_app_settings()
are ignored. You can then load the Gecko OS app without overwriting test variable settings.
Arguments
1|true|on/0|false|off
Default
0
Platforms
- WGM160P
Properties
- takes effect immediately
Gecko OS Plugin
Get example
> get app.debug.ignore_settings
0
Set example
> set app.debug.ignore_settings 1
Set OK
app.info
Abbreviation
ap i
Access
get
Description
Print information about the current App, including App name, size, SDK version, and running status.
Arguments
None
Platforms
- WGM160P
Gecko OS Plugin
Get example
> get app.info
SDK version : <SDK version number>
Name : <App name>
Size : <Size of app, in bytes>
Running : <1 = app running, 0 = app not running>