
USR-K6 User Manual www.usriot.com
Jinan USR IOT Technology Limited 34 / 107 [email protected]
Diagram 4.2.4-1 UDP Server
1)
UDP server is a IP address do not verify the resource in the normal UDP. After receive every UDP package,
change the target IP into data resource IP and port. When sending data, sending to the least IP and port.
2)
Usually this mode, several net device communicate with module and do not want to use TCP for high frequency.
3)
Example:
①
Set the K6 as UDP server, local port is 20108
②
Open the testing software, choose UDP and the local IP is IP of the PC, set the ports to be different, e.g. 23
and 8234 in the below diagram, then click.
4.2.5.
HTTPD Client
In this mode , users’ terminal device can send required data to assigned HTTPD server via K6, and then, K6 receives
the data from HTTP server, analyzes the data and sends the result back to the serial port.
No need for paying attention to the process of data conversion between the serial data and net data package.
Simple parameter setting can realize the requirement serial device sent to HTTP server.