Network

network.buffer.rxtx_ratio

Abbreviationne b r
Accessget/set

Description

The percentage of the network buffer allocated to Rx.
Rx buffer pool size = network.buffer.size x (network.buffer.rxtx_ratio / 100)
Tx buffer pool size = network.buffer.size x ((100 - network.buffer.rxtx_ratio) / 100)
Value limits (%): Min: 10 Max: 90

Arguments

<percent_rx>

Default

50

Properties

Supported Platforms

Set example

> set ne b r 20
R000008
Set OK

Get example

> get ne b r
R000004
20

network.buffer.size

Abbreviationne b s
Accessget/set

Description

The total size of the network buffers, in bytes.
This is important for applications that have asymmetric data throughput requirements. If your app is heavily Tx (or Rx) centric, you can adjust the Tx and Rx buffer sizes accordingly to achieve maximum throughput.

This buffer is divided between the rx/tx buffers based on the network.buffer.rxtx_ratio variable.

This value is the amount of memory allocated from the dynamic memory section. The larger this value, the less memory available for other features.

This is an advanced feature. Take care when adjusting this value. The system may become unstable with certain values in certain applications.

Value limits and defaults (KB = 1024 bytes):

ModuleMin (bytes)(KB)Max (bytes)(KB)Default (bytes)(KB)
Wallaby AMW0042048020KB7168070KB2048020KB
Numbat AMW1062048020KB7168070KB2048020KB
Numbat AMW0061024010KB4096040KB2048020KB

Arguments

<bytes>

Default

Properties

Supported Platforms

Set example

> set ne b s 22528
R000008
Set OK

Get example

> get ne b s
R000007
22528

network.buffer.usage

Abbreviationne b u
Accessget

Description

The approximate usage of the network TX & RX buffers as an integer percentage.

Arguments

-

Default

-

Supported Platforms

Get example

> get ne b u
R000013
RX:13,TX:78

network.tls.ca_cert

Abbreviationne t a
Accessget/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

Abbreviationne t c
Accessget/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

Abbreviationne t k
Accessget/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.version

Abbreviationne t v
Accessget/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

network.default_interface

Abbreviationne f
Accessget/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