Wiki source code of BLE Bluetooth Remote Configure
Last modified by Edwin Chen on 2024/02/04 11:18
Hide last authors
author | version | line-number | content |
---|---|---|---|
8.2 | 1 | (% class="wikigeneratedid" %) | |
2 | **Table of Contents:** | ||
1.1 | 3 | ||
8.2 | 4 | {{toc/}} | |
5 | |||
6 | |||
7 | |||
8 | = 1. Overview = | ||
9 | |||
10 | |||
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 | |||
8.2 | 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 | |||
10.2 | 24 | (% border="1" cellspacing="5" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f2f2f2; width:955px" %) | |
28.1 | 25 | (% class="sortHeader" %)|=(% style="width: 327px; background-color: rgb(217, 226, 243);" %)Models|=(% style="width: 501px; background-color: rgb(217, 226, 243);" %)BLE Activate Method|=(% style="width: 125px; background-color: rgb(217, 226, 243);" %)Comments | |
26 | |(% style="width:327px" %)((( | ||
27 | All models with -LB, -LS , -NB, -NS suffix | ||
28 | )))|(% style="width:501px" %)((( | ||
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. | ||
28.1 | 38 | )))|(% style="width:125px" %) | |
3.1 | 39 | ||
8.2 | 40 | = 3. How to connect = | |
8.1 | 41 | ||
21.1 | 42 | == 3.1 Use General Serial Bluetooth Terminal in mobile phone == | |
8.2 | 43 | ||
44 | |||
45 | **Example tool in Andriod.** | ||
46 | |||
8.1 | 47 | [[image:image-20230110142736-1.png||height="307" width="723"]] | |
48 | |||
49 | |||
8.2 | 50 | Install in mobile and run. Go to (% style="color:blue" %)**Devices ~-~-> Bluetooth LE**(%%) and (% style="color:blue" %)**SCAN**(%%). FInd the correct device and connect | |
8.1 | 51 | ||
25.2 | 52 | [[image:image-20230601152415-1.png]] | |
8.1 | 53 | ||
54 | |||
30.1 | 55 | 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 | 56 | ||
30.1 | 57 | [[image:image-20240204111620-1.png]] | |
58 | |||
25.2 | 59 | [[image:image-20230601152456-2.png]] | |
8.1 | 60 | ||
61 | |||
11.1 | 62 | == 3.2 How to use PC to connect? == | |
63 | |||
25.2 | 64 | ||
19.1 | 65 | Firstly, a USB to Bluetooth host is required | |
66 | |||
25.2 | 67 | [[image:image-20230601152915-3.png]] | |
19.1 | 68 | ||
69 | |||
25.2 | 70 | [[image:image-20230601152950-4.png]] | |
71 | |||
19.1 | 72 | Insert the Bluetooth host into the computer | |
73 | |||
74 | [[image:image-20230518151327-5.png]] | ||
75 | |||
25.2 | 76 | ||
19.1 | 77 | Open the serial port assistant on the computer | |
78 | |||
79 | [[image:image-20230518145316-3.png||height="560" width="730"]] | ||
80 | |||
81 | Then connect according to the operating instructions of the purchased Bluetooth host | ||
82 | |||
83 | (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) | ||
84 | |||
85 | The Bluetooth name to be connected is the DEVEUI of the node | ||
86 | |||
87 | [[image:image-20230518151444-6.png]] | ||
21.1 | 88 | ||
89 | |||
25.2 | 90 | = 4. Access Password and Command = | |
21.1 | 91 | ||
92 | |||
25.2 | 93 | 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. | |
94 | |||
21.1 | 95 | For AT Commands list please refer user manual for each sensor. | |
96 | |||
32.1 | 97 | [[image:image-20240204111711-2.png]] |