Wiki source code of BLE_Firmware_Update_NB_Sensors_BC660K-GL
Last modified by Edwin Chen on 2024/02/04 11:58
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | |||
17 | == 2.1 Hardware Models == | ||
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: 612px; background-color: rgb(217, 226, 243);" %)BLE Activate Method|=(% style="width: 105px; background-color: rgb(217, 226, 243);" %)**Comments** | ||
28 | |(% style="width:237px" %)((( | ||
29 | All NB-IoT models with BLE support | ||
30 | |||
31 | Normally Suffix -NB / -NS | ||
32 | )))|(% style="width:612px" %)((( | ||
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:105px" %) | ||
41 | |(% style="width:237px" %) |(% style="width:612px" %) |(% style="width:105px" %) | ||
42 | |||
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 | |||
49 | * **.bin** : original firmware file. | ||
50 | * **.hex** : file with control / meta info. | ||
51 | |||
52 | (% class="wikigeneratedid" %) | ||
53 | Please note that user needs to use (% class="mark" %)**.bin**(%%) file for update. | ||
54 | |||
55 | |||
56 | = 3. How to use PC to upgrade via BLE? = | ||
57 | |||
58 | (% class="lead" %) | ||
59 | (% style="color:blue" %)**Step1:**(%%)** Connect a BLE USB to TTL Host into PC** | ||
60 | |||
61 | Below is the example BLE to USB TTL adapter. Insert it to PC | ||
62 | |||
63 | [[image:image-20230601152950-4.png]] | ||
64 | |||
65 | |||
66 | (% class="lead" %) | ||
67 | (% style="color:blue" %)**Step2:**(%%)** Download Dragino Sensor Management Tool** | ||
68 | |||
69 | **[[Download URL >>https://www.dropbox.com/scl/fo/9kqeqf6wmet10o9hgxuwa/h?rlkey=4ikrg6kg5v0yjxwhp0i37wrv7&dl=0]]** | ||
70 | |||
71 | |||
72 | |||
73 | (% class="lead" %) | ||
74 | (% style="color:blue" %)**Step3:**(%%)** Update .bin Firmware** | ||
75 | |||
76 | [[image:image-20240204114949-2.png||height="594" width="790"]] | ||
77 | |||
78 | |||
79 | |||
80 | [[image:image-20240204115342-3.png||height="587" width="777"]] | ||
81 | |||
82 | |||
83 | |||
84 | = 4. Access Password and Command = | ||
85 | |||
86 | |||
87 | 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. | ||
88 | |||
89 | For AT Commands list please refer user manual for each sensor. | ||
90 | |||
91 | [[image:image-20240204111847-1.png]] |