IO Connection

ioconn.control_gpio

Abbreviation

io c

Access

get/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

Platforms

Properties

Gecko OS Plugin

Get example

> get io c
R000004
-1

Set example

> set io c 6
R000008
Set OK

ioconn.enabled

Abbreviation

io e

Access

get/set

Description

Enable/disable the GPIO controlled network connection feature.

Arguments

1|true|on/0|false|off

where

Default

0

Platforms

Properties

Gecko OS Plugin

Get example

> get io e
R000003
0

Set example

> set io e true
R000008
Set OK

ioconn.local_port

Abbreviation

io l

Access

get/set

Description

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

Arguments

<port>

Default

0

Platforms

Properties

Gecko OS Plugin

Get example

> get io l
R000003
0

Set example

> set io l 30001
R000008
Set OK

ioconn.protocol

Abbreviation

io p

Access

get/set

Description

The network protocol associated with the GPIO controlled network connection.

Arguments

<udp/tcp/tls/web>

Default

tcp

Platforms

Properties

Gecko OS Plugin

Get example

> get io p
R000005
tcp

Set example

> set io p udp
R000008
Set OK

ioconn.remote_host

Abbreviation

io h

Access

get/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

None

Platforms

Properties

Gecko OS Plugin

Get example

> get > get io h
R000013
10.11.176.12

Set example

> set io h example.com
R000008
Set OK

ioconn.remote_port

Abbreviation

io r

Access

get/set

Description

The remote port associated with the GPIO controlled network connection.

Arguments

<port>

Default

0

Platforms

Properties

Gecko OS Plugin

Get example

> get io r
R000003
0

Set example

> set io r 55000
R000008
Set OK

ioconn.status_gpio

Abbreviation

io s

Access

get/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

Platforms

Properties

Gecko OS Plugin

Get example

> get io s
R000004
-1

Set example

> set io s 13
R000008
Set OK