ZAP

Available in ZentriOS-WZ only.

zap.auto_run

Abbreviationza a
Accessget/set

Description

Specify ZentriOS app to run on startup. App must be compiled and downloaded to module external flash.

Arguments

<zap_filename> where:

<zap_filename>: The filename in extended flash, e.g. apps/basic/hello_world.zap

In the case of the NXP-SCCK, use a value of 1 instead of the filename.

Default

None

Properties

Supported Platforms

Get example

> get za a
apps/external_hello_world-debug.zap

Set example

For Zentri devices:

> set zap.auto_run apps/external_hello_world-debug.zap
ZOS auto-app set
Set OK

For NXP device:

> set zap.auto_run 1
ZOS auto-app set
Set OK

zap.debug.enabled

Abbreviationza d e
Accessget/set

Description

Enable/Disable zap debug. Must be enabled to allow downloading compiled ZentriOS apps to the module.

Arguments

<0/1>

Default

1

Supported Platforms

Get example

> get zap.debug.enabled
1

Set example

> set za d e 0
Set OK

zap.debug.ignore_settings

Abbreviationza d i
Accessget/set

Description

This allows manual adjustment of variable settings while debugging a ZentriOS app that loads settings using the API zn_settings_load().

When zap.debug.ignore_settings is set, all calls to zn_settings_load() are ignored. You can then load the ZentriOS app without overwriting test variable settings.

Arguments

<0/1>

Default

0

Supported Platforms

Get example

> get zap.debug.ignore_settings
0

Set example

> set zap.debug.ignore_settings 1
0
Set OK

zap.info

Abbreviationza i
Accessget

Description

View the API verson and the ZentriOS apps loaded

Arguments

-

Default

-

Supported Platforms

Get example

> get zap.info
api: 0x75F00FF3
loaded: None