Setup

setup.gpio.control_gpio

Abbreviationse g g
Accessget/set

Description

Asserting the GPIO specified by setup.gpio.control_gpio for 3 seconds during and immediately after reset causes the ZentriOS command setup web to run. A value of -1 disables this feature.

Arguments

<GPIO#>

Default

The default GPIO is platform dependent and is typically mapped
to button 2 on evaluation boards (the wake button)

Properties

Supported Platforms

Get example

> get se g g
R000003
3

Set example

> set se g g 12
R000008
Set OK

setup.web.idle_timeout

Abbreviationse w i
Accessget/set

Description

If no client connects to the web setup webpage after setup.web.idle_timeout seconds, web setup times out and is terminated. Upon timeout, if a wlan.ssid has previously been set, ZentriOS attempts to re-join the WLAN network.

Arguments

<seconds> Note: Setting this variable to 0 disables web setup idle timeout.

Default

300 (5 minutes)

Properties

Supported Platforms

Get example

> get setup.web.idle_timeout
R000005
300

Set example

> set se w i 0
R000008
Set OK

setup.web.passkey

Abbreviationse w p
Accessget/set

Description

The softAP WPA2-AES passphrase used for web setup, must be between 8-32 characters in length.

Arguments

<passphrase>

Default

password

Properties

Supported Platforms

Get example

> get we p
R000010
password

Set example

> set we p my-new-password
R000008
Set OK

setup.web.root_filename

Abbreviationse w r
Accessget/set

Description

The root filename of the web setup: in response to a request for http://zentrios.com, the web server returns http://ZentriOS.com/<root_filename>.

Note: The file must be a supported type for it to appear correctly in the browser. The type is determined by the file extension. The following types are supported:

ExtensionMIME
.csstext/css
.jsapplication/javascript
.html/.htmtext/html
.pngimage/png
.icoimage/x-icon
.gifimage/gif
.jpg/.jpegimage/jpeg
.txttext/plain

Arguments

<root_filename>

Default

/setup/index.html

Properties

Supported Platforms

Get example

> get se w r
/setup/index.html

Set example

> set se w r home.htm
R000008
Set OK

setup.web.ssid

Abbreviationse w s
Accessget/set

Description

The softAP SSID used for web setup. If the SSID ends in a # character, the last three hex characters of the WLAN MAC address replace the #.

For example, if the device MAC address is 4C:55:CC:10:26:05, and setup.web.ssid is set to ZentriOS Web Setup #, then SSID becomes: ZentriOS Web Setup 605.

Arguments

<ssid>

Default

ZentriOS Web Setup #

Properties

Supported Platforms

Get example

> get we s
R000021
ZentriOS Web Setup #

Set example

> set we s "This is my softAP!"
R000012
Set OK

setup.web.url

Abbreviationse w u
Accessget/set

Description

A comma separated list of host names the webserver responds to in web setup mode.

Arguments

<url list>

Default

zentrios.com,www.zentrios.com,setup.com,www.setup.com

Properties

Supported Platforms

Get example

> get we u
R000057
zentrios.com,www.zentrios.com,setup.com,www.setup.com

Set example

> set we u setup,start,lets.go,hello
R000008
Set OK