IO Connection

ioconn.control_gpio

Abbreviationio c
Accessget/set

Description

The GPIO used for control of the GPIO controlled network connection (stream). See the GPIO-Controlled Network Connection application note.

Arguments

<GPIO#>

Default

-1

Properties

Supported Platforms

Get example

> get io c
R000004
-1

Set example

> set io c 6
R000008
Set OK

ioconn.enabled

Abbreviationio e
Accessget/set

Description

Enable/disable the GPIO controlled network connection feature.

Arguments

<0/off/false/1/on/true>

Default

0

Properties

Supported Platforms

Get example

> get io e
R000003
0

Set example

> set io e true
R000008
Set OK

ioconn.local_port

Abbreviationio l
Accessget/set

Description

The local port associated with the GPIO controlled network connection, If 0, a random port is assigned.

Arguments

<port>

Default

0

Supported Platforms

Get example

> get io l
R000003
0

Set example

> set io l 30001
R000008
Set OK

ioconn.protocol

Abbreviationio p
Accessget/set

Description

The network protocol associated with the GPIO controlled network connection.

Arguments

<udp/tcp/tls/web>

Default

tcp

Supported Platforms

Get example

> get io p
R000005
tcp

Set example

> set io p udp
R000008
Set OK

ioconn.remote_host

Abbreviationio h
Accessget/set

Description

The remote host associated with the GPIO controlled network connection. An IP address or hostname may be specified.

Arguments

<IP address/hostname>

Default

-

Supported Platforms

Get example

> get > get io h
R000013
10.11.176.12

Set example

> set io h example.com
R000008
Set OK

ioconn.remote_port

Abbreviationio r
Accessget/set

Description

The remote port associated with the GPIO controlled network connection.

Arguments

<port>

Default

0

Supported Platforms

Get example

> get io r
R000003
0

Set example

> set io r 55000
R000008
Set OK

ioconn.status_gpio

Abbreviationio s
Accessget/set

Description

The GPIO used to indicate connection status when the GPIO controlled network connection feature is enabled.

See also system.oob.gpio.

Arguments

<GPIO#>

Default

-1

Properties

Supported Platforms

Get example

> get io s
R000004
-1

Set example

> set io s 13
R000008
Set OK