<
From version < 12.1 >
edited by David Huang
on 2024/06/07 16:24
To version < 46.2 >
edited by Mengting Qiu
on 2024/08/20 11:02
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.David
1 +XWiki.ting
Content
... ... @@ -162,7 +162,25 @@
162 162  1 NB-IoT 
163 163  2 eMTC and NB-IoT
164 164  
165 +=== **4.AT command to set frequency band and network category** ===
165 165  
167 +AT+QBAND=0x100002000000000f0e189f,0x10004200000000090e189f  ~/~/<eMTC_bandval>,<NB-IoT_bandval>
168 +
169 +AT+IOTMOD=0  ~/~/ 0 eMTC  1 NB-IoT  2 eMTC and NB-IoT
170 +
171 +**Example :**
172 +
173 +Taking the use of 1nce cards in **the United States** as an example.
174 +
175 +AT+APN=iot.1nce.net  ~/~/set APN
176 +
177 +AT+QBAND=0x100180A,0  ~/~/ eMTC :Set frequency band B2,B4,B12,B13,B25  NB-IoT:No change
178 +
179 +AT+IOTMOD=0  ~/~/ Set  eMTC Network
180 +
181 +**Setting the above commands in the United States will greatly reduce the network search time of the NB module.**
182 +
183 +
166 166  = 3. Configure to connect to different servers =
167 167  
168 168  == 3.1 General UDP Connection ==
... ... @@ -185,11 +185,11 @@
185 185  
186 186  * (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5601**  (%%) ~/~/ Set UDP server address and port
187 187  
188 -[[image:image-20230802112413-2.png]]
206 +[[image:image-20240819102802-1.png]]
189 189  
190 190  ==== 3.1.2.2 Uplink Example ====
191 191  
192 -[[image:image-20230802112413-3.png]]
210 +[[image:image-20240819105418-8.png||height="671" width="1414"]]
193 193  
194 194  == 3.2 General COAP Connection ==
195 195  
... ... @@ -206,8 +206,11 @@
206 206  * (% style="color:#037691" %)**AT+URI1=11,"I"**  (%%) ~/~/  Configure CoAP Message Options
207 207  * (% style="color:#037691" %)**AT+URI2=11,"aaa05e26-4d6d-f01b-660e-1d8de4a3bfe1"**    (%%) ~/~/ Configure CoAP Message Options
208 208  
227 +[[image:image-20240819103212-2.png]]
228 +
209 209  === 3.2.1 Uplink Example ===
210 210  
231 +[[image:image-20240819103909-4.png||height="453" width="955"]]
211 211  
212 212  
213 213  == 3.2 General MQTT Connection ==
... ... @@ -232,10 +232,11 @@
232 232  
233 233  * (% style="color:#037691" %)**AT+SUBTOPIC=NSE01_SUB**  (%%) ~/~/ Set the subscription topic of MQTT
234 234  
235 -[[image:image-20230802112413-4.png]]
256 +[[image:image-20240819105003-7.png||height="613" width="458"]]
236 236  
237 -[[image:image-20230802112413-5.png||height="530" width="987"]]
238 238  
259 +[[image:image-20240819104942-6.png||height="702" width="974"]]
260 +
239 239  (% style="color:red" %)**Notice: MQTT protocol has a much higher power consumption compare with UDP/CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval.**
240 240  
241 241  == 3.3 [[ThingSpeak>>url:https://thingspeak.com/]] (via MQTT) ==
... ... @@ -244,9 +244,9 @@
244 244  
245 245  [[ThingSpeak>>url:https://thingspeak.com/]] connection uses MQTT Connection. So we need to get MQTT Credentials first. You need to point MQTT Devices to ThingSpeak Channel as well.
246 246  
247 -[[image:image-20230802112413-6.png||height="336" width="925"]]
269 +[[image:image-20240819173602-1.png||height="401" width="743"]]
248 248  
249 -[[image:image-20230802112413-7.png]]
271 +[[image:image-20240819173706-3.png||height="595" width="597"]]
250 250  
251 251  === 3.3.2 Simulate with MQTT.fx ===
252 252  
... ... @@ -254,7 +254,7 @@
254 254  
255 255  After we got MQTT Credentials, we can first simulate with PC tool MQTT.fx tool to see if the Credentials and settings are fine.
256 256  
257 -[[image:image-20230802112413-8.png]]
279 +[[image:image-20240819173826-4.png||height="534" width="734"]]
258 258  
259 259  * (% style="color:#037691" %)**Broker Address:**(%%) mqtt3.thingspeak.com
260 260  
... ... @@ -268,9 +268,9 @@
268 268  
269 269  ==== 3.3.2.2 Publish Data to ThingSpeak Channel ====
270 270  
271 -[[image:image-20230802112413-9.png]]
293 +[[image:image-20240819174033-5.png]]
272 272  
273 -[[image:image-20230802112413-10.png]]
295 +[[image:image-20240819174209-6.png]]
274 274  
275 275  (% style="color:blue" %)**In MQTT.fx, we can publish below info:**
276 276  
... ... @@ -282,7 +282,7 @@
282 282  
283 283  (% style="color:blue" %)**Result: **
284 284  
285 -[[image:image-20230802112413-11.png||height="539" width="901"]]
307 +[[image:image-20240819174314-7.png||height="469" width="785"]]
286 286  
287 287  === 3.3.3 Configure NB-IoT Sensor for connection ===
288 288  
... ... @@ -304,7 +304,7 @@
304 304  
305 305  ==== 3.3.3.2 Uplink Examples ====
306 306  
307 -[[image:image-20230816201942-1.png]]
329 +[[image:image-20240819174540-8.png]]
308 308  
309 309  For SE01-NB
310 310  
... ... @@ -332,9 +332,9 @@
332 332  
333 333  When NB-IoT sensor upload to ThingSpeak. The payload already specify which fileds related to which sensor value. Use need to create fileds in Channels Settings. with name so to see the value correctly.
334 334  
335 -[[image:image-20230802112413-12.png||height="504" width="1011"]]
357 +[[image:image-20240819174610-9.png]]
336 336  
337 -[[image:image-20230802112413-13.png||height="331" width="978"]]
359 +[[image:image-20240819174618-10.png]]
338 338  
339 339  Below is the NB-IoT Product Table show the mapping.
340 340  
... ... @@ -364,11 +364,11 @@
364 364  Dragino NB-IoT sensors has its template in **[[Datacake>>https://datacake.co/]]** Platform. There are two version for NB Sensor,
365 365  
366 366  (% class="wikigeneratedid" %)
367 -As example for S31B-NB. there are two versions: **S31B-NB-1D and S31B-NB-GE.**
389 +As example for S31B-CB. there are two versions: **S31B-CB-1D and S31B-CB-GE.**
368 368  
369 -* (% style="color:blue" %)**S31B-NB-1D**(%%): This version have pre-configure DataCake connection. User just need to Power on this device, it will auto connect send data to DataCake Server.
391 +* (% style="color:blue" %)**S31B-CB-1D**(%%): This version have pre-configure DataCake connection. User just need to Power on this device, it will auto connect send data to DataCake Server.
370 370  
371 -* (% style="color:blue" %)**S31B-NB-GE**(%%): This verson doesn't have pre-configure Datacake connection. User need to enter the AT Commands to connect to Datacake. See below for instruction.
393 +* (% style="color:blue" %)**S31B-CB-GE**(%%): This verson doesn't have pre-configure Datacake connection. User need to enter the AT Commands to connect to Datacake. See below for instruction.
372 372  
373 373  === 3.4.1 For device Already has template ===
374 374  
... ... @@ -376,21 +376,21 @@
376 376  
377 377  (% style="color:blue" %)**Add Device**(%%) in DataCake.
378 378  
379 -[[image:image-20230808162301-1.png||height="453" width="952"]]
401 +[[image:image-20240820110003-1.png]]
380 380  
381 -[[image:image-20230808162342-2.png||height="541" width="952"]]
403 +[[image:image-20240820110017-2.png]]
382 382  
383 383  (% style="color:blue" %)**Choose the correct model**(%%) from template.
384 384  
385 -[[image:image-20230808162421-3.png]]
407 +[[image:image-20240820110031-3.png]]
386 386  
387 387  (% style="color:blue" %)**Fill Device ID**(%%). The device ID needs to be filled in with IMEI, and a prefix of(% style="color:blue" %)** 'f' **(%%)needs to be added.
388 388  
389 -[[image:image-20230808163612-7.png||height="549" width="952"]]
411 +[[image:image-20240820110048-4.png]]
390 390  
391 -[[image:image-20230808163035-5.png]]
413 +[[image:image-20240820110103-5.png]]
392 392  
393 -[[image:image-20230808163049-6.png||height="544" width="926"]]
415 +[[image:image-20240820110114-6.png]]
394 394  
395 395  === 3.4.2 For Device already registered in DataCake before shipped ===
396 396  
... ... @@ -398,9 +398,9 @@
398 398  
399 399  Users can use their phones or computers to scan QR codes to obtain device data information.
400 400  
401 -[[image:image-20230808170051-8.png||height="255" width="259"]]
423 +[[image:image-20240820110129-7.png]]
402 402  
403 -[[image:image-20230808170548-9.png]]
425 +[[image:image-20240820110218-9.png]]
404 404  
405 405  ==== 3.4.2.2 Claim Device to User Account ====
406 406  
... ... @@ -410,11 +410,11 @@
410 410  
411 411  **Step1: Add a device**
412 412  
413 -[[image:image-20240129170024-1.png||height="330" width="900"]]
435 +[[image:image-20240820110235-10.png]][[image:image-20240129170024-1.png||height="330" width="900"]]
414 414  
415 415  **Step2: Choose your device type,please select dragino NB-IOT device**
416 416  
417 -[[image:image-20240129170216-2.png||height="534" width="643"]]
439 +[[image:image-20240820110247-11.png]]
418 418  
419 419  **Step3: Choose to create a new device**
420 420  
... ... @@ -676,7 +676,7 @@
676 676  
677 677  Users can refer to [[Dragino NB device connection to AWS platform instructions>>http://wiki.dragino.com/xwiki/bin/view/Dragino%20NB%20device%20connection%20to%20AWS%20platform%20instructions/#H1.LogintotheplatformandfindIoTcore]]
678 678  
679 -= 4. MQTT/UDP/TCP downlink =
701 += 4. COAP/UDP/MQTT/TCP downlink =
680 680  
681 681  == 4.1 MQTT (via MQTT.fx) ==
682 682  
image-20240819102802-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +41.5 KB
Content
image-20240819103212-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +49.5 KB
Content
image-20240819103826-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +122.4 KB
Content
image-20240819103909-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +122.2 KB
Content
image-20240819104904-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +52.1 KB
Content
image-20240819104942-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +52.1 KB
Content
image-20240819105003-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +48.2 KB
Content
image-20240819105418-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +163.8 KB
Content
image-20240819112109-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +12.9 KB
Content
image-20240819173602-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +52.3 KB
Content
image-20240819173659-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +44.8 KB
Content
image-20240819173706-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +44.8 KB
Content
image-20240819173826-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +42.3 KB
Content
image-20240819174033-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +33.1 KB
Content
image-20240819174209-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +18.9 KB
Content
image-20240819174314-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +48.4 KB
Content
image-20240819174540-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +99.8 KB
Content
image-20240819174610-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +127.8 KB
Content
image-20240819174618-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +34.6 KB
Content
image-20240820110003-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +66.5 KB
Content
image-20240820110017-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +78.3 KB
Content
image-20240820110031-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +59.2 KB
Content
image-20240820110048-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +64.0 KB
Content
image-20240820110103-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +71.6 KB
Content
image-20240820110114-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +77.4 KB
Content
image-20240820110129-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +10.7 KB
Content
image-20240820110142-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +54.1 KB
Content
image-20240820110218-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +66.7 KB
Content
image-20240820110235-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +21.2 KB
Content
image-20240820110247-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +49.8 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0