Last modified by Hera Guo on 2025/02/18 09:29

From version 1.1
edited by Chxy
on 2024/10/08 12:52
Change comment: There is no comment for this version
To version 4.1
edited by Chxy
on 2024/10/08 17:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,18 @@
1 1  
2 2  
3 -= 1. UDP Procotol  ~-~- Direction Connection =
3 +**Table of Contents:**
4 4  
5 -== 1.1 UDP Interface ==
5 +{{toc/}}
6 6  
7 +
8 += 1. Overview =
9 +
10 +
11 +
12 += 2. UDP Procotol  ~-~- Directly Connection =
13 +
14 +== 2.1 UDP Interface ==
15 +
7 7  * Server Address: server1.thingseye.io
8 8  * Port: 11560
9 9  
... ... @@ -12,7 +12,7 @@
12 12  Please contact ThingsEye team for detail how to forward data to client.
13 13  
14 14  
15 -== 1.2 Test UDP Interface via Socket Tool ==
24 +== 2.2 Test UDP Interface via Socket Tool ==
16 16  
17 17  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.
18 18  
... ... @@ -29,5 +29,36 @@
29 29  We can see the message arrives, but it shows ERROR because the message doesn't follow with the UDP Server format.
30 30  
31 31  
41 += 2.3 Test with Dragino NB device =
32 32  
43 +=== 2.3.1 Configure NB-IoT End Node ===
44 +
45 +Device here is **[[S31-NB>>https://www.dragino.com/products/temperature-humidity-sensor/item/288-s31-nb-s31b-nb.html]]** : and have been configure below
46 +
47 +* Set to use ThingsEye UDP server: **AT+SERVADDR=server1.thingseye.io,11560**
48 +* Equip with a NB-IoT SIM Card to access to NB-IoT Network.
49 +
50 +The S31-NB's cellular module has the IMEI: **863663062789483**
51 +
52 +
53 +=== 2.3.2 Check Uplink Data ===
54 +
55 +Re-activate the S31-NB, and we can see it in the debug window:
56 +
57 +[[image:1728378218744-800.png||height="431" width="1003"]]
58 +
59 +
60 +=== 2.3.3 Auto-Create Device ===
61 +
62 +The default **Tenant UDP Server** has already been configured to decode the Dragino -NB / -CB NB-IoT node. So once each end node sends a data to server. Tenant will auto create the device in the server.
63 +
64 +[[image:1728378968101-683.png||height="273" width="1307"]]
65 +
66 +[[image:1728379050044-764.png||height="424" width="1312"]]
67 +
68 +
69 +So we have this device in the Tenant Device List. The next step will be how to use these value to make a nice dashboard for user's application.
70 +
71 +
72 +
33 33  
1728378195043-766.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.EdwinChen
Size
... ... @@ -1,0 +1,1 @@
1 +146.8 KB
Content
1728378218744-800.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.EdwinChen
Size
... ... @@ -1,0 +1,1 @@
1 +104.9 KB
Content
1728378968101-683.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.EdwinChen
Size
... ... @@ -1,0 +1,1 @@
1 +37.2 KB
Content
1728379050044-764.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.EdwinChen
Size
... ... @@ -1,0 +1,1 @@
1 +97.6 KB
Content