Last modified by Edwin Chen on 2025/06/26 14:36

Show last authors
1 (% class="wikigeneratedid" %)
2 **Table of Contents:**
3
4 {{toc/}}
5
6
7
8 = 1. Overview =
9
10
11 There are some new models of Dragino sensors support BLE remote configure. User can use mobile phone to configure the sensor via BLE.
12
13
14 = 2. Support Models & Firmware =
15
16 == 2.1 Hardware Models ==
17
18
19 Here list the models that support BLE and the method to activate BLE function.
20
21 {{velocity}}
22 $xwiki.ssfx.use("js/xwiki/table/table.css")
23 $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true)
24 {{/velocity}}
25
26 (% border="1" cellspacing="5" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f2f2f2; width:959px" %)
27 (% class="sortHeader" %)|=(% style="width: 237px; background-color: rgb(217, 226, 243);" %)Models|=(% style="width: 544px; background-color: rgb(217, 226, 243);" %)BLE Activate Method|=(% style="width: 175px; background-color: rgb(217, 226, 243);" %)**Comments**
28 |(% style="width:237px" %)(((
29 All NB-IoT /LTE-M models with BLE support
30
31 Normally Suffix -NB / -NS, -CB/-CS
32 )))|(% style="width:544px" %)(((
33 Device is battery power type and BLE will be only activate on below case:
34
35 * Press button to send an uplink
36 * Press button to active device.
37 * Device Power on or reset.
38
39 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode
40 )))|(% style="width:175px" %)
41 |(% style="width:237px" %) |(% style="width:544px" %) |(% style="width:175px" %)
42
43 == 2.2 Where to find firmware ==
44
45
46 (% class="wikigeneratedid" %)
47 User can find the firmware in the[[** Product Share directory**>>https://www.dropbox.com/scl/fo/ztlw35a9xbkomu71u31im/ABer5TZbrpkmqNh-B8FO2qc?rlkey=ojjcsw927eaow01dgooldq3nu&e=4&st=gv1vtrbj&dl=0]].
48
49 (% class="wikigeneratedid" %)
50 The product firmware of -NB model can be found in the NB-IoT directory, and the product firmware of -CB model can be found in the LTE-M directory.
51
52 (% class="wikigeneratedid" %)
53 [[image:image-20250421174149-1.png||height="138" width="273"]]
54
55 (% class="wikigeneratedid" %)
56 There are two kind of firmware:
57
58 * **.bin** : original firmware file.
59 * **.hex** : file with control / meta info.
60
61 (% class="wikigeneratedid" %)
62 Please note that user needs to use (% class="mark" %)**.bin**(%%) file for update.
63
64 (% class="wikigeneratedid" %)
65 The **.bin** firmware of the -NB model products is placed in the (% class="mark" %)BC660 Wireless upgrade NB & NS firmware(%%) directory of each product.
66
67 (% class="wikigeneratedid" %)
68 [[image:image-20250421174358-3.png||height="82" width="449"]]
69
70 (% class="wikigeneratedid" %)
71 The** .bin** Firmware of the CB model products is placed in the (% class="mark" %)BG95M2_M3 CB & CS Bluetooth Upgrade Firmware(%%) directory of each product.
72
73 (% class="wikigeneratedid" %)
74 [[image:image-20250421174326-2.png||height="77" width="396"]]
75
76 (% style="color:red" %)**Note: Using Dragino Sensor Management Tool to upgrade firmware only supports burning firmware without bootloader. If the firmware with bootloader is burned, the node will always restart after running.**
77
78
79 = 3. Upgrade Method =
80
81 == 3.1 Use Mobile Phone to upgrade ==
82
83 === 3.1.1 Get Mobile APP ===
84
85
86 ==== **Download from Google Play Store** ====
87
88 Open the Google Play Store, search for "Devices.tool", download and install.
89
90 [[image:image-20241230134826-1.png||height="292" width="514"]]
91
92 Note: APPLE version is not ready yet.
93
94
95 ==== **Download from Dropbox** ====
96
97 Click on the URL below to enter Dropbox to download the app:
98
99 [[Download link>>url:https://www.dropbox.com/scl/fo/gyscmfn1s03oz3n8rif8w/AJW7JoMQsQ56dtlls2SNf9c?rlkey=3q2cxwriyzh26vuairx01yebc&st=be5jv92w&dl=0]] 
100
101
102 === 3.1.2 Upgrade Firmware ===
103
104 See Video Instruction: [[Use BLE to Upgrade Firmware>>url:https://www.youtube.com/watch?v=fErXzc6m0gU]]
105
106
107 Open the Devices Tool and click on **"Upgrade Device"**.
108
109 [[image:image-20241230153300-11.png||height="83" width="326"]]
110
111 Select the device type and click **"NB"**.
112
113 [[image:image-20250110114321-2.png||height="189" width="317"]]
114
115
116
117
118 Enter the IMEI (DEV EUI) of the upgraded device, enter the password (PIN), click "SELECT UPGRADE FILE" to find the file you want to upgrade**(The firmware upgrade file format only supports .bin files)**, 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.**If the user does not wish to open the casing, they can press and hold the KEY until the device flashes a green light; this action is equivalent to pressing the reset button.**
119
120 **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.**
121
122 [[image:image-20241230154001-13.png||height="381" width="327"]]
123
124 **⑤ **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.
125
126 **If the user does not wish to open the casing, they can press and hold the KEY until the device flashes a green light; this action is equivalent to pressing the reset button.**
127
128 In addition, the firmware upgrade supports importing the IMEI upgrade file, manually selecting the IMIE required in the file, and the password (PIN) will be entered automatically.
129
130 [[image:image-20241230154747-14.png||height="695" width="324"]]
131
132 When the upgrade is complete, it will prompt:"**update successfully**".
133
134 [[image:image-20241230172614-19.png||height="428" width="322"]]
135
136
137
138 == 3.2 Use PC to upgrade via BLE ==
139
140 (% class="lead" %)
141 (% style="color:blue" %)**Step1:**(%%)** Connect a BLE USB to TTL Host into PC**
142
143 Below is the example BLE to USB TTL adapter. Insert it to PC
144
145 [[image:image-20230601152950-4.png]]
146
147
148 (% class="lead" %)
149 (% style="color:blue" %)**Step2:**(%%)**  Modify Bluetooth host parameters to support Dragino Sensor Management Tool** **v1.4**
150
151 The default baudrate of the general Bluetooth host is 9600, we can use the three commands: **AT+BAUD7; AT+TIMEINQ40; AT+RESET** to change the baudrate of the Bluetooth host to 115200, in order to support the use of Dragino Sensor Management Tool V1.4 to download the firmware faster.
152
153 If your Bluetooth host's baud rate is already 115200, please refer to (% style="color:blue" %)**Step3**(%%) directly.
154
155 * Check if the Bluetooth host is functioning properly.
156
157 Open the serial assistant and send **AT+INQ** (remember to bring carriage return and line feed).
158
159 Seeing this interface proves that the host is working properly:
160
161 [[image:image-20240912174330-9.png||height="528" width="674"]]
162
163 * Connect to Bluetooth host through serial port and send **AT+BAUD7; AT+TIMEINQ40; AT+RESET** successively, confirm that each command returns OK, and finally disconnect the serial port connection.
164
165 An example diagram is as follows:
166
167 [[image:image-20240912174428-10.png||height="554" width="704"]]
168
169 (% style="color:red" %)**Note:**
170
171 (% style="color:red" %)**1. Because the baudrate of the unmodified Bluetooth host is 9600, the serial port baud rate needs to be selected 9600 when sending the above three instructions.**
172
173 (% style="color:red" %)**2. These commands need to be used only once. After successful modification, the Bluetooth host baud rate is changed to 115200 and this change is maintained.**
174
175 * If the serial command sending fails, please modify the sending settings of the serial assistant as below:
176
177 [[image:image-20240912174714-12.png||height="529" width="669"]]
178
179
180 (% class="lead" %)
181 (% style="color:blue" %)**Step3:**(%%)** Download Dragino Sensor Management Tool**
182
183 **[[Download URL >>https://www.dropbox.com/scl/fo/9kqeqf6wmet10o9hgxuwa/h?rlkey=4ikrg6kg5v0yjxwhp0i37wrv7&dl=0]]**
184
185
186 (% class="lead" %)
187 (% style="color:blue" %)**Step4:**(%%)** Update .bin Firmware**
188
189 (% style="color:red" %)**Note: Before upgrading, it is necessary to ensure that the baud rate of the Bluetooth host is 115200(Refer to Step 2).**
190
191 * Select the** **Dragino Sensor Management Tool parameter:
192
193 [[image:image-20240912165247-1.png]]
194
195 * Before clicking "Start", make sure that the switch of the node is in **FLASH**.
196
197 [[image:image-20240912170209-3.png||height="351" width="616"]]
198
199
200 * Click "Start", then reset the node, and the node's Bluetooth will turn on. Dragino Sensor Management prints the Bluetooth information searched by the Bluetooth tool.
201
202 The following screen indicates that the Bluetooth host has successfully connected to the node and started the upgrade
203
204 [[image:image-20240912171847-5.png]]
205
206 (% style="color:red" %)**Note:**
207
208 1. (% style="color:red" %)**Reset the node: Hold down the ACT key for 3s or press the Reset key to reset the node, then  the node's Bluetooth will turn on.**
209 1. (% style="color:red" %)**If the node has been restarted before the upgrade, wait two minutes before the upgrade.**
210 1. (% style="color:red" %)**The Bluetooth of the node will be enabled for 8~~15seconds. If the operation is not timely, reset the Bluetooth tool and node again.**
211 1. (% style="color:red" %)**Ensure that the IMEI entered is correct, and the firmware upgrade will only be performed when the Bluetooth host scans the Bluetooth of the corresponding node.**
212
213 [[image:image-20240912092847-6.png]]
214
215 * Successful firmware upgrade will print “Upgrade Successful”.
216
217 [[image:image-20240912170859-4.png]]
218
219
220
221 = 4. Access Password and Command =
222
223
224 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.
225
226 For AT Commands list please refer user manual for each sensor.
227
228 [[image:image-20240204111847-1.png]]
229
230
231 = 5.FAQ =
232
233 == 5.1 What should I do if the upgrade process is automatically interrupted? ==
234
235
236 Example:
237
238 [[image:image-20240912172143-6.png||height="445" width="460"]]
239
240 **How to operate:**
241
242 1. After the upgrade is interrupted, you need to close the wireless upgrade tool and reopen it later.
243
244 2. Before restarting the upgrade, you need to reset the Bluetooth host, otherwise the upgrade may not be possible.
245
246 * If your Bluetooth host has a RESET button, you can use the RESET button to reset it.
247 * If your Bluetooth host does not have a RESET button, you can directly unplug the Bluetooth tool from the computer to power it off, and then reconnect it to the computer.
248
249 == 5.2 Why does the node keep resetting even though the firmware upgrade is successful? ==
250
251
252 If the user burns the firmware with a boot loader, the following situation may occur.
253 Therefore, users need to select firmware without boot loader when burning firmware.
254
255 [[image:image-20240913172520-1.png||height="640" width="803"]]
256
257
258