<
From version < 12.1 >
edited by David Huang
on 2024/06/07 16:24
To version < 34.2 >
edited by Mengting Qiu
on 2024/08/19 17:46
>
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  
... ... @@ -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
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0