Wiki source code of BLE Bluetooth Remote Configure
Version 211.4 by Edwin Chen on 2025/06/26 14:38
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
98.1 | 1 | **Table of Contents:** |
![]() |
8.2 | 2 | |
![]() |
98.1 | 3 | {{toc/}} |
![]() |
37.1 | 4 | |
![]() |
98.1 | 5 | |
6 | |||
7 | |||
![]() |
190.1 | 8 | = 1. Overview = |
![]() |
8.2 | 9 | |
10 | |||
![]() |
211.1 | 11 | There are some new models of Dragino sensors support BLE type the link label remote configure. User can use mobile phone to configure the sensor via BLE. |
![]() |
1.1 | 12 | |
13 | |||
![]() |
190.1 | 14 | = 2. Support Models = |
![]() |
1.1 | 15 | |
![]() |
8.2 | 16 | |
![]() |
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 | |||
![]() |
190.1 | 24 | (% border="1" cellspacing="5" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f2f2f2; width:955px" %) |
25 | (% class="sortHeader" %)|=(% style="width: 303px; background-color: rgb(217, 226, 243);" %)Models|=(% style="width: 439px; background-color: rgb(217, 226, 243);" %)BLE Activate Method|=(% style="width: 211px; background-color: rgb(217, 226, 243);" %)Comments | ||
26 | |(% style="width:303px" %)((( | ||
![]() |
38.1 | 27 | All models with -LB, -LS , -NB, -NS, -CB, -CS suffix |
![]() |
190.1 | 28 | )))|(% style="width:439px" %)((( |
![]() |
2.1 | 29 | Device is battery power type and BLE will be only activate on below case: |
30 | |||
31 | * Press button to send an uplink | ||
![]() |
8.2 | 32 | |
![]() |
2.1 | 33 | * Press button to active device. |
![]() |
8.2 | 34 | |
![]() |
2.1 | 35 | * Device Power on or reset. |
36 | |||
37 | If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode. | ||
![]() |
33.1 | 38 | )))|(% style="width:211px" %) |
![]() |
3.1 | 39 | |
![]() |
190.1 | 40 | = 3. How to connect = |
![]() |
8.1 | 41 | |
![]() |
190.1 | 42 | == 3.1 Use Dragino Device Tool to configure or upgrade firmware == |
![]() |
8.2 | 43 | |
![]() |
211.4 | 44 | === 3.1.1 How to download === |
![]() |
8.2 | 45 | |
![]() |
211.4 | 46 | |
![]() |
211.3 | 47 | ==== **Download from Google Play Store** ==== |
![]() |
8.2 | 48 | |
![]() |
132.1 | 49 | |
![]() |
123.1 | 50 | Open the Google Play Store, search for "Devices.tool", download and install. |
![]() |
8.1 | 51 | |
![]() |
190.1 | 52 | [[image:image-20241230134826-1.png||_mstalt="429767" height="292" width="514"]] |
![]() |
8.1 | 53 | |
![]() |
190.1 | 54 | (% class="box errormessage" %) |
![]() |
188.1 | 55 | ((( |
56 | Note: APPLE version is not ready yet. | ||
57 | ))) | ||
![]() |
8.1 | 58 | |
![]() |
132.1 | 59 | |
![]() |
211.2 | 60 | ==== **Download from Dropbox** ==== |
![]() |
161.1 | 61 | |
![]() |
132.1 | 62 | |
![]() |
152.1 | 63 | Click on the URL below to enter Dropbox to download the app: |
64 | |||
![]() |
189.1 | 65 | [[Download link>>url:https://www.dropbox.com/scl/fo/gyscmfn1s03oz3n8rif8w/AJW7JoMQsQ56dtlls2SNf9c?rlkey=3q2cxwriyzh26vuairx01yebc&st=be5jv92w&dl=0]] |
![]() |
152.1 | 66 | |
![]() |
161.1 | 67 | |
![]() |
190.1 | 68 | === 3.1.2 How to use BLE to configure Sensors === |
![]() |
8.1 | 69 | |
![]() |
103.1 | 70 | |
![]() |
190.1 | 71 | See Video Instruction: **[[Use BLE to configure Sensors>>https://youtube.com/shorts/Ajq2NvUslnw?feature=share]]** |
![]() |
105.1 | 72 | |
73 | |||
![]() |
123.1 | 74 | Install in mobile and run. Press the reset button of the device to be tested, and then click (% style="color:blue" %)**"SCAN BLUETOOTH DEVICES".**(%%) Find the correct device and connect(the correct device name should be the same as the DEV EUI of the device). |
![]() |
8.1 | 75 | |
![]() |
190.1 | 76 | [[image:image-20241230135129-4.png||_mstalt="429988" height="134" width="502"]] |
![]() |
55.2 | 77 | |
![]() |
190.1 | 78 | [[image:image-20241230152054-8.png||_mstalt="430092" height="241" width="504"]] |
![]() |
55.2 | 79 | |
80 | |||
![]() |
123.1 | 81 | After the connection is successful, enter the interface and click (% style="color:blue" %)**"DIALOGBOX".** |
![]() |
55.2 | 82 | |
83 | |||
![]() |
190.1 | 84 | [[image:image-20241230151129-6.png||_mstalt="430092" height="413" width="507"]] |
![]() |
55.2 | 85 | |
![]() |
30.1 | 86 | 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. |
![]() |
8.1 | 87 | |
![]() |
190.1 | 88 | [[image:image-20241230152403-9.png||_mstalt="429741" height="232" width="506"]] |
![]() |
30.1 | 89 | |
![]() |
55.2 | 90 | 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. |
![]() |
8.1 | 91 | |
![]() |
190.1 | 92 | [[image:image-20241230151602-7.png||_mstalt="429000" height="568" width="348"]] |
![]() |
55.2 | 93 | |
![]() |
91.1 | 94 | |
![]() |
103.1 | 95 | (% style="color:red" %)**Note:** |
![]() |
55.2 | 96 | |
![]() |
190.1 | 97 | **Devices.Tool 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.** |
![]() |
55.2 | 98 | |
![]() |
190.1 | 99 | [[image:image-20241230153041-10.png||_mstalt="449423" height="599" width="353"]] |
![]() |
55.2 | 100 | |
![]() |
85.2 | 101 | |
![]() |
211.2 | 102 | === 3.1.3 Export configure logs === |
![]() |
55.2 | 103 | |
104 | |||
105 | Open the Devices Tool and click the icon in the upper right corner. | ||
106 | |||
![]() |
190.1 | 107 | [[image:image-20241230155425-16.png||_mstalt="454233" height="85" width="330"]] |
![]() |
55.2 | 108 | |
109 | |||
110 | 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. | ||
111 | |||
![]() |
190.1 | 112 | [[image:image-20241230155528-17.png||_mstalt="455936" height="324" width="327"]] |
![]() |
55.2 | 113 | |
114 | |||
![]() |
190.1 | 115 | == 3.2 How to use PC to connect? == |
![]() |
11.1 | 116 | |
![]() |
25.2 | 117 | |
![]() |
19.1 | 118 | Firstly, a USB to Bluetooth host is required |
119 | |||
![]() |
190.1 | 120 | [[image:image-20230601152915-3.png||_mstalt="430144"]] |
![]() |
19.1 | 121 | |
122 | |||
![]() |
190.1 | 123 | [[image:image-20230601152950-4.png||_mstalt="430118"]] |
![]() |
25.2 | 124 | |
![]() |
19.1 | 125 | Insert the Bluetooth host into the computer |
126 | |||
![]() |
190.1 | 127 | [[image:image-20230518151327-5.png||_mstalt="431535"]] |
![]() |
19.1 | 128 | |
![]() |
25.2 | 129 | |
![]() |
19.1 | 130 | Open the serial port assistant on the computer |
131 | |||
![]() |
190.1 | 132 | [[image:image-20230518145316-3.png||_mstalt="431054" height="560" width="730"]] |
![]() |
19.1 | 133 | |
134 | Then connect according to the operating instructions of the purchased Bluetooth host | ||
135 | |||
136 | (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) | ||
137 | |||
138 | The Bluetooth name to be connected is the DEVEUI of the node | ||
139 | |||
![]() |
190.1 | 140 | [[image:image-20230518151444-6.png||_mstalt="431847"]] |
![]() |
21.1 | 141 | |
142 | |||
![]() |
190.1 | 143 | = 4. Access Password and Command = |
![]() |
21.1 | 144 | |
145 | |||
![]() |
25.2 | 146 | 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. |
147 | |||
![]() |
21.1 | 148 | For AT Commands list please refer user manual for each sensor. |
149 | |||
![]() |
190.1 | 150 | [[image:image-20240204111711-2.png||_mstalt="426413"]] |
![]() |
36.1 | 151 | |
152 | |||
![]() |
190.1 | 153 | = 5. Use MAC Bluetooth to connect to nodes = |
![]() |
36.1 | 154 | |
![]() |
37.1 | 155 | |
![]() |
36.1 | 156 | 1.Download BLE terminal or BLE Device Info |
157 | |||
158 | 2. Turn on MAC Bluetooth | ||
159 | |||
160 | 3.Open the Bluetooth tool, check the Bluetooth list, and find the device name | ||
161 | |||
![]() |
190.1 | 162 | [[image:image-20240802162132-1.png||_mstalt="427778" height="557" width="907"]] |
![]() |
36.1 | 163 | |
![]() |
127.1 | 164 | |
![]() |
36.1 | 165 | 4.Click Connect, find the read/write window, and you can complete the communication with the device. |
166 | |||
![]() |
190.1 | 167 | [[image:image-20240802162318-2.png||_mstalt="430144" height="558" width="892"]] |