Products
IoT Gateways
Netcom Products
IoT Modules
PUSR CLoud
ODM/EMS
Pusr Cloud, a cloudplatform for the Internet of Things Zero programming comes with its own Internet of Things system.
200
+ Private Cloud project
Data localization
Business personalization
100k
+ Public Cloud registered
80% functions are free
White-labeling for VIP
LEARN MORE
KingView-A SCADA Software With 25+ Years Of Development History Nice Graphics display to monitor and Control Production flow System.
25
+ Development History
Data Collection, Analysis &
Management
100k
+ respond within 1
Perfect Alarm Monitoring &
Querying
LEARN MORE
PCB Design —— ODM/EMS We provide one-stop turnkey design service to help customers with the delivery of an out-of-the-box hardware platform that is fully tested and ready to use upon delivery.
10
+ years of experience
11 high-speed SMT
10 million pcs daily
200
+ Private Cloud project
ISO9001 cert.
Intelligent MES
LEARN MORE
Support Center
UDP Server mode and UDP Client Mode Manual
2020-07-17

 Overview

This manual is to introduce UDP Server mode and UDP Client mode.

 

 

1.Introduction

1.1.UDP Server mode

In UDP Server mode, module will change Remote IP every time after receiving UDP data from a new IP/Port and will send data to latest communication IP/Port.

 

UDP Server mode is usually applied to the situation that several network devices need to communicate to module and requirement of data transmission rate is high(TCP transport protocol maybe not suitable).

 

Data transmission diagram as follow:

UDP Server mode

Figure 1 UDP Server mode

 

1.2.UDP Client mode

UDP Client mode provides simple and unreliable communication services. No connection connected /disconnected. User only needs to configure Remote IP/Port then can realize data transmission.

 

In UDP Client mode, module will only communicate with Remote IP/Port. If data don’t from Remote IP/Port, it won’t be received by module.

 

In UDP Client mode, if user configures Remote IP to 255.255.255.255, module can achieve UDP broadcast to all network segment and receive broadcast data. User can also configure Remote IP to xxx.xxx.xxx.255 to realize UDP broadcast in same network segment.

 

UDP Client mode is usually applied to the situation that data packet is small, data transmission rate is high, requirement of packet loss rate is low and data need to be sent to assigned IP.

 

Data transmission diagram as follow:

UDP Client mode

 

 

2.Configuration and test

We take USR-TCP232-410S (USRIOT Serial to Ethernet Converter)as an example to configure and test. We configure 410S by Web Server and test data transmission by software USR-TCP232-Test-V1.3.exe. 

 

2.1.UDP Server mode

When user configures module to work in UDP Server mode, user needs to configure parameters as follows:

  • Work mode
  • Local port

 

Configure 410S by Web Server as follow(410S connects to same router as PC which do the data transmission test, and to communicate with PC, 410S’IP has been changed to 192.168.5.200 to in same network segment as PC):

UDP Server mode

Figure 4 UDP Server mode configuration

 

Test data transmission by USR-TCP232-Test-V1.3.exe as follow:

UDP Server mode configuration

UDP Server mode configuration

Figure 5 UDP Server mode data transmission

 

2.2. UDP Client mode

When user configures module to work in UDP Client mode, user needs to configure parameters as follows:

  • Work mode
  • Remote port
  • Remote IP
  • Local port

 

Configure 410S by Web Server as follow:

 

 

Configure 410S by Web Server as follow:

UDP Client mode

Figure 6 UDP Client mode configuration

 

 

Remote Server Addr is network side device address(Here is PC’s IP: 192.168.5.18).

 

Test data transmission by USR-TCP232-Test-V1.3.exe as follow:

Test data transmission by USR-TCP232-Test-V1.3.exe as follow:

 

Figure 7 UDP Client mode data transmission

Industrial loT Gateways Ranked First in China by Online Sales for Seven Consecutive Years **Data from China's Industrial IoT Gateways Market Research in 2023 by Frost & Sullivan
Subscribe
Be Honest, Do Best
Copyright © Jinan USR IOT Technology Limited All Rights Reserved. Lu ICPB No. 16015649-5/ Sitemap / Privacy Policy