<
From version < 16.6 >
edited by Xiaoling
on 2022/06/01 10:54
To version < 16.11 >
edited by Xiaoling
on 2022/07/21 17:21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -**Contents:**
1 +**Table of Contents:**
2 2  
3 3  {{toc/}}
4 4  
... ... @@ -10,6 +10,7 @@
10 10  In the TCP IP Client mode, LoRa Gateway can accept LoRa or LoRaWAN packets and send it to the TCP/IP server.
11 11  
12 12  
13 +
13 13  = 2. LoRaWAN Mode TCP Connection =
14 14  
15 15  == 2.1 Support Hardware ==
... ... @@ -17,6 +17,7 @@
17 17  * [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]]
18 18  * [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]]
19 19  
21 +
20 20  == 2.2 Typology & Instruction ==
21 21  
22 22  [[image:image-20220527144058-1.png]]
... ... @@ -26,6 +26,7 @@
26 26  [[Intrudctions>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308||anchor="H4.Example2:CommunicatetoTCPServer"]]
27 27  
28 28  
31 +
29 29  = 3. Raw LoRa Mode TCP Connection =
30 30  
31 31  == 3.1 Support Hardware ==
... ... @@ -34,9 +34,9 @@
34 34  * [[LG02>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/135-lg02.html]], [[OLG02>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/136-olg02.html]]
35 35  
36 36  
37 -
38 38  == 3.2 Typology ==
39 39  
42 +
40 40  The working topology is as below. In this mode, The Uplink LoRa packets should use a customized format.
41 41  
42 42  [[image:image-20220527144300-2.png]]
... ... @@ -44,6 +44,7 @@
44 44  TCP/IP Forward working topology
45 45  
46 46  
50 +
47 47  == 3.3 Instruction Before Firmware lgw~-~-build-v5.4.1606631585-20201129-1434 ==
48 48  
49 49  === 3.3.1 Select TCP-IP Client mode ===
... ... @@ -53,6 +53,7 @@
53 53  Select TCP-IP Client mode
54 54  
55 55  
60 +
56 56  === 3.3.2 Configure the Radio channel ===
57 57  
58 58  [[image:image-20220527144755-4.png]]
... ... @@ -60,17 +60,21 @@
60 60  Configure the Radio channel with the match radio settings frequency as the LoRa End Node
61 61  
62 62  
68 +
63 63  === 3.3.3 Configure TCP Server Info ===
64 64  
65 -Note: Gateway may receive many LoRa packets, it will only transfer the packet with the same ID as specify in the channel.
66 66  
72 +(% style="color:red" %)Note: Gateway may receive many LoRa packets, it will only transfer the packet with the same ID as specify in the channel.
73 +
67 67  [[image:image-20220527144837-5.png]]
68 68  
69 69  Configure TCP Server Info
70 70  
71 71  
79 +
72 72  === 3.3.4 About uplink data format from End Node ===
73 73  
82 +
74 74  The LoRa end node should upload the data with below format:
75 75  
76 76  (% class="box" %)
... ... @@ -79,11 +79,11 @@
79 79  For example, if we have configured 2 channels 12345 and 34567.
80 80  And there is are three LoRa End nodes sending: 12345,34567,78
81 81  The LG02 will accept the data from 12345 and 34567, it will ignore the data from Node 78
82 -**Case 1**:
91 +(% style="color:blue" %)**Case 1**:(%%)
83 83   Node 12345 send <12345>field1=0.0&field2=1102.0
84 84   Node 34567 doesn’t send anyting
85 85   The TCP/IP server will get {"12345":"field1=0.0&field2=1102.0"}
86 -**Case 2**:
95 +(% style="color:blue" %)**Case 2**:(%%)
87 87   Node 12345 send <12345>field1=0.0&field2=1102.0
88 88   Node 34567 send <34567>temp=34
89 89   The TCP/IP server will get {"34567":"temp=34","12345":"field1=0.0&field2=1102.0"}
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0