Network
network.buffer.rxtx_ratio
Abbreviation | ne b r |
Access | get/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
Abbreviation | ne b s |
Access | get/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):
Module | Min (bytes) | (KB) | Max (bytes) | (KB) | Default (bytes) | (KB) |
---|---|---|---|---|---|---|
Wallaby AMW004 | 20480 | 20KB | 71680 | 70KB | 20480 | 20KB |
Numbat AMW106 | 20480 | 20KB | 71680 | 70KB | 20480 | 20KB |
Numbat AMW006 | 10240 | 10KB | 40960 | 40KB | 20480 | 20KB |
Arguments
<bytes>
Default
- Wallaby AMW004:
20480
- Numbat AMW106 :
20480
- Numbat AMW006 :
20480
Properties
Supported Platforms
Set example
> set ne b s 22528
R000008
Set OK
Get example
> get ne b s
R000007
22528
network.buffer.usage
Abbreviation | ne b u |
Access | get |
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
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
- takes effect immediately
- available in Safe Mode
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
- takes effect immediately
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
- takes effect immediately
Supported Platforms
Get example
> get ne t k
Set example
> set ne t k client_cert_key_filename
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:
10
: indicates TLS1.012
: indicates TLS1.2
Default
12
Properties
- takes effect immediately
Supported Platforms
Get example
> get ne t v
12
Set example
> set ne t v 10
R000008
Set OK
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
- takes effect immediately
Supported Platforms
Get example
> get ne f
R000006
wlan
Set example
> set ne f softap
R000008
Set OK