Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 116867

Trying to understand basic packet forwarder on Kerlink Gateway

$
0
0

I reply myself with the progress I have made, which is few...

I have noticed that if I set my server_address to my linux system, I do receive messages towards my server but I am not able to send anything toward the motes, nor through the web interface of kerlink gateway, nor the TFP server that it provides to push data to the motes. Likewise, using the udp_transmitter doesn't work since I don't get any message in my mote at all.

Anyone can enlighten me a bit? Below you can see a trace of the message I sent, first line the second two lines are prompted by Kerlink gateway

TIME    From IP    From Port    To IP    To Port    Method    Error    ASCII    Hex
2:49:55.919 pm    You    1700    192.168.0.4    8888    UDP        {{"tx": {"moteeui": "2010103","txmsgid": "1","trycount": 5,"txsynch": "true","ackreq": "true","userdata":{"port":1,"payload": "SEkNCg=="}}}}    7b 7b 22 74 78 22 3a 20 7b 22 6d 6f 74 65 65 75 69 22 3a 20 22 32 30 31 30 31 30 33 22 2c 22 74 78 6d 73 67 69 64 22 3a 20 22 31 22 2c 22 74 72 79 63 6f 75 6e 74 22 3a 20 35 2c 22 74 78 73 79 6e 63 68 22 3a 20 22 74 72 75 65 22 2c 22 61 63 6b 72 65 71 22 3a 20 22 74 72 75 65 22 2c 22 75 73 65 72 64 61 74 61 22 3a 7b 22 70 6f 72 74 22 3a 31 2c 22 70 61 79 6c 6f 61 64 22 3a 20 22 53 45 6b 4e 43 67 3d 3d 22 7d 7d 7d 7d    
2:49:58.862 pm    192.168.0.4    43518    You    1700    UDP        \01|\c2\02\00\00\02K\08\0e\019    01 7C C2 02 00 00 02 4B 08 0E 01 39    
2:50:09.062 pm    192.168.0.4    43518    You    1700    UDP        \01T\f8\02\00\00\02K\08\0e\019    01 54 F8 02 00 00 02 4B 08 0E 01 39    
2:50:19.262 pm    192.168.0.4    43518    You    1700    UDP        \01\1b\e8\02\00\00\02K\08\0e\019    01 1B E8 02 00 00 02 4B 08 0E 01 39    
2:50:21.990 pm    192.168.0.4    60583    You    1700    UDP        \01\e7\8d\00\00\00\02K\08\0e\019{"rxpk":[{"tmst":86777147,"time":"2016-03-23T13:50:20.150213Z","chan":0,"rfch":1,"freq":868.100000,"stat":1,"modu":"LORA","datr":"SF7BW125","codr":"4/5","lsnr":8.2,"rssi":-84,"size":14,"data":"QAMBAQKAWwABp5+scHk="}]}    01 E7 8D 00 00 00 02 4B 08 0E 01 39 7B 22 72 78 70 6B 22 3A 5B 7B 22 74 6D 73 74 22 3A 38 36 37 37 37 31 34 37 2C 22 74 69 6D 65 22 3A 22 32 30 31 36 2D 30 33 2D 32 33 54 31 33 3A 35 30 3A 32 30 2E 31 35 30 32 31 33 5A 22 2C 22 63 68 61 6E 22 3A 30 2C 22 72 66 63 68 22 3A 31 2C 22 66 72 65 71 22 3A 38 36 38 2E 31 30 30 30 30 30 2C 22 73 74 61 74 22 3A 31 2C 22 6D 6F 64 75 22 3A 22 4C 4F 52 41 22 2C 22 64 61 74 72 22 3A 22 53 46 37 42 57 31 32 35 22 2C 22 63 6F 64 72 22 3A 22 34 2F 35 22 2C 22 6C 73 6E 72 22 3A 38 2E 32 2C 22 72 73 73 69 22 3A 2D 38 34 2C 22 73 69 7A 65 22 3A 31 34 2C 22 64 61 74 61 22 3A 22 51 41 4D 42 41 51 4B 41 57 77 41 42 70 35 2B 73 63 48 6B 3D 22 7D 5D 7D

I have tried with a different payload hi in base64 (aGk=) but I get the same behaviour, I don't receive anything and the gateway replies with this

TIME    From IP    From Port    To IP    To Port    Method    Error    ASCII    Hex
3:24:34.034 pm    You    1700    192.168.0.4    8888    UDP        [{{"tx": {"moteeui": "2010103","txmsgid": "1","trycount": 5,"txsynch": "false","ackreq": "true","userdata":{"port":1,"payload": "aGk="}}}}]    5b 7b 7b 22 74 78 22 3a 20 7b 22 6d 6f 74 65 65 75 69 22 3a 20 22 32 30 31 30 31 30 33 22 2c 22 74 78 6d 73 67 69 64 22 3a 20 22 31 22 2c 22 74 72 79 63 6f 75 6e 74 22 3a 20 35 2c 22 74 78 73 79 6e 63 68 22 3a 20 22 66 61 6c 73 65 22 2c 22 61 63 6b 72 65 71 22 3a 20 22 74 72 75 65 22 2c 22 75 73 65 72 64 61 74 61 22 3a 7b 22 70 6f 72 74 22 3a 31 2c 22 70 61 79 6c 6f 61 64 22 3a 20 22 61 47 6b 3d 22 7d 7d 7d 7d 5d    
3:24:38.146 pm    192.168.0.4    43518    You    1700    UDP        \01\8b\00\02\00\00\02K\08\0e\019    01 8B 00 02 00 00 02 4B 08 0E 01 39    
3:24:48.346 pm    192.168.0.4    43518    You    1700    UDP        \01"V\02\00\00\02K\08\0e\019    01 22 56 02 00 00 02 4B 08 0E 01 39

Looking in wireshark it does not make sense what the gateway replies, I don't know how to tackle this actually.

thanks


Viewing all articles
Browse latest Browse all 116867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>