Changes for page TCP Connection Instruction
Last modified by Xiaoling on 2024/01/22 10:31
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -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 == ... ... @@ -18,8 +18,6 @@ 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 20 20 21 - 22 - 23 23 == 2.2 Typology & Instruction == 24 24 25 25 [[image:image-20220527144058-1.png]] ... ... @@ -38,10 +38,9 @@ 38 38 * [[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]] 39 39 40 40 41 - 42 - 43 43 == 3.2 Typology == 44 44 42 + 45 45 The working topology is as below. In this mode, The Uplink LoRa packets should use a customized format. 46 46 47 47 [[image:image-20220527144300-2.png]] ... ... @@ -49,6 +49,7 @@ 49 49 TCP/IP Forward working topology 50 50 51 51 50 + 52 52 == 3.3 Instruction Before Firmware lgw~-~-build-v5.4.1606631585-20201129-1434 == 53 53 54 54 === 3.3.1 Select TCP-IP Client mode === ... ... @@ -58,6 +58,7 @@ 58 58 Select TCP-IP Client mode 59 59 60 60 60 + 61 61 === 3.3.2 Configure the Radio channel === 62 62 63 63 [[image:image-20220527144755-4.png]] ... ... @@ -65,17 +65,21 @@ 65 65 Configure the Radio channel with the match radio settings frequency as the LoRa End Node 66 66 67 67 68 + 68 68 === 3.3.3 Configure TCP Server Info === 69 69 70 -Note: Gateway may receive many LoRa packets, it will only transfer the packet with the same ID as specify in the channel. 71 71 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 + 72 72 [[image:image-20220527144837-5.png]] 73 73 74 74 Configure TCP Server Info 75 75 76 76 79 + 77 77 === 3.3.4 About uplink data format from End Node === 78 78 82 + 79 79 The LoRa end node should upload the data with below format: 80 80 81 81 (% class="box" %) ... ... @@ -84,11 +84,11 @@ 84 84 For example, if we have configured 2 channels 12345 and 34567. 85 85 And there is are three LoRa End nodes sending: 12345,34567,78 86 86 The LG02 will accept the data from 12345 and 34567, it will ignore the data from Node 78 87 -**Case 1**: 91 +(% style="color:blue" %)**Case 1**:(%%) 88 88 Node 12345 send <12345>field1=0.0&field2=1102.0 89 89 Node 34567 doesn’t send anyting 90 90 The TCP/IP server will get {"12345":"field1=0.0&field2=1102.0"} 91 -**Case 2**: 95 +(% style="color:blue" %)**Case 2**:(%%) 92 92 Node 12345 send <12345>field1=0.0&field2=1102.0 93 93 Node 34567 send <34567>temp=34 94 94 The TCP/IP server will get {"34567":"temp=34","12345":"field1=0.0&field2=1102.0"}