UDP Client

udp.client.auto_interface

Abbreviation

ud c i

Access

get/set

Description

Interface to auto-start UDP client connection.

Arguments

default

Default

<default/wlan/softap>

Properties

Supported Platforms

Get example

> get udp.client.auto_interface
default

Set example

> set ud c i wlan
Set OK

udp.client.auto_retry

Abbreviation

ud c r

Access

get/set

Description

Enable automatic reconnection if udp.client.auto_start fails.

When enabled, ZentriOS attempts to reconnect every 1.0s until either the network goes down or it successfully connects.

UDP is a connectionless protocol so udp.client.auto_start fails only if udp.client.auto_start cannot resolve the udp.client.remote_host DNS domain. If udp.client.remote_host specifies an IP address, failure to connect is not detected.

Arguments

0/1

Default

0

Properties

Supported Platforms

Get example

> get udp.client.auto_retry
0

Set example

> set ud c r 1
Set OK

udp.client.auto_start

Abbreviation

ud c a

Access

get/set

Description

Enable/disable UDP client auto-start feature. If enabled, UDP client automatically connects to remote server when interface is brought up.

Arguments

<0/1>

Default

0

Properties

Supported Platforms

Get example

> get udp.client.auto_start
0

Set example

> set ud c a 1
Set OK

udp.client.remote_host

Abbreviation

ud c h

Access

get/set

Description

Domain or IP address of remote udp server to auto connect.

Arguments

<domain/ip address>

Default

null

Properties

Supported Platforms

Get example

> get udp.client.remote_host
mydomain.com

Set example

> set ud c h mydomain.com
Set OK

udp.client.remote_port

Abbreviation

ud c p

Access

get/set

Description

Port of remote UDP server to auto connect.

Arguments

<port>

Default

3000

Properties

Supported Platforms

Get example

> get udp.client.remote_port

Set example

> set ud c p 5000
Set OK