<
From version < 99.1 >
edited by Edwin Chen
on 2023/08/10 12:36
To version < 99.3 >
edited by Xiaoling
on 2023/08/11 11:48
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -35,6 +35,8 @@
35 35  |(% style="width:117px" %)China Mobile|(% style="width:151px" %)No need configure|(% style="width:474px" %)China Mainland, HongKong|(% style="width:135px" %)
36 36  |(% style="width:117px" %)China Telecom|(% style="width:151px" %)ctnb|(% style="width:474px" %)China Mainland|(% style="width:135px" %)
37 37  
38 +
39 +
38 38  = 3. Configure to connect to different servers =
39 39  
40 40  == 3.1 General UDP Connection ==
... ... @@ -134,6 +134,8 @@
134 134  
135 135  * (% style="color:#037691" %)**Password:**(%%) <Your ThingSpeak MQTT Password>
136 136  
139 +
140 +
137 137  ==== 3.3.2.2 Publish Data to ThingSpeak Channel ====
138 138  
139 139  
... ... @@ -163,7 +163,7 @@
163 163  
164 164  In the NB-IoT, we can run below commands so to publish the channels like MQTT.fx
165 165  
166 -* (% style="color:blue" %)**AT+PRO=3,1** (%%) **~/~/ Set to use ThingSpeak Server and Related Payload**
170 +* (% style="color:blue" %)**AT+PRO=3,1** (%%) ~/~/ Set to use ThingSpeak Server and Related Payload
167 167  
168 168  * (% style="color:blue" %)**AT+CLIENT=<Your ThingSpeak MQTT ClientID>**
169 169  
... ... @@ -175,6 +175,8 @@
175 175  
176 176  * (% style="color:blue" %)**AT+SUBTOPIC=<YOUR_CHANNEL_ID>**
177 177  
182 +
183 +
178 178  ==== 3.3.3.2 Uplink Examples ====
179 179  
180 180  
... ... @@ -236,6 +236,8 @@
236 236  |(% colspan="1" style="background-color:#4f81bd; color:white; width:143px" %)SN50V3-NB mod5|(% colspan="1" style="width:103px" %)mod|(% colspan="1" style="width:102px" %)Battery|(% colspan="1" style="width:157px" %)RSSI|(% colspan="1" style="width:154px" %)DS18B20 Temp|(% colspan="1" style="width:153px" %)adc0|(% colspan="1" style="width:151px" %)exit_state/input PA4|(% colspan="1" style="width:160px" %)Weight|(% colspan="1" style="width:152px" %) |(% colspan="1" style="width:67px" %) |(% colspan="1" style="width:69px" %)
237 237  |(% colspan="1" style="background-color:#4f81bd; color:white; width:143px" %)SN50V3-NB mod6|(% colspan="1" style="width:103px" %)mod|(% colspan="1" style="width:102px" %)Battery|(% colspan="1" style="width:157px" %)RSSI|(% colspan="1" style="width:154px" %)count|(% colspan="1" style="width:153px" %) |(% colspan="1" style="width:151px" %) |(% colspan="1" style="width:160px" %) |(% colspan="1" style="width:152px" %) |(% colspan="1" style="width:67px" %) |(% colspan="1" style="width:69px" %)
238 238  
245 +
246 +
239 239  == 3.4 Datacake ==
240 240  
241 241  === 3.4.1 Create device ===
... ... @@ -297,6 +297,7 @@
297 297  
298 298  [[image:image-20230809173127-4.png]]
299 299  
308 +
300 300  Please select the NB95S31B template.
301 301  
302 302  [[image:image-20230809173310-5.png]]
... ... @@ -305,6 +305,7 @@
305 305  
306 306  [[image:image-20230809173800-7.png]]
307 307  
317 +
308 308  Successfully imported template.
309 309  
310 310  [[image:image-20230809173835-8.png]]
... ... @@ -314,8 +314,10 @@
314 314  
315 315  [[image:image-20230809174053-9.png]]
316 316  
327 +
317 317  === 3.5.2 Simulate Connection ===
318 318  
330 +
319 319  We have completed the configuration of UDP. We can try sending packets to node red.
320 320  
321 321  [[image:image-20230810083934-1.png]]
... ... @@ -325,10 +325,12 @@
325 325  === 3.5.3 Configure NB-IoT Sensors ===
326 326  
327 327  
328 -* (% style="color:blue" %)**AT+PRO=2,0(hex format) or 2,1(json format)**(%%)    **~/~/  Set to UDP Server and  Payload**
340 +* (% style="color:blue" %)**AT+PRO=2,0(hex format) or 2,1(json format)  **(%%)** **~/~/  Set to UDP Server and  Payload
329 329  
330 -* **AT+SERVADDR=xx.xx.xx.xx,port   ** **~/~/  Set Server IP and  port**
342 +* (% style="color:blue" %)**AT+SERVADDR=xx.xx.xx.xx,port   **(%%)** **~/~/  Set Server IP and  port
331 331  
344 +
345 +
332 332  == 3.6 ThingsBoard.Cloud (via MQTT) ==
333 333  
334 334  === 3.6.1 Configure ThingsBoard ===
... ... @@ -473,13 +473,17 @@
473 473  
474 474  * (% style="color:#037691" %)**AT+PWD=“Your device token”**
475 475  
490 +
491 +
476 476  === 3.7.2 Simulate with MQTT.fx ===
477 477  
494 +
478 478  [[image:image-20230802112413-52.png]]
479 479  
480 480  
481 481  [[image:image-20230808105300-2.png]]
482 482  
500 +
483 483  Users can run the (% style="color:blue" %)**AT+PRO=3,5**(%%) command, and the payload will be converted to **JSON format**.
484 484  
485 485  [[image:image-20230808105217-1.png]]
... ... @@ -495,7 +495,6 @@
495 495  [[image:image-20230802112413-51.png||height="184" width="696"]]
496 496  
497 497  
498 -
499 499  == 3.8 TCP Connection ==
500 500  
501 501  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0