Nothing shows up on the log (Using Multitech conduit gateway)


(Neosenjamied) #1

Hello, I am trying to use my Multitech conduit gateway as a packet forwarder.

After following the procedure for gateway setup with this: https://www.thethingsnetwork.org/docs/gateways/multitech/mlinux.html

On the things network console, the gateway is connected.

But my tag is not ringing in and the Lora packet forward log shows the gateway gets nearly nothing.

Most log looks like this:

**##### 2018-03-07 22:14:13 GMT #####**
**### [UPSTREAM] ###**
**# RF packets received by concentrator: 1**
**# CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%**
**# RF packets forwarded: 0 (0 bytes)**
**# PUSH_DATA datagrams sent: 0 (0 bytes)**
**# PUSH_DATA acknowledged: 0.00%**
**### [DOWNSTREAM] ###**
**# PULL_DATA sent: 0 (0.00% acknowledged)**
**# PULL_RESP(onse) datagrams received: 0 (0 bytes)**
**# RF packets sent to concentrator: 0 (0 bytes)**
**# TX errors: 0**
**### BEACON IS DISABLED! __
_
### [JIT] ###_
_
# INFO: JIT queue contains 0 packets._
_
# INFO: JIT queue contains 0 beacons._
_
**### GPS IS DISABLED! **_
_
### [PERFORMANCE] ###_
_
# Upstream radio packet quality: 0.00%._
_
### [ CONNECTIONS ] ###_
_
# bridge.us-west.thethings.network: Connected_
_
**# Semtech status report send. **_
_
##### END #####_
_
16:14:13 INFO: [TTN] bridge.us-west.thethings.network RTT 54_
_
16:14:13 INFO: [TTN] send status success for bridge.us-west.thethings.network_
_
16:14:22 INFO: Disabling GPS mode for concentratorā€™s counterā€¦_
_
16:14:22 INFO: host/sx1301 time offset=(1520456888s:946686ē¢Œs) - drift=-721ē¢Œs_
_
16:14:22 INFO: Enabling GPS mode for concentratorā€™s counter.**_

**##### 2018-03-07 22:14:43 GMT #####**
**### [UPSTREAM] ###**
**# RF packets received by concentrator: 0**
**# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%**
**# RF packets forwarded: 0 (0 bytes)**
**# PUSH_DATA datagrams sent: 0 (0 bytes)**
**# PUSH_DATA acknowledged: 0.00%**
**### [DOWNSTREAM] ###**
**# PULL_DATA sent: 0 (0.00% acknowledged)**
**# PULL_RESP(onse) datagrams received: 0 (0 bytes)**
**# RF packets sent to concentrator: 0 (0 bytes)**
**# TX errors: 0**
**### BEACON IS DISABLED! __
_
### [JIT] ###_
_
# INFO: JIT queue contains 0 packets._
_
# INFO: JIT queue contains 0 beacons._
_
**### GPS IS DISABLED! **_
_
### [PERFORMANCE] ###_
_
# Upstream radio packet quality: 0.00%._
_
### [ CONNECTIONS ] ###_
_
# bridge.us-west.thethings.network: Connected_
_
**# Semtech status report send. **_
_
##### END #####_
_
16:14:43 INFO: [TTN] bridge.us-west.thethings.network RTT 52_
_
16:14:43 INFO: [TTN] send status success for bridge.us-west.thethings.network**_

I used the tag and the gateway pointing to Semtech cloud website before, it was working fine.

Does anyone know what is going on? Thanks a lot.


#2

what is a ā€˜tagā€™ and did you register it, did you register an application with that 'tag ?

search multitech
device registration


(Neosenjamied) #3

It is a device in the application.


#4

what type ? and is it joining OTAA or ABP


(Neosenjamied) #5

It is joining OTAA


#6

and what type is it ? you have full control to change all the keys ?


(Neosenjamied) #7

It is a transceiver with Semtech sx1272 and TS80000 building in.

I can control the APP key


#8

So you connected a SX1272 to the TS80000 and wrote the code yourself am I right ? its normally not an LoRaWAN connected device.


(Neosenjamied) #9

Yes, I use my own code to control the device.

I used the same device and gateway pointing to Semtech cloud, which is similar to The Things Network console. It was working fine.


#10

and you used the right adresses / port ?


(Neosenjamied) #11

Do you mean I need to specify the port corresponding to somewhere?


#12

and can you send a packet from the consoleā€¦ does that show in your application ?testpacket


(Neosenjamied) #13

Yes I can see the data.

https://drive.google.com/open?id=1bsZ1rkPGnhH6JFDPoHPNMCTsPuc6LN-n


#14

no I was talking about your gateway settings.

anyway, if you canā€™t send a packet from your console, simulating your node, to your application then there is something wrong with the registration


(Neosenjamied) #15

Sorry, the image didnā€™t show up.

I can see the data with your steps.

https://drive.google.com/open?id=1bsZ1rkPGnhH6JFDPoHPNMCTsPuc6LN-n


(Neosenjamied) #16

11111


#17

okā€¦ then the problem is probably in your code.

maybe the byte order (LSB) of the keys ?
the channel settings


(Neosenjamied) #18

I set the Appkey symmetric (6 bytes 0x01 + 4 bytes 0x00 + 6 bytes 0x01). So order shouldnā€™t be an issue.

I will check up the channel settings in the code.
Is there any regulation of channel settings from the console?

Thanks