UDP Client

udp.client.auto_interface

Abbreviationud c i
Accessget/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

Abbreviationud c r
Accessget/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

Abbreviationud c a
Accessget/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

Abbreviationud c h
Accessget/set

Description

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

Arguments

<domain/ip address>

Default

null

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

Abbreviationud c p
Accessget/set

Description

Port of remote UDP server to auto connect.

Arguments

<port>

Default

3000

Supported Platforms

Get example

> get udp.client.remote_port

Set example

> set ud c p 5000
Set OK