Wiki source code of BLE Bluetooth Remote Configure
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
8.2 | 1 | (% class="wikigeneratedid" %) |
![]() |
64.2 | 2 | **[[type the link label>>attach:devices.tool.apk]]Table of Contents:** |
![]() |
1.1 | 3 | |
![]() |
8.2 | 4 | {{toc/}} |
5 | |||
6 | |||
7 | |||
![]() |
37.1 | 8 | |
9 | |||
![]() |
8.2 | 10 | = 1. Overview = |
11 | |||
12 | |||
![]() |
1.1 | 13 | There are some new models of Dragino sensors support BLE remote configure. User can use mobile phone to configure the sensor via BLE. |
14 | |||
15 | |||
![]() |
8.2 | 16 | = 2. Support Models = |
![]() |
1.1 | 17 | |
![]() |
8.2 | 18 | |
![]() |
1.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 | |||
![]() |
10.2 | 26 | (% border="1" cellspacing="5" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f2f2f2; width:955px" %) |
![]() |
33.1 | 27 | (% 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 |
28 | |(% style="width:303px" %)((( | ||
![]() |
38.1 | 29 | All models with -LB, -LS , -NB, -NS, -CB, -CS suffix |
![]() |
33.1 | 30 | )))|(% style="width:439px" %)((( |
![]() |
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 | ||
![]() |
8.2 | 34 | |
![]() |
2.1 | 35 | * Press button to active device. |
![]() |
8.2 | 36 | |
![]() |
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. | ||
![]() |
33.1 | 40 | )))|(% style="width:211px" %) |
![]() |
3.1 | 41 | |
![]() |
8.2 | 42 | = 3. How to connect = |
![]() |
8.1 | 43 | |
![]() |
55.2 | 44 | == 3.1 Use Dragino Device Tool to configure or upgrade firmware == |
![]() |
8.2 | 45 | |
![]() |
55.2 | 46 | === 3.1.1 How to download === |
![]() |
8.2 | 47 | |
48 | |||
![]() |
61.2 | 49 | Scroll to the bottom of the page, click Attachments, and click devices.tool.apk 1.1 to download. |
![]() |
8.1 | 50 | |
![]() |
72.1 | 51 | [[image:image-20241114083612-1.png||_mstalt="428636"]] |
![]() |
8.1 | 52 | |
53 | |||
![]() |
55.2 | 54 | === 3.1.2 How to configure === |
![]() |
8.1 | 55 | |
![]() |
55.2 | 56 | Install in mobile and run. Press the reset button of the device to be tested, and then click (% style="color:blue" %)**"Scan for 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 | 57 | |
![]() |
64.2 | 58 | [[image:image-20241112140729-9.jpeg||_mstalt="474084" height="387" width="328"]] |
![]() |
55.2 | 59 | |
![]() |
64.2 | 60 | [[image:image-20241112140748-10.jpeg||_mstalt="495664" height="178" width="328"]] |
![]() |
55.2 | 61 | |
62 | |||
63 | |||
64 | After the connection is successful, enter the interface and click (% style="color:blue" %)**"Conversation".** | ||
65 | |||
![]() |
64.2 | 66 | [[image:image-20241112141556-11.jpeg||_mstalt="495365" height="352" width="329"]] |
![]() |
55.2 | 67 | |
68 | |||
![]() |
30.1 | 69 | 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 | 70 | |
![]() |
64.2 | 71 | [[image:image-20241112143703-17.jpeg||_mstalt="496210" height="168" width="324"]] |
![]() |
30.1 | 72 | |
![]() |
8.1 | 73 | |
![]() |
55.2 | 74 | 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 | 75 | |
![]() |
72.1 | 76 | **Note: When the password is displayed correctly, AT+CFG will be automatically sent and the returned message will be printed.** |
![]() |
55.2 | 77 | |
78 | |||
![]() |
64.2 | 79 | [[image:image-20241112143413-14.jpeg||_mstalt="494468" height="725" width="325"]] |
![]() |
55.2 | 80 | |
81 | |||
82 | === 3.1.3 How to upgrade firmware === | ||
83 | |||
84 | |||
![]() |
59.1 | 85 | Open the Devices Tool and click on (% style="color:blue" %)**"Upgrade Device"**(%%). |
![]() |
55.2 | 86 | |
![]() |
64.2 | 87 | [[image:image-20241112144653-18.jpeg||_mstalt="498199" height="147" width="325"]] |
![]() |
55.2 | 88 | |
89 | |||
![]() |
59.1 | 90 | Enter the upgraded IMEI (DEV EUI), click (% style="color:blue" %)**"Select File"**(%%) to find the file you want to upgrade, and click (% style="color:blue" %)**"Start"**(%%). While waiting for the upgrade, ask the device to reset once. |
91 | |||
![]() |
64.2 | 92 | [[image:image-20241112145833-20.jpeg||_mstalt="495820" height="290" width="324"]] |
![]() |
55.2 | 93 | |
94 | |||
95 | When the upgrade is complete, it will prompt:"**updata successfully**". | ||
96 | |||
![]() |
64.2 | 97 | [[image:image-20241112150223-21.jpeg||_mstalt="492791" height="215" width="326"]] |
![]() |
55.2 | 98 | |
99 | |||
100 | === 3.1.4 How to export logs === | ||
101 | |||
102 | Open the Devices Tool and click the icon in the upper right corner. | ||
103 | |||
![]() |
64.2 | 104 | [[image:image-20241112151146-22.jpeg||_mstalt="494819" height="85" width="329"]] |
![]() |
55.2 | 105 | |
106 | |||
107 | 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. | ||
108 | |||
![]() |
64.2 | 109 | [[image:image-20241112151321-23.jpeg||_mstalt="493480" height="259" width="324"]] |
![]() |
55.2 | 110 | |
111 | |||
![]() |
11.1 | 112 | == 3.2 How to use PC to connect? == |
113 | |||
![]() |
25.2 | 114 | |
![]() |
19.1 | 115 | Firstly, a USB to Bluetooth host is required |
116 | |||
![]() |
55.2 | 117 | [[image:image-20230601152915-3.png||_mstalt="430144"]] |
![]() |
19.1 | 118 | |
119 | |||
![]() |
55.2 | 120 | [[image:image-20230601152950-4.png||_mstalt="430118"]] |
![]() |
25.2 | 121 | |
![]() |
19.1 | 122 | Insert the Bluetooth host into the computer |
123 | |||
![]() |
55.2 | 124 | [[image:image-20230518151327-5.png||_mstalt="431535"]] |
![]() |
19.1 | 125 | |
![]() |
25.2 | 126 | |
![]() |
19.1 | 127 | Open the serial port assistant on the computer |
128 | |||
![]() |
55.2 | 129 | [[image:image-20230518145316-3.png||_mstalt="431054" height="560" width="730"]] |
![]() |
19.1 | 130 | |
131 | Then connect according to the operating instructions of the purchased Bluetooth host | ||
132 | |||
133 | (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) | ||
134 | |||
135 | The Bluetooth name to be connected is the DEVEUI of the node | ||
136 | |||
![]() |
55.2 | 137 | [[image:image-20230518151444-6.png||_mstalt="431847"]] |
![]() |
21.1 | 138 | |
139 | |||
![]() |
25.2 | 140 | = 4. Access Password and Command = |
![]() |
21.1 | 141 | |
142 | |||
![]() |
25.2 | 143 | 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. |
144 | |||
![]() |
21.1 | 145 | For AT Commands list please refer user manual for each sensor. |
146 | |||
![]() |
55.2 | 147 | [[image:image-20240204111711-2.png||_mstalt="426413"]] |
![]() |
36.1 | 148 | |
149 | |||
150 | = 5.Use MAC Bluetooth to connect to nodes = | ||
151 | |||
![]() |
37.1 | 152 | |
![]() |
36.1 | 153 | 1.Download BLE terminal or BLE Device Info |
154 | |||
155 | 2. Turn on MAC Bluetooth | ||
156 | |||
157 | 3.Open the Bluetooth tool, check the Bluetooth list, and find the device name | ||
158 | |||
![]() |
55.2 | 159 | [[image:image-20240802162132-1.png||_mstalt="427778" height="557" width="907"]] |
![]() |
36.1 | 160 | |
161 | 4.Click Connect, find the read/write window, and you can complete the communication with the device. | ||
162 | |||
![]() |
55.2 | 163 | [[image:image-20240802162318-2.png||_mstalt="430144" height="558" width="892"]] |