<
From version < 53.3 >
edited by Xiaoling
on 2023/08/02 11:42
To version < 53.2 >
edited by Xiaoling
on 2023/08/02 11:35
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,10 +8,3 @@
1 -(% class="wikigeneratedid" %)
2 -**Table of Contents:**
3 -
4 -{{toc/}}
5 -
6 -
7 -
8 8  = 1. The use of this guideline =
9 9  
10 10  
... ... @@ -16,50 +16,46 @@
16 16  
17 17  The -NB and -NS models support (% style="color:blue" %)**LTE Cat NB2**(%%), with below frequency band: multiple frequency bands of (% style="color:blue" %)**B1/B2/B3/B4/B5/B8/B12/B13/B14/B17/B18/B19/B20/B25/B28/B66/B70/B85**(%%) . Make sure you use a the NB-IoT SIM card.
18 18  
19 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
20 -|(% style="background-color:#4f81bd; color:white" %)**SIM Provider**|(% style="background-color:#4f81bd; color:white" %)**APN**|(% style="background-color:#4f81bd; color:white" %)**NB-IoT Coverage**|(% style="background-color:#4f81bd; color:white" %)**Comments**
21 -|1NCE| | |
22 -|China Mobile| | |
23 23  
24 -
25 -
26 26  == 2.1 1NCE SIM Card. ==
27 27  
28 28  
16 +(% border="1" cellspacing="4" style="width:510px;background-color:#F2F2F2" %)
17 +|(% style="background-color:#4F81BD;color:white" %)SIM Provider|(% style="background-color:#4F81BD;color:white" %)APN|(% style="background-color:#4F81BD;color:white" %)NB-IoT Coverage|(% style="background-color:#4F81BD;color:white" %)Comments
18 +|1NCE| | |
19 +|China Mobile| | |
29 29  
21 +
30 30  = 3. Configure to connect to different servers =
31 31  
32 -== 3.1 General UDP Connection ==
33 33  
25 += NB-IoT 服务器对接例子 =
34 34  
27 += 1. General UDP Connection =
28 +
35 35  The NB-IoT Sensor can send packet to server use UDP protocol.
36 36  
31 +== 1.1 Simulate UDP Connection by PC tool ==
37 37  
38 -=== 3.1.1 Simulate UDP Connection by PC tool ===
39 -
40 -
41 41  We can use PC tool to simulate UDP connection to make sure server works ok.
42 42  
43 43  [[image:image-20230802112413-1.png]]
44 44  
37 +== 1.2 Configure NB-IoT Sensor ==
45 45  
46 -=== 3.1.2 Configure NB-IoT Sensor ===
39 +=== 1.2.1 AT Commands ===
47 47  
48 -==== 3.1.2.1 AT Commands ====
41 +AT Commands:
49 49  
50 -
51 -**AT Commands:**
52 -
53 -* AT+PRO=2,0  ~/~/  Set to use UDP protocol to uplink ,Payload Type select Hex payload
43 +* AT+PRO=2,0 ~/~/  Set to use UDP protocol to uplink  ,  Payload Type select Hex payload
54 54  * AT+SERVADDR=120.24.4.116,5601    ~/~/  Set UDP server address and port
55 55  * AT+CFM=1        ~/~/  If the server does not respond, this command is unnecessary
56 56  
57 57  [[image:image-20230802112413-2.png]]
58 58  
49 +=== 1.2.2 Uplink Example ===
59 59  
60 -==== 3.1.2.2 Uplink Example ====
61 61  
62 -
63 63  [[image:image-20230802112413-3.png]]
64 64  
65 65  
... ... @@ -112,8 +112,9 @@
112 112  * User Name: <Your ThingSpeak MQTT User Name>
113 113  * Password: <Your ThingSpeak MQTT Password>
114 114  
115 -=== 1.2.2 Publish Data to ThingSpeak Channel ===
116 116  
105 +=== 1.2.2 Publish Data to ThingSpeak Channel ===
106 +
117 117  [[image:image-20230802112413-9.png]]
118 118  
119 119  [[image:image-20230802112413-10.png]]
... ... @@ -123,6 +123,7 @@
123 123  * Topic: channels/YOUR_CHANNEL_ID/publish
124 124  * Payload: field1=63&field2=67&status=MQTTPUBLISH
125 125  
116 +
126 126  Where 63 and 67 are the value to be published to field1 & field2.
127 127  
128 128  
... ... @@ -145,6 +145,7 @@
145 145  * AT+SUBTOPIC=<YOUR_CHANNEL_ID>
146 146  
147 147  
139 +
148 148  === 1.3.2 Uplink Examples ===
149 149  
150 150  For S31-NB
... ... @@ -280,6 +280,7 @@
280 280  
281 281  )))|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %)count|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
282 282  
275 +
283 283  = 4. Datacake =
284 284  
285 285  == 1.1 Define Product ==
... ... @@ -402,7 +402,7 @@
402 402  
403 403  [[image:image-20230802112413-30.png]]
404 404  
405 -== 1.2 Simulate Connection ==
398 +== 1.2 Simulate Connection ==
406 406  
407 407  [[image:image-20230802112413-31.png]]
408 408  
... ... @@ -415,9 +415,10 @@
415 415  * AT+PUBTOPIC=any value
416 416  * AT+SUBTOPIC=any value
417 417  
411 +
418 418  = 6. ThingsBoard.Cloud (via MQTT) =
419 419  
420 -== 1.1 Configure ThingsBoard ==
414 +== 1.1 Configure ThingsBoard ==
421 421  
422 422  === 1.1.1 Create Device ===
423 423  
... ... @@ -524,6 +524,7 @@
524 524  * Broker Port: 1883
525 525  * Client ID: “Any value”
526 526  
521 +
527 527  On the section User credentials, set the following information:(这边加一个截图)
528 528  
529 529  * User Name: “Any value” Tago validates your user by the token only
... ... @@ -531,6 +531,7 @@
531 531  * PUBTOPIC: “Any value”
532 532  * SUBTOPIC: “Any value”
533 533  
529 +
534 534  == 5.2 Simulate with MQTT.fx ==
535 535  
536 536  [[image:image-20230802112413-47.png]]
... ... @@ -565,6 +565,7 @@
565 565  * PUBTOPIC: “Any value”
566 566  * SUBTOPIC: “Any value”
567 567  
564 +
568 568  [[image:image-20230802112413-52.png]]
569 569  
570 570  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0