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
-
... ... @@ -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 == ... ... @@ -27,6 +27,7 @@ 27 27 [[Intrudctions>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308||anchor="H4.Example2:CommunicatetoTCPServer"]] 28 28 29 29 31 + 30 30 = 3. Raw LoRa Mode TCP Connection = 31 31 32 32 == 3.1 Support Hardware == ... ... @@ -37,6 +37,7 @@ 37 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"}