Network

network.default_interface

Abbreviation

ne f

Access

get/set

Description

The default network interface used by various network commands and variables.

Commands:

Variables:

Arguments

<wlan/softap>

Default

wlan

Properties

Supported Platforms

Get example

> get ne f
R000006
wlan

Set example

> set ne f softap
R000008
Set OK

network.tls.ca_cert

Abbreviation

ne t a

Access

get/set

Description

The default CA TLS certificate used with TLS network streams.
Note: PEM file format requires Unix format line termination: LF (\n), not Windows format: CR-LF (\r\n). Some terminal applications may append unwanted end-of-line characters. Incorrect line termination may result in TLS connection failure.

Arguments

<CA TLS cert filename>

Default

geotrust_ca.pem

Properties

Supported Platforms

Get example

> get ne t a
R000017
geotrust_ca.pem

Set example

> set ne t a globalsign_ca.pem
R000008
Set OK

network.tls.client_cert

Abbreviation

ne t c

Access

get/set

Description

The filename of the TLS client cert.

Arguments

<TLS cert filename>

Default

null

Properties

Supported Platforms

Get example

> get ne t c

Set example

> set ne t c client_cert.pem
R000008
Set OK

network.tls.client_key

Abbreviation

ne t k

Access

get/set

Description

The filename of the TLS client cert key.

Arguments

<TLS cert key filename>

Default

null

Properties

Supported Platforms

Get example

> get ne t k

Set example

> set ne t k client_cert_key_filename
R000008
Set OK

network.tls.handshake_timeout

Abbreviation

ne t h

Access

get/set

Description

Specifies the TLS handshake timeout in milliseconds.

Arguments

<timeout_in_milliseconds>

Default

15000

Get example

> get ne t h
15000

Set example

> set ne t h 10000
R000008
Set OK

network.tls.version

Abbreviation

ne t v

Access

get/set

Description

Specifies the maximum TLS version used. By default the client/server negotiates which TLS version/cipher to use but sometimes it is necessary to force a maximum version.

Arguments

<10/12>

where:

Default

12

Properties

Supported Platforms

Get example

> get ne t v
12

Set example

> set ne t v 10
R000008
Set OK