Wiki source code of BLE Bluetooth Remote Configure

Version 37.1 by Xiaoling on 2024/08/08 11:49

Show last authors
1 (% class="wikigeneratedid" %)
2 **Table of Contents:**
3
4 {{toc/}}
5
6
7
8
9
10 = 1. Overview =
11
12
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
16 = 2. Support Models =
17
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:955px" %)
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" %)(((
29 All models with -LB, -LS , -NB, -NS suffix
30 )))|(% style="width:439px" %)(((
31 Device is battery power type and BLE will be only activate on below case:
32
33 * Press button to send an uplink
34
35 * Press button to active device.
36
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:211px" %)
41
42
43
44 = 3. How to connect =
45
46 == 3.1 Use General Serial Bluetooth Terminal in mobile phone ==
47
48
49 **Example tool in Andriod.**
50
51 [[image:image-20230110142736-1.png||height="307" width="723"]]
52
53
54 Install in mobile and run. Go to (% style="color:blue" %)**Devices ~-~-> Bluetooth LE**(%%) and (% style="color:blue" %)**SCAN**(%%). FInd the correct device and connect
55
56 [[image:image-20230601152415-1.png]]
57
58
59 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.
60
61 [[image:image-20240204111620-1.png]]
62
63 [[image:image-20230601152456-2.png]]
64
65
66 == 3.2 How to use PC to connect? ==
67
68
69 Firstly, a USB to Bluetooth host is required
70
71 [[image:image-20230601152915-3.png]]
72
73
74 [[image:image-20230601152950-4.png]]
75
76 Insert the Bluetooth host into the computer
77
78 [[image:image-20230518151327-5.png]]
79
80
81 Open the serial port assistant on the computer
82
83 [[image:image-20230518145316-3.png||height="560" width="730"]]
84
85 Then connect according to the operating instructions of the purchased Bluetooth host
86
87 (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)
88
89 The Bluetooth name to be connected is the DEVEUI of the node
90
91 [[image:image-20230518151444-6.png]]
92
93
94 = 4. Access Password and Command =
95
96
97 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.
98
99 For AT Commands list please refer user manual for each sensor.
100
101 [[image:image-20240204111711-2.png]]
102
103
104 = 5.Use MAC Bluetooth to connect to nodes =
105
106
107 1.Download BLE terminal or BLE Device Info
108
109 2. Turn on MAC Bluetooth
110
111 3.Open the Bluetooth tool, check the Bluetooth list, and find the device name
112
113 [[image:image-20240802162132-1.png||height="557" width="907"]]
114
115 4.Click Connect, find the read/write window, and you can complete the communication with the device.
116
117 [[image:image-20240802162318-2.png||height="558" width="892"]]