Version 59.1 by Mengting Qiu on 2024/09/12 17:41

Hide last authors
Ellie Zhang 2.1 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
Edwin Chen 19.1 14 = 2. Support Models & Firmware =
Ellie Zhang 2.1 15
Edwin Chen 19.1 16 == 2.1 Hardware Models ==
17
Xiaoling 27.1 18
Ellie Zhang 2.1 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
Edwin Chen 17.2 26 (% border="1" cellspacing="5" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f2f2f2; width:959px" %)
Xiaoling 27.1 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**
Edwin Chen 19.1 28 |(% style="width:237px" %)(((
Mengting Qiu 30.1 29 All NB-IoT /LTE-M models with BLE support
Edwin Chen 19.1 30
Mengting Qiu 30.1 31 Normally Suffix -NB / -NS, -CB/-CS
Xiaoling 27.1 32 )))|(% style="width:544px" %)(((
Ellie Zhang 2.1 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
Edwin Chen 17.2 39 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode
Xiaoling 27.1 40 )))|(% style="width:175px" %)
41 |(% style="width:237px" %) |(% style="width:544px" %) |(% style="width:175px" %)
Ellie Zhang 2.1 42
Edwin Chen 19.1 43 == 2.2 Where to find firmware ==
44
45
46 (% class="wikigeneratedid" %)
47 User can find the firmware in the [[**NB-IoT Product Share directory**>>https://www.dropbox.com/sh/qasyy7n8631lve2/AABZFontYtyj6Meyxd7Tar7Ta?dl=0]]: There are two kind of firmware:
48
Edwin Chen 22.1 49 * **.bin** : original firmware file.
50 * **.hex** : file with control / meta info.
Edwin Chen 19.1 51
52 (% class="wikigeneratedid" %)
Edwin Chen 22.1 53 Please note that user needs to use (% class="mark" %)**.bin**(%%) file for update.
Edwin Chen 19.1 54
55
Edwin Chen 23.2 56 = 3. How to use PC to upgrade via BLE? =
Ellie Zhang 2.1 57
Xiaoling 31.1 58
Edwin Chen 23.1 59 (% class="lead" %)
Edwin Chen 23.2 60 (% style="color:blue" %)**Step1:**(%%)** Connect a BLE USB to TTL Host into PC**
Ellie Zhang 2.1 61
Edwin Chen 23.2 62 Below is the example BLE to USB TTL adapter. Insert it to PC
Ellie Zhang 2.1 63
64 [[image:image-20230601152950-4.png]]
65
66
Edwin Chen 23.2 67 (% class="lead" %)
Mengting Qiu 45.1 68 (% style="color:blue" %)**Step2:**(%%)**  Modify Bluetooth host parameters to support Dragino Sensor Management Tool** **v1.4**
Ellie Zhang 2.1 69
Mengting Qiu 45.1 70 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.
kai 32.2 71
Mengting Qiu 45.1 72 If your Bluetooth host's baud rate is already 115200, please refer to (% style="color:blue" %)**Step3**(%%) directly.
kai 32.2 73
Mengting Qiu 45.1 74 * 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.
kai 34.2 75
Mengting Qiu 45.1 76 An example diagram is as follows:
kai 34.2 77
kai 32.2 78 [[image:image-20240911172933-1.png]]
79
Mengting Qiu 45.1 80 (% style="color:red" %)**Note:**
kai 33.1 81
Mengting Qiu 46.1 82 (% 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.**
kai 34.2 83
Mengting Qiu 45.1 84 (% 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.**
kai 34.2 85
Mengting Qiu 45.1 86 * If the serial command sending fails, please modify the sending settings of the serial assistant as below:
87
88 [[image:image-20240912085133-1.jpeg||height="726" width="744"]]
89
90
kai 32.2 91 (% class="lead" %)
92 (% style="color:blue" %)**Step3:**(%%)** Download Dragino Sensor Management Tool**
93
Edwin Chen 23.2 94 **[[Download URL >>https://www.dropbox.com/scl/fo/9kqeqf6wmet10o9hgxuwa/h?rlkey=4ikrg6kg5v0yjxwhp0i37wrv7&dl=0]]**
Ellie Zhang 2.1 95
96
Edwin Chen 23.2 97 (% class="lead" %)
kai 32.2 98 (% style="color:blue" %)**Step4:**(%%)** Update .bin Firmware**
Ellie Zhang 2.1 99
Mengting Qiu 46.1 100 (% 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).**
Herong Lu 29.1 101
Mengting Qiu 52.1 102 * Select the** **Dragino Sensor Management Tool parameter:
Ellie Zhang 2.1 103
Mengting Qiu 52.1 104 [[image:image-20240912165247-1.png]]
kai 39.2 105
Mengting Qiu 52.1 106 * Before clicking "Start", make sure that the switch of the node is in **FLASH**.
kai 40.1 107
Mengting Qiu 52.1 108 [[image:image-20240912170209-3.png||height="351" width="616"]]
kai 39.2 109
Mengting Qiu 52.1 110
111 * 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.
112
Mengting Qiu 55.1 113 [[image:image-20240912171847-5.png]]
Mengting Qiu 52.1 114
115 (% style="color:red" %)**Note:**
116
117 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.**
Mengting Qiu 55.1 118 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.**
Mengting Qiu 52.1 119 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.**
120
kai 39.2 121 [[image:image-20240912092847-6.png]]
122
Mengting Qiu 52.1 123 * Successful firmware upgrade will print “Upgrade Successful”.
kai 39.2 124
Mengting Qiu 52.1 125 [[image:image-20240912170859-4.png]]
Edwin Chen 26.1 126
kai 34.2 127
Mengting Qiu 52.1 128
Ellie Zhang 2.1 129 = 4. Access Password and Command =
130
131
132 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.
133
134 For AT Commands list please refer user manual for each sensor.
135
Edwin Chen 21.1 136 [[image:image-20240204111847-1.png]]
kai 42.1 137
138
139 = 5.FAQ =
140
141 == 5.1 What should I do if the upgrade process is automatically interrupted? ==
142
Mengting Qiu 55.1 143
144 Example:
145
146 [[image:image-20240912172143-6.png||height="445" width="460"]]
147
Mengting Qiu 56.1 148 **How to operate:**
Mengting Qiu 55.1 149
kai 42.1 150 1. After the upgrade is interrupted, you need to close the wireless upgrade tool and reopen it later.
151
kai 43.1 152 2. Before restarting the upgrade, you need to reset the Bluetooth host, otherwise the upgrade may not be possible.
kai 42.1 153
Mengting Qiu 56.1 154 * If your Bluetooth host has a RESET button, you can use the RESET button to reset it.
Mengting Qiu 57.1 155 * 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.
Mengting Qiu 55.1 156
157
158
Mengting Qiu 56.1 159