Wiki source code of BLE Bluetooth Remote Configure

Version 9.1 by Edwin Chen on 2023/04/09 17:30

Hide last authors
Xiaoling 8.2 1 (% class="wikigeneratedid" %)
2 **Table of Contents:**
Edwin Chen 1.1 3
Xiaoling 8.2 4 {{toc/}}
5
6
7
8 = 1. Overview =
9
10
Edwin Chen 1.1 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
Xiaoling 8.2 14 = 2. Support Models =
Edwin Chen 1.1 15
Xiaoling 8.2 16
Edwin Chen 1.1 17 Here list the models that support BLE and the method to activate BLE function.
18
19 {{velocity}}
20 $xwiki.ssfx.use("js/xwiki/table/table.css")
21 $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true)
22 {{/velocity}}
23
Xiaoling 8.3 24 (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:955px" %)
25 (% class="sortHeader" %)|=(% style="width: 149px;" %)Models|=(% style="width: 535px;" %)BLE Activate Method|=(% style="width: 267px;" %)Comments
Edwin Chen 9.1 26 |(% style="width:149px" %)(((
27 PS-LB, SDI-12-LB,
28
29 D2x-LB, D2x-NB
30 )))|(% style="width:535px" %)(((
Edwin Chen 2.1 31 Device is battery power type and BLE will be only activate on below case:
32
33 * Press button to send an uplink
Xiaoling 8.2 34
Edwin Chen 2.1 35 * Press button to active device.
Xiaoling 8.2 36
Edwin Chen 2.1 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.
Xiaoling 8.3 40 )))|(% style="width:267px" %)
Edwin Chen 3.1 41
42
Xiaoling 8.2 43 = 3. How to connect =
Edwin Chen 8.1 44
Xiaoling 8.2 45 == 3.1 Use General Serial Bluetooth Terminal ==
46
47
48 **Example tool in Andriod.**
49
Edwin Chen 8.1 50 [[image:image-20230110142736-1.png||height="307" width="723"]]
51
52
Xiaoling 8.2 53 Install in mobile and run. Go to (% style="color:blue" %)**Devices ~-~-> Bluetooth LE**(%%) and (% style="color:blue" %)**SCAN**(%%). FInd the correct device and connect
Edwin Chen 8.1 54
55 [[image:image-20230110142931-2.png]]
56
57
58 Each device has unique password. Input the password and you will be able to get access to the UART of the device.
59
60 [[image:image-20230110143230-3.png||height="623" width="296"]]
61
62
63