... |
... |
@@ -141,20 +141,15 @@ |
141 |
141 |
create iBeacon |
142 |
142 |
|
143 |
143 |
|
|
144 |
+= 3. Configure TTN = |
144 |
144 |
|
145 |
|
-= 3. Configure TTN = |
|
146 |
+== 3.1 Configure LBT1 to Upload data to TTN == |
146 |
146 |
|
147 |
|
- |
148 |
|
-== 3.1 Configure LBT1 to Upload data to TTN == |
149 |
|
- |
150 |
|
- |
151 |
151 |
Please refer the instruction in the [[User Manual>>url:http://www.dragino.com/downloads/index.php?dir=accessories/Bluetooth/BCN01]]. Note the (% style="color:#4f81bd" %)**LBT1 need to set to MOD=3**(%%) here. |
152 |
152 |
|
153 |
153 |
|
|
151 |
+== 3.2 Decoder in TTN == |
154 |
154 |
|
155 |
|
-== 3.2 Decoder in TTN == |
156 |
|
- |
157 |
|
- |
158 |
158 |
(% class="box" %) |
159 |
159 |
((( |
160 |
160 |
function Decoder(bytes, port) { |
... |
... |
@@ -236,29 +236,27 @@ |
236 |
236 |
))) |
237 |
237 |
|
238 |
238 |
|
|
234 |
+= 4. Set Up Converter Server = |
239 |
239 |
|
240 |
|
-= 4. Set Up Converter Server = |
241 |
|
- |
242 |
|
- |
243 |
243 |
* ((( |
244 |
|
-**How to install and run this service on Linux?** |
|
237 |
+How to install and run this service on Linux? |
245 |
245 |
))) |
246 |
246 |
|
247 |
247 |
((( |
248 |
|
-Step1. Rent a Linux on Amazon cloud or alicloud to the host, and pre install the Linux system (Debian, Ubuntu, CentOS are available for distribution). |
|
241 |
+Step1.Rent a Linux on Amazon cloud or alicloud to the host, and pre install the Linux system (Debian, Ubuntu, CentOS are available for distribution). |
249 |
249 |
))) |
250 |
250 |
|
251 |
251 |
((( |
252 |
|
-Step2. Run the code on the server after compiling. Compilation requires the support of libcurl. First, compile libmqtt in the code, and then compile location. |
|
245 |
+Step2.Run the code on the server after compiling. Compilation requires the support of libcurl. First, compile libmqtt in the code, and then compile location. |
253 |
253 |
))) |
254 |
254 |
|
255 |
255 |
((( |
256 |
|
-System: Debian / Ubuntu |
|
249 |
+System: Debian / Ubuntu |
257 |
257 |
))) |
258 |
258 |
|
259 |
259 |
(% class="box" %) |
260 |
260 |
((( |
261 |
|
-**step:** |
|
254 |
+step: |
262 |
262 |
\\1. sudo apt install libcurl4-dev |
263 |
263 |
\\2. sudo apt install gcc automake autoconf libtool make cmake |
264 |
264 |
\\3. git clone -b master https:~/~/github.com/mikayong/location.git |