<
From version < 7.1 >
edited by Edwin Chen
on 2024/06/02 22:10
To version < 36.1 >
edited by Mengting Qiu
on 2024/08/20 11:00
>
Change comment: Uploaded new attachment "image-20240820110003-1.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.ting
Content
... ... @@ -51,11 +51,11 @@
51 51  |(% style="width:117px" %)China Mobile|(% style="width:151px" %)No need configure|(% style="width:406px" %)China Mainland, HongKong|(% style="width:351px" %) |(% style="width:120px" %)
52 52  |(% style="width:117px" %)China Telecom|(% style="width:151px" %)ctnb|(% style="width:406px" %)China Mainland|(% style="width:351px" %) |(% style="width:120px" %)
53 53  
54 -
55 55  == 2.2 Speed Up Network Attach time ==
56 56  
57 57  **BG95-M2** supports multi bands (% style="color:blue" %)**in NB-IoT and LTE-M. **(%%) It will search one by one and try to attach, this will take a lot of time and even cause attach fail and show **Signal Strenght:99**.
58 58  
58 +**Note:**Before using the NB module command, users need to power on the NB module. Run the AT+QSW command to turn on and off the NB module.Remember to shut down after using the NB module command, otherwise it will consume power.
59 59  
60 60  Attache to 1NCE card for Australia use:
61 61  
... ... @@ -71,8 +71,116 @@
71 71  
72 72  See bands used for different provider:** [[NB-IoT Deployment , Bands, Operator list>>http://wiki.dragino.com/xwiki/bin/view/Main/NB-IoT%20Deployment%20%2C%20Bands%2C%20Operator%20list/]]**
73 73  
74 +=== **1.Configure Frequency Band** ===
74 74  
76 +AT+QCFG="band"[,<GSM_bandval>,<eMTC_bandval>,<NB-IoT_bandval>[,<effect>]]
75 75  
78 +<GSM_bandval>:
79 +
80 +0 No change 
81 +0x1 EGSM900
82 +0x2 DCS1800
83 +0x4 GSM850 
84 +0x8 PCS1900 
85 +0xF All of the supported bands above
86 +
87 +<eMTC_bandval>:
88 +
89 +0 No change 
90 +0x1  LTE B1
91 +0x2  LTE B2 
92 +0x4  LTE B3 
93 +0x8  LTE B4 
94 +0x10  LTE B5 
95 +0x80  LTE B8 
96 +0x800  LTE B12 
97 +0x1000  LTE B13 
98 +0x20000  LTE B18 
99 +0x40000  LTE B19 
100 +0x80000  LTE B20 
101 +0x1000000  LTE B25 
102 +0x2000000  LTE B26 
103 +0x4000000  LTE B27 
104 +0x8000000  LTE B28 
105 +0x40000000  LTE B31 
106 +0x20000000000000000  LTE B66 
107 +0x800000000000000000  LTE B72 
108 +0x1000000000000000000  LTE B73 
109 +0x1000000000000000000000  LTE B85
110 +
111 +<NB-IoT_bandval>:
112 +
113 +0 No change 
114 +0x1  LTE B1
115 +0x2  LTE B2 
116 +0x4  LTE B3 
117 +0x8  LTE B4 
118 +0x10  LTE B5 
119 +0x80  LTE B8 
120 +0x800  LTE B12 
121 +0x1000  LTE B13 
122 +0x20000  LTE B18 
123 +0x40000  LTE B19 
124 +0x80000  LTE B20 
125 +0x1000000  LTE B25 
126 +0x8000000  LTE B28 
127 +0x40000000  LTE B31 
128 +0x20000000000000000  LTE B66
129 +
130 +0x400000000000000000  LTE B71
131 +0x800000000000000000  LTE B72 
132 +0x1000000000000000000  LTE B73 
133 +0x1000000000000000000000  LTE B85
134 +
135 +For example, setting the LTE-M network frequency band to 3.
136 +
137 +AT+QCFG="band",0xF,0x4,0,1
138 +
139 +When searching for all bands, the value of this command is set to:
140 +
141 +AT+QCFG="band",0xF,0x100002000000000f0e189f,0x10004200000000090e189f,1
142 +
143 +
144 +=== **2.Configure search network sequence** ===
145 +
146 +AT+QCFG="nwscanseq",<scanseq>,1
147 +
148 +<scanseq>:
149 +
150 +00 Automatic (eMTC → NB-IoT → GSM) 
151 +01 GSM 
152 +02 eMTC 
153 +03 NB-IoT
154 +
155 +AT+QCFG="nwscanseq",02,1  ~/~/Priority search for eMTC
156 +
157 +=== **3.Configure Network Category to be Searched for under LTE RAT** ===
158 +
159 +AT+QCFG="iotopmode",mode,1
160 +
161 +0 eMTC 
162 +1 NB-IoT 
163 +2 eMTC and NB-IoT
164 +
165 +=== **4.AT command to set frequency band and network category** ===
166 +
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 +
76 76  = 3. Configure to connect to different servers =
77 77  
78 78  == 3.1 General UDP Connection ==
... ... @@ -95,12 +95,34 @@
95 95  
96 96  * (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5601**  (%%) ~/~/ Set UDP server address and port
97 97  
98 -[[image:image-20230802112413-2.png]]
206 +[[image:image-20240819102802-1.png]]
99 99  
100 100  ==== 3.1.2.2 Uplink Example ====
101 101  
102 -[[image:image-20230802112413-3.png]]
210 +[[image:image-20240819105418-8.png||height="671" width="1414"]]
103 103  
212 +== 3.2 General COAP Connection ==
213 +
214 +The NB-IoT Sensor can send packet to server use COAP protocol.
215 +
216 +Below are the commands.
217 +
218 +(% style="color:blue" %)**AT Commands:**
219 +
220 +* (% style="color:#037691" %)**AT+PRO=1,0**   (%%) ~/~/ Set to use COAP protocol to uplink, Payload Type select Hex payload.
221 +
222 +* (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5683** (%%) ~/~/ Set COAP server address and port
223 +
224 +* (% style="color:#037691" %)**AT+URI1=11,"I"**  (%%) ~/~/  Configure CoAP Message Options
225 +* (% style="color:#037691" %)**AT+URI2=11,"aaa05e26-4d6d-f01b-660e-1d8de4a3bfe1"**    (%%) ~/~/ Configure CoAP Message Options
226 +
227 +[[image:image-20240819103212-2.png]]
228 +
229 +=== 3.2.1 Uplink Example ===
230 +
231 +[[image:image-20240819103909-4.png||height="453" width="955"]]
232 +
233 +
104 104  == 3.2 General MQTT Connection ==
105 105  
106 106  The NB-IoT Sensor can send packet to server use MQTT protocol.
... ... @@ -123,10 +123,11 @@
123 123  
124 124  * (% style="color:#037691" %)**AT+SUBTOPIC=NSE01_SUB**  (%%) ~/~/ Set the subscription topic of MQTT
125 125  
126 -[[image:image-20230802112413-4.png]]
256 +[[image:image-20240819105003-7.png||height="613" width="458"]]
127 127  
128 -[[image:image-20230802112413-5.png||height="530" width="987"]]
129 129  
259 +[[image:image-20240819104942-6.png||height="702" width="974"]]
260 +
130 130  (% 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.**
131 131  
132 132  == 3.3 [[ThingSpeak>>url:https://thingspeak.com/]] (via MQTT) ==
... ... @@ -135,9 +135,9 @@
135 135  
136 136  [[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.
137 137  
138 -[[image:image-20230802112413-6.png||height="336" width="925"]]
269 +[[image:image-20240819173602-1.png||height="401" width="743"]]
139 139  
140 -[[image:image-20230802112413-7.png]]
271 +[[image:image-20240819173706-3.png||height="595" width="597"]]
141 141  
142 142  === 3.3.2 Simulate with MQTT.fx ===
143 143  
... ... @@ -145,7 +145,7 @@
145 145  
146 146  After we got MQTT Credentials, we can first simulate with PC tool MQTT.fx tool to see if the Credentials and settings are fine.
147 147  
148 -[[image:image-20230802112413-8.png]]
279 +[[image:image-20240819173826-4.png||height="534" width="734"]]
149 149  
150 150  * (% style="color:#037691" %)**Broker Address:**(%%) mqtt3.thingspeak.com
151 151  
... ... @@ -159,9 +159,9 @@
159 159  
160 160  ==== 3.3.2.2 Publish Data to ThingSpeak Channel ====
161 161  
162 -[[image:image-20230802112413-9.png]]
293 +[[image:image-20240819174033-5.png]]
163 163  
164 -[[image:image-20230802112413-10.png]]
295 +[[image:image-20240819174209-6.png]]
165 165  
166 166  (% style="color:blue" %)**In MQTT.fx, we can publish below info:**
167 167  
... ... @@ -173,7 +173,7 @@
173 173  
174 174  (% style="color:blue" %)**Result: **
175 175  
176 -[[image:image-20230802112413-11.png||height="539" width="901"]]
307 +[[image:image-20240819174314-7.png||height="469" width="785"]]
177 177  
178 178  === 3.3.3 Configure NB-IoT Sensor for connection ===
179 179  
... ... @@ -195,7 +195,7 @@
195 195  
196 196  ==== 3.3.3.2 Uplink Examples ====
197 197  
198 -[[image:image-20230816201942-1.png]]
329 +[[image:image-20240819174540-8.png]]
199 199  
200 200  For SE01-NB
201 201  
... ... @@ -223,9 +223,9 @@
223 223  
224 224  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.
225 225  
226 -[[image:image-20230802112413-12.png||height="504" width="1011"]]
357 +[[image:image-20240819174610-9.png]]
227 227  
228 -[[image:image-20230802112413-13.png||height="331" width="978"]]
359 +[[image:image-20240819174618-10.png]]
229 229  
230 230  Below is the NB-IoT Product Table show the mapping.
231 231  
... ... @@ -567,7 +567,7 @@
567 567  
568 568  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]]
569 569  
570 -= 4. MQTT/UDP/TCP downlink =
701 += 4. COAP/UDP/MQTT/TCP downlink =
571 571  
572 572  == 4.1 MQTT (via MQTT.fx) ==
573 573  
... ... @@ -609,6 +609,24 @@
609 609  
610 610  (% style="color:red" %)**Note: Users can edit the hex command in advance. When the node uplink, directly click the publish button several times to increase the success rate of command configuration.**
611 611  
743 += 5. GPS positioning function =
744 +
745 +=== 1. Turn on GPS function ===
746 +
747 +(% class="wikigeneratedid" %)
748 +AT+GPS=1 or 0  ~/~/GPS function on or off
749 +
750 +
751 +=== 2.Extend the time to turn on GNSS ===
752 +
753 +AT+GNSST=30  ~/~/GPS search for positioning information for 30 seconds
754 +
755 +
756 +=== 3.Get or set GPS positioning interval in units of hour ===
757 +
758 +AT+GTDC=24  ~/~/The device will activate GPS positioning every 24 hours
759 +
760 +
612 612  = 5. FAQ =
613 613  
614 614  == 5.1 What is the usage of Multi Sampling and One Uplink? ==
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
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0