6 udp server mode operations – SENA PS400 User Manual

Page 39

Advertising
background image

39

3. Destination IP & port : 192.168.1.200:6001

<ESC> Back, <ENTER> Refresh

----->

Figure 4-11. Set up parameters for UDP tunneling mode

4.1.6 UDP server mode operations

While UDP tunneling mode allows only one remote host for UDP communications, UDP server mode

allows any remote host to access the HelloDevice Pro Series. In this mode, the HelloDevice Pro

Series gets the information on the remote host from the latest incoming datagram information and

keeps

this information for inactivity timeout management, which is configured in

Serial

Configuration - Options

menu (see 4.4.1 for detail).

1) Operations

In UDP server mode, a remote host should initiate UDP data communication. If there is any incoming

UDP datagram to the HelloDevice Pro Series, it will make a virtual connection with the remote host for

inactivity timeout duration. Before the inactivity timeout value expires, the HelloDevice Pro Series

transfers the UDP data to the serial port, and send back the data from the serial port to the latest

remote host who sent the UDP datagram. Virtual connection timeout will be reset to inactivity timeout

value whenever there is any data transfer between remote host and the serial device. If other remote

hosts send UDP datagrams while a virtual connection is established, the UDP datagram will be

discarded. If there is no data transfer during inactivity timeout, the virtual connection will be closed and

other remote hosts can access the HelloDevice Pro Series from then on.

2) Parameters

Local port

The concept is the same as that of TCP communication. See TCP Server mode operations in

the section 4.1.2 for details.

---------------------------------------------------------------------------

serial configuration -->port#1 --> TCP/IP

---------------------------------------------------------------------------

Select menu
1. Host mode : UDP server
2. Local port : 6000
<ESC> Back, <ENTER> Refresh
----->

Figure 4-12. Set up parameters for UDP server mode

Advertising