Show last authors
1 **Table of Contents:**
2
3 {{toc/}}
4
5
6
7
8 (% _msthidden="1" %)
9 = (% _msthash="819" _msthidden="1" _msttexthash="149552" %)1. Overview(%%) =
10
11
12 (% _msthash="818" _msthidden="1" _msttexthash="11994229" %)
13 There are some new models of Dragino sensors support BLE[[type the link label>>attach:DeviceTool_1.1.apk]] remote configure. User can use mobile phone to configure the sensor via BLE.
14
15
16 (% _msthidden="1" %)
17 = (% _msthash="817" _msthidden="1" _msttexthash="278239" %)2. Support Models(%%) =
18
19
20 (% _msthash="816" _msthidden="1" _msttexthash="3359837" %)
21 Here list the models that support BLE and the method to activate BLE function.
22
23 {{velocity}}
24 $xwiki.ssfx.use("js/xwiki/table/table.css")
25 $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true)
26 {{/velocity}}
27
28 (% _msthidden="9" border="1" cellspacing="5" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f2f2f2; width:955px" %)
29 (% _msthidden="3" class="sortHeader" %)|=(% _msthash="806" _msthidden="1" _msttexthash="76765" style="width: 303px; background-color: rgb(217, 226, 243);" %)Models|=(% _msthash="807" _msthidden="1" _msttexthash="330434" style="width: 439px; background-color: rgb(217, 226, 243);" %)BLE Activate Method|=(% _msthash="808" _msthidden="1" _msttexthash="116701" style="width: 211px; background-color: rgb(217, 226, 243);" %)Comments
30 (% _msthidden="6" %)|(% _msthidden="1" style="width:303px" %)(% _msthidden="1" %)
31 (((
32 (% _msthash="809" _msthidden="1" _msttexthash="1183767" %)
33 All models with -LB, -LS , -NB, -NS, -CB, -CS suffix
34 )))|(% _msthidden="5" style="width:439px" %)(% _msthidden="5" %)
35 (((
36 (% _msthash="810" _msthidden="1" _msttexthash="2964052" %)
37 Device is battery power type and BLE will be only activate on below case:
38
39 (% _msthidden="1" %)
40 * Press button to send an uplink
41
42 (% _msthidden="1" %)
43 * Press button to active device.
44
45 (% _msthidden="1" %)
46 * Device Power on or reset.
47
48 (% _msthash="814" _msthidden="1" _msttexthash="6646042" %)
49 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
50 )))|(% style="width:211px" %)
51
52 (% _msthidden="1" %)
53 = (% _msthash="805" _msthidden="1" _msttexthash="251251" %)3. How to connect(%%) =
54
55 (% _msthidden="1" %)
56 == (% _msthash="804" _msthidden="1" _msttexthash="2234648" %)3.1 Use Dragino Device Tool to configure or upgrade firmware(%%) ==
57
58 (% _msthidden="1" %)
59 === (% _msthash="803" _msthidden="1" _msttexthash="353002" %)3.1.1 How to download(%%) ===
60
61
62 (% _msthash="802" _msthidden="1" _msttexthash="4840069" %)
63 Scroll to the bottom of the page, click Attachments, and click Device Tool_1.1.apk to download.
64
65 (% _msthidden="2" %)
66 [[image:image-20241207141019-15.png||_mstalt="453232" _msthash="801" _msthidden="A"]]
67
68
69 (% _msthidden="1" %)
70 === (% _msthash="800" _msthidden="1" _msttexthash="388687" %)3.1.2 How to use BLE to configure Sensors(%%) ===
71
72
73 (% _msthash="800" _msthidden="1" _msttexthash="388687" %)See Video Instruction: **[[Use BLE to configure Sensors>>https://youtube.com/shorts/Ajq2NvUslnw?feature=share]]**
74
75
76 (% _msthash="799" _msthidden="1" _msttexthash="25546196" %)
77 Install in mobile and run. Press the reset button of the device to be tested, and then click (% style="color:blue" %)**"Scan for Bluetooth devices".**(%%) Find the correct device and connect(the correct device name should be the same as the DEV EUI of the device).
78
79 (% _msthidden="2" %)
80 [[image:image-20241112140729-9.jpeg||_mstalt="474084" _msthidden="A" height="387" width="328"]]
81
82 (% _msthidden="2" %)
83 [[image:image-20241112140748-10.jpeg||_mstalt="495664" _msthidden="A" height="178" width="328"]]
84
85
86 (% _msthash="798" _msthidden="1" _msttexthash="3894137" %)
87 After the connection is successful, enter the interface and click (% style="color:blue" %)**"Conversation".**
88
89 (% _msthidden="2" %)
90 [[image:image-20241112141556-11.jpeg||_mstalt="495365" _msthidden="A" height="352" width="329"]]
91
92
93 (% _msthash="797" _msthidden="1" _msttexthash="7801690" %)
94 Each device has unique password named **AT PIN**. Input the password and you will be able to get access to the UART of the device.
95
96 (% _msthidden="2" %)
97 [[image:image-20241112143703-17.jpeg||_mstalt="496210" _msthidden="A" height="168" width="324"]]
98
99
100 (% _msthash="796" _msthidden="1" _msttexthash="10136945" %)
101 Enter AT PIN + line break in the dialog box, click (% style="color:blue" %)**"Send"**(%%), and return the data display (% style="color:blue" %)**"Password Correct"**(%%) to start configuring the AT command.
102
103 (% _msthidden="2" %)
104 [[image:image-20241112143413-14.jpeg||_mstalt="494468" _msthidden="A" height="725" width="325"]]
105
106
107 (% _msthidden="1" %)
108 (% style="color:red" %)**Note:**
109
110 (% _msthidden="1" %)
111 (% _msthash="794" _msthidden="1" _msttexthash="45456905" %)**Device Tool_1.1 is now compatible with sending commands without line breaks, and supports the simultaneous configuration of multiple AT commands. A record is also automatically saved after an instruction is sent, and clicking on a command in the history will display it directly in the input box.**
112
113 (% _msthidden="2" %)
114 [[image:image-20241207102725-2.png||_mstalt="429104" _msthash="793" _msthidden="A" height="578" width="329"]]
115
116
117 (% _msthidden="1" %)
118 === (% _msthash="792" _msthidden="1" _msttexthash="626002" %)3.1.3 How to use Mobile Phone to upgrade firmware(%%) ===
119
120 (% _msthidden="1" %)
121 ==== (% _msthash="791" _msthidden="1" _msttexthash="227461" %)3.1.3.1 NB / CB series   ( Use BLE to upgrade firmware)(%%) ====
122
123
124 (% _msthash="800" _msthidden="1" _msttexthash="388687" %)See Video Instruction: [[Use BLE to Upgrade Firmware>>https://www.youtube.com/watch?v=fErXzc6m0gU]]
125
126 (% _msthidden="1" %)
127 (% id="cke_bm_120427S" style="display:none" %)
128
129 (% _msthidden="1" %)
130 Open the Devices Tool and click on (% _mstmutation="1" style="color:blue" %)**"Upgrade Device"**(%%).
131
132 (% _msthidden="2" %)
133 [[image:image-20241112144653-18.jpeg||_mstalt="498199" _msthidden="A" height="147" width="325"]]
134
135
136 (% _msthash="789" _msthidden="1" _msttexthash="858533" %)
137 Select the device type and click **"NB"**.
138
139 (% _msthidden="6" %)
140 (% _mstaria-label="181311" _msthash="785" _msthidden="2" aria-label="image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20241207112132-8.png||_mstalt="429013" _msthash="786" _msthidden="A" data-widget="image" height="205" width="324"]](% _msthidden="2" style="background-color:rgba(220, 220, 220, 0.5); background-image:url(~"https://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~"); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||_mstalt="186680" _msthash="787" _msthidden="A" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% _msthash="788" _msthidden="1" _msttexthash="746473" title="Click and drag to resize" %)​
141
142 (% _msthidden="94" %)
143 (% id="cke_bm_120427E" style="display:none" %) (%%)
144
145 (% _msthash="784" _msthidden="1" _msttexthash="47162089" %)
146 Enter the IMEI (DEV EUI) of the upgraded device, enter the password (PIN), click "Choose File" to find the file you want to upgrade, and then click "Start". While waiting for the upgrade, let the device reset once. If it keeps stopping on the download screen, you can try pressing the reset button of your device.
147
148 (% _msthidden="1" %)
149 (% style="color:red" %)**Note: The password check function will only take effect if the DRAGINO NB bootloader is v1.3. If the version is earlier than 1.3, whether the password is entered correctly does not affect the NB upgrade.**
150
151 (% _msthidden="2" %)
152 [[image:image-20241207105524-4.png||_mstalt="429767" _msthash="782" _msthidden="A" height="380" width="325"]]
153
154
155 (% _msthash="781" _msthidden="1" _msttexthash="16138434" %)
156 In addition, the firmware upgrade supports importing the IMEI upgrade file, manually select the IMIE required in the file, and the password (PIN) will be entered automatically.
157
158 (% _msthidden="2" %)
159 [[image:image-20241207111541-5.png||_mstalt="428857" _msthash="780" _msthidden="A" height="710" width="324"]]
160
161
162 (% _msthash="779" _msthidden="1" _msttexthash="2791880" %)
163 When the upgrade is complete, it will prompt:"**updata successfully**".
164
165 (% _msthidden="2" %)
166 [[image:image-20241207111825-6.png||_mstalt="430859" _msthash="778" _msthidden="A" height="427" width="321"]]
167
168
169 (% _msthidden="1" %)
170 ==== (% _msthash="777" _msthidden="1" _msttexthash="227097" %)3.1.3.2 LB series(%%) ====
171
172
173 (% _msthash="776" _msthidden="1" _msttexthash="2082054" %)
174 The LA66 USB connects to the phone via the USB-Type c adapter.
175
176 (% _msthidden="2" %)
177 [[image:image-20241207113056-9.png||_mstalt="431366" _msthash="775" _msthidden="A" height="240" width="555"]]
178
179
180 (% _msthash="774" _msthidden="1" _msttexthash="5487131" %)
181 After the connection is successful, the phone will pop up a prompt box, check it and click to confirm
182
183 (% _msthidden="2" %)
184 [[image:image-20241207114921-11.png||_mstalt="452192" _msthash="773" _msthidden="A" height="282" width="333"]]
185
186
187 (% _msthash="772" _msthidden="1" _msttexthash="5279781" class="wikigeneratedid" id="H-1" %)
188 Then, the LB upgrade interface of Device Tool will automatically open. Follow the steps in order:
189
190 (% _msthash="771" _msthidden="1" _msttexthash="1071018" class="wikigeneratedid" %)
191 ① Enter the DUIEI,
192
193 (% _msthash="770" _msthidden="1" _msttexthash="3167970" class="wikigeneratedid" %)
194 ② Enter the PIN (**the PIN is the last 8 bytes of APPSKEY**),
195
196 (% _msthash="769" _msthidden="1" _msttexthash="1417689" class="wikigeneratedid" %)
197 ③ Select the LoRa frequency,
198
199 (% _msthash="768" _msthidden="1" _msttexthash="1340859" class="wikigeneratedid" %)
200 ④ Choose the upgrade file,
201
202 (% _msthash="767" _msthidden="1" _msttexthash="12279657" class="wikigeneratedid" %)
203 ⑤ After pressing the device's reset button, click start.(If the upgrade does not start for a long time, you can press the device reset button again.)
204
205 (% _msthidden="2" %)
206 [[image:image-20241207135048-13.png||_mstalt="454025" _msthash="766" _msthidden="A" height="306" width="330"]]
207
208
209 (% _msthash="765" _msthidden="1" _msttexthash="2791880" class="wikigeneratedid" id="H-2" %)
210 When the upgrade is complete, it will prompt:"**updata successfully**".
211
212 (% _msthidden="2" %)
213 [[image:image-20241207140452-14.png||_mstalt="452738" _msthash="764" _msthidden="A" height="433" width="328"]]
214
215
216 (% _msthidden="1" %)
217 === (% _msthash="763" _msthidden="1" _msttexthash="436423" %)3.1.4 How to export logs(%%) ===
218
219
220 (% _msthash="762" _msthidden="1" _msttexthash="2549469" %)
221 Open the Devices Tool and click the icon in the upper right corner.
222
223 (% _msthidden="2" %)
224 [[image:image-20241112151146-22.jpeg||_mstalt="494819" _msthidden="A" height="85" width="329"]]
225
226
227 (% _msthash="761" _msthidden="1" _msttexthash="11510694" %)
228 select the log you want to export, then click the share icon on the far right to enter the document that comes with your phone and choose to export it.
229
230 (% _msthidden="2" %)
231 [[image:image-20241112151321-23.jpeg||_mstalt="493480" _msthidden="A" height="259" width="324"]]
232
233
234 (% _msthidden="1" %)
235 == (% _msthash="760" _msthidden="1" _msttexthash="530101" %)3.2 How to use PC to connect?(%%) ==
236
237
238 (% _msthash="759" _msthidden="1" _msttexthash="1271491" %)
239 Firstly, a USB to Bluetooth host is required
240
241 (% _msthidden="2" %)
242 [[image:image-20230601152915-3.png||_mstalt="430144" _msthidden="A"]]
243
244
245 (% _msthidden="2" %)
246 [[image:image-20230601152950-4.png||_mstalt="430118" _msthidden="A"]]
247
248 (% _msthash="758" _msthidden="1" _msttexthash="1309451" %)
249 Insert the Bluetooth host into the computer
250
251 (% _msthidden="2" %)
252 [[image:image-20230518151327-5.png||_mstalt="431535" _msthidden="A"]]
253
254
255 (% _msthash="757" _msthidden="1" _msttexthash="1438853" %)
256 Open the serial port assistant on the computer
257
258 (% _msthidden="2" %)
259 [[image:image-20230518145316-3.png||_mstalt="431054" _msthidden="A" height="560" width="730"]]
260
261 (% _msthash="756" _msthidden="1" _msttexthash="4396743" %)
262 Then connect according to the operating instructions of the purchased Bluetooth host
263
264 (% _msthash="755" _msthidden="1" _msttexthash="19061640" %)
265 (be careful! The AT command in this description may be different from the AT command of the Bluetooth host you purchased. Please follow the instructions for the Bluetooth host you purchased)
266
267 (% _msthash="754" _msthidden="1" _msttexthash="1988116" %)
268 The Bluetooth name to be connected is the DEVEUI of the node
269
270 (% _msthidden="2" %)
271 [[image:image-20230518151444-6.png||_mstalt="431847" _msthidden="A"]]
272
273
274 (% _msthidden="1" %)
275 = (% _msthash="753" _msthidden="1" _msttexthash="668304" %)4. Access Password and Command(%%) =
276
277
278 (% _msthash="752" _msthidden="1" _msttexthash="6655389" %)
279 Each device is shipped with a label as below include (% style="color:blue" %)**6 chars AT PIN**(%%). this is the PIN to access the console of sensor.
280
281 (% _msthash="751" _msthidden="1" _msttexthash="2298829" %)
282 For AT Commands list please refer user manual for each sensor.
283
284 (% _msthidden="2" %)
285 [[image:image-20240204111711-2.png||_mstalt="426413" _msthidden="A"]]
286
287
288 (% _msthidden="1" %)
289 = (% _msthash="750" _msthidden="1" _msttexthash="1031914" %)5.Use MAC Bluetooth to connect to nodes(%%) =
290
291
292 (% _msthash="749" _msthidden="1" _msttexthash="1107314" %)
293 1.Download BLE terminal or BLE Device Info
294
295 (% _msthash="748" _msthidden="1" _msttexthash="423917" %)
296 2. Turn on MAC Bluetooth
297
298 (% _msthash="747" _msthidden="1" _msttexthash="3402854" %)
299 3.Open the Bluetooth tool, check the Bluetooth list, and find the device name
300
301 (% _msthidden="2" %)
302 [[image:image-20240802162132-1.png||_mstalt="427778" _msthidden="A" height="557" width="907"]]
303
304 (% _msthash="746" _msthidden="1" _msttexthash="5758103" %)
305 4.Click Connect, find the read/write window, and you can complete the communication with the device.
306
307 (% _msthidden="2" %)
308 [[image:image-20240802162318-2.png||_mstalt="430144" _msthidden="A" height="558" width="892"]]
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0