Wiki source code of Connect Devices to ThingsEye
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | **Table of Contents:** | ||
| 4 | |||
| 5 | {{toc/}} | ||
| 6 | |||
| 7 | |||
| 8 | = 2. UDP Procotol ~-~- Directly Connection = | ||
| 9 | |||
| 10 | == 2.1 UDP Interface == | ||
| 11 | |||
| 12 | * Server Address: server1.thingseye.io | ||
| 13 | * Port: 11560 | ||
| 14 | |||
| 15 | The data sent to above UDP interface will not go directly to client's database. | ||
| 16 | |||
| 17 | Please contact ThingsEye team for detail how to forward data to client. | ||
| 18 | |||
| 19 | |||
| 20 | == 2.2 Test UDP Interface via Socket Tool == | ||
| 21 | |||
| 22 | Download the UDP Test Tool from: [[https:~~/~~/sourceforge.net/projects/sockettest/ >>https://sourceforge.net/projects/sockettest/]]. Run this tool, and input the server address and UDP port as below and click send. | ||
| 23 | |||
| 24 | [[image:1728362612869-443.png||height="454" width="540"]] | ||
| 25 | |||
| 26 | In server side, Tenant Administrator can check this in Tenant UDP Server location. | ||
| 27 | |||
| 28 | [[image:1728362834430-749.png||height="510" width="1667"]] | ||
| 29 | |||
| 30 | Click and see the debug info as below: | ||
| 31 | |||
| 32 | [[image:1728363020699-203.png]] | ||
| 33 | |||
| 34 | We can see the message arrives, but it shows ERROR because the message doesn't follow with the UDP Server format. | ||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 |