Setting up Multitech Conduit Gateway for TTN

I configured my new Conduit using the Wiki instructions, but I’m having issues. The first issue is that my gateway is not listed at http://thethingsnetwork.org/api/v0/gateways/ but the packet forward log doesn’t show any errors and is sending and receiving data. The second issue is that my mDot cannot join the network. When I revert back the default configuration (basic packet forward and run the network server) I can join the network.

  • How does a gateway get registered so it shows up in the list? What’s the trigger event?
  • The wiki says to comment out running the network server. Doesn’t that need to be running so your mDot can join the network?

Thanks,
Chris

UPDATE

My gateway finally registered with the network and is listed!!

I still can’t get my mDot to connect to the network. I’m able to join the network if I use the basic packet forward and local network server, but I when I change the configuration to use the poly packet forward the join always fails. Has anyone run into this issue? Or has successfully used a mDot to join a network?

Thanks,
Chris

Hi @bickster, You are welcome to try https://drive.google.com/open?id=0BySpTvoKcPfRenNnWW9naU1Cck0 - credit for all the useful connectivity bits goes to Andrew @thinginnovations , I just adapted his program to work with a very simple light sensor. This programme works very reliably for one of my mDots. Just remember to change the device ID to one of your own!

Do you get any errors from the poly packet forwarder or when you run /etc/init.d/lora-network-server start ?

I’m able to join the network now and send data using AT commands, but the packet forward log doesn’t log any of the data I’m sending. I’ve also check the nodes web service and noting is showing up there either, but my gateway is active and is send data according to the gateway web service. I just keep seeing this in the log file. Not sure what I’m missing…

##### 2016-03-12 04:09:38 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: 1 (192 bytes)
# PUSH_DATA acknowledged: 0.00%
### [DOWNSTREAM] ###
# PULL_DATA sent: 3 (100.00% acknowledged)
# PULL_RESP(onse) datagrams received: 0 (0 bytes)
# RF packets sent to concentrator: 0 (0 bytes)
# TX errors: 0
### [GPS] ###
# Invalid gps time reference (age: 1457755778 sec)
# no valid GPS coordinates available yet
##### END #####
INFO: [down] for server 54.72.145.119 PULL_ACK received in 123 ms
INFO: [down] for server 54.72.145.119 PULL_ACK received in 124 ms
INFO: [down] for server 54.72.145.119 PULL_ACK received in 126 ms

##### 2016-03-12 04:10:08 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: 1 (192 bytes)
# PUSH_DATA acknowledged: 0.00%
### [DOWNSTREAM] ###
# PULL_DATA sent: 3 (100.00% acknowledged)
# PULL_RESP(onse) datagrams received: 0 (0 bytes)
# RF packets sent to concentrator: 0 (0 bytes)
# TX errors: 0
### [GPS] ###
# Invalid gps time reference (age: 1457755808 sec)
# no valid GPS coordinates available yet
##### END #####
INFO: [down] for server 54.72.145.119 PULL_ACK received in 124 ms
INFO: [down] for server 54.72.145.119 PULL_ACK received in 122 ms
INFO: [down] for server 54.72.145.119 PULL_ACK received in 127 ms

Hi everybody,

Can someone explain me something about the global_conf.json ?
Why we need to set radio0 and radio1 ? There is only one SX1301 so only one radio chip capable of 8 channels.
And for the 915MHz gateway i have the same question?

Can someone explain me in detail the lines in the global_conf.json ?

Thank you for your support

There are two SX1257s, both need to be enabled and set to a certain centre frequency. Next for each frequency we want to use the radio and the frequency offset need to be specified.

Any specific configuration lines you want explained? (See TTN github repo for configurations with comments added)

1 Like

Hi Kersing,

Tkx for your answer.
The thing I don’t understand is (for exemple) how to configure the channels for USA 915?
In theory we have 63 channels but the SX1301 can only demodulate 8channels so is that means that I only need to add 8 channels in the global_conf ? Or I can add more to avoid collision ?
The last thing is about the tx_lut ? what does it means ?

Thanks for everything

For the US 915 band you need a special gateway 64ch with 8x SX1301, Senet has it.

Or you can use a normal 8ch gateway with 1x SX1301 in HYBRID but you have to configure gateways and nodes to use only 1 of the 8 sub-bands.

tx_lut are calibration values not very important, they don’t affect to performance, are just to calibrate RSSI values

Thank you for the explanation nestorayuso.

Someone has a link to download the new RN2903 firmware ? Both RN2483 and RN2903 (0.9.5) have a huge bug with updating frame counters so I want to put the RN2903 with a new firmware.

If you have a link like the RN2483 I’m waiting for it pleaaaasseee.

Thx

I am not doubting you, but where can I read up on this bug?
Thanks.

Hi terrence,

When you send a set uplink counter command the module returns OK but when you read back the counter the value has not been updated.

Start module
Send : mac set upctr 12
Receive : ok

But when you send a frame the sequence number is not 12.

This bug has been seen on every rn2483 0.9.5 and rn2903 0.9.5

@kersing Hi Jac are you going/willing to provide an ipk package for the latest version of the Packet forwarder? would be great to experiment with a private backend.

@ajtalsma

Sorry, no, I will not be attempting to build the newest software for MultiTech conduits, the reason:

v2.2.0 - 2015-10-08

Removed FTDI support in makefiles to align with HAL v3.2.0.

As the MultiTech gateways are FTDI based it won’t be possible to run the newest versions of the HAL and packet forwarder on them. The new software requires SPI communications to meet timing requirements.

1 Like

Ok thanks for the info. Does that mean the Multitech conduit hardware is obsolete with regards to the development of the packet forwarder? In other words, why buy this gateway if it won’t support future functionality/requirements?

I’m at the same point, lora-pkt-pwd is running and registering to TTN. But the Lora server did not.

I want to join my mDot. Any suggestions?

I am working with MULTITECH’s “MultiConnect Conduit IoT Starter Kit for LoRa Technology”. I have been able to connect to TTN by following the guide: https://www.thethingsnetwork.org/docs/gateways/multitech/aep.html

I have the following queries:

The kit comes with an mDot box node and it has stopped connecting to the Lora signal. It only connects when from mLinux I launch the lora-network-server but this causes my gateway to stop connecting to TTN.

So, when I run ttn-pkt-forwarder does the Lora Radio service launch? When I used the command sh installer.sh will the packet forwader and the server be installed?
MDot box firmware does not support ttn-packet-forwarder? I just want the mdot to detect the radio signal.

I haven’t used my gateway in awhile. Sorry.

Have you configured the mDot to use the TTN keys and frequencies?

The ttn-pkt-forwarders interfaces between the conduit radio and the network forwarding all valid LoRaWAN packets to TTN. No additional software in the conduit is required.

1 Like

I’ll be working on it, thank you so much.
Let’s Keep in touch.

Hello,
I have problem with Multitech gateway. I’m using ttn-pkt-forwarder with 2 uplink servers. One is for our private purposes, connected via semtech protocol. Second is for ttn network. Uplink messages is fully functional to both servers. Problem is with downlink messages. These messages are not sent to nodes. Messages have arrived to gateway, but ther are not sent to nodes.
There is a log from gateay:

lgw_receive:1165: FIFO content: 1 10 0 5 13
lgw_receive:1184: [2 17]
Note: LoRa packet
Info: packet will be sent without CRC
INFO: Enabling TX notch filter
59.20.0.0.9b.ee.8f.9.0.1c.c.1c.0.8.0.0.60.11.1b.1.26.20.5e.1.87.84.5e.74.end
lgw_receive:1165: FIFO content: 1 33 0 5 13
lgw_receive:1184: [1 17]
Note: LoRa packet
Info: packet will be sent without CRC
INFO: Enabling TX notch filter
59.13.33.0.f7.77.47.9.0.1c.c.1c.0.8.0.0.60.11.1b.1.26.20.5f.1.b6.c9.c6.af.end

When I used default lora-packet-forwarder, downlink messages are fully functional, but there is a limitation to one network server, so I cannot expand my gateway to ttn network. Can you tell me, where can be a problem?

Thank you.