TTN GATEWAY central 3

Hi guys,

I am hesitating to buy the ttn-gateway. Currently I am developing my own lora-device. In order to make the debugging easier, I to buy and place a gateway near my device. So that way I am absolutely sure that I am in range of a gateway (even if the antenna is horribly matched). I would also like to be able to see the ‘raw’/encrypted packages that the gateway receives.
So my question: Can I receive raw lora-packets with the gateway, trough ssh/telnet or a serial port or something, without having to write a custom firmware?

The answer is simple: No, unless you add functionality to the gateway.

Actually, allmost no gateway has this functionality. (I am not awar of any) I created similar functionalities with a DIY gateway using @kersing multiprotocolgateway.

@pe1mew Okay, toobad, thanks for your quick reply!

Trying to disable the WiFi on the TTN Gateway.

I saw this post pointing to this github issue.

The github issue mentioned two possibilities:

  1. create a file called nowifi on the microSD card (didn’t work for me.
  2. issue the command f wlan0 down – where do you issue this command? According to the thread, this temporarily disable the wireless interface.

Any suggestions?

Thank you.

UART Question-

I’m trying to access the console port on the Gateway. The FAQ indicates the serial parameters are 115200, 8-bits, no spot bits.

I’ve tried this and still getting garbage. I’ve tried these speeds:
1200
2400
4800
9600
19200
38400
57600
115200

I’ve tried using screen on a Mac with a USB adapter, and PuTTY on Windows with a built in hardware port. Still getting garbage:

▒▒▒eac▒▒g![=▒Y=9)▒-
                   5▒▒▒▒▒▒▒

Am I missing something?

Thank you

reverse the Tx - Rx wires ?

output setting USB-UART 3v3 or 5v ?

x1238

I did try that, and same behavior. I also shouldn’t have seen anything if I had the terminal’s Rx connected to the gateways Tx, right?

In fact, I even tried using just a receive (and GND) lead, just to monitor the logs and not transmit anything to the gateway.

Thanks.

Try 8 bits, no parity, 1 stop bit.

My serial/USB adapter was wrong. I got a new FTDI adapter and things are working just fine.

Thank you for your help

1 Like

Did you solve the problem with the dropped signal? I’m also having my gateway ready to bring it outside.

Did you take special measure against condensation?

use one of these https://www.conrad.nl/p/drukcompensatie-element-m12-polyamide-lichtgrijs-wiska-evsp-12-1-stuks-530149

and maybe even one of these https://www.conrad.nl/p/silicagel-zakjes-10-g-l-x-b-x-h-80-x-45-x-3-mm-transparant-silicagel-10-stuks-1570671

Q ’ what enclosure is that… alu / plastic ?’

Your setup looks great, good job! (What antenna are you using?) I have not been able to solve the range issue so far. I am suspecting the LoRa card to be defective, and will probably return the unit to the vendor.

@davehellings Regarding condensation: I am relative certain that condensation was not part of the issue I my case. It run for a very short period before dropping range.

My Gateway range went down to just 10 meters last year, after about three months of use. Firmware updates did not help, the RF module seems to be the culprit. Now, almost a year(!) later, I’ve received this answer directly from Microchip:

“Please be informed that my colleagues from the business unit in charge for the part number LG8271-I/RM104 told me that this part is End of Life and at the moment there is no replacement part for it.”

So essentially, your TTN gateway is now a brick, although in my case it was three months old when the issue occurred. The TTN guys have been absolutely NO help in resolving this issue either. Please think twice before buying anything from TTN again.

* I understand that you have been in contact, lets us know when its fixed… tnx :sunglasses:
BoRRoZ

to be clear.

for products bought through TTN - contact TTN direct (complaining here alone won’t help you much)
for products not bought through TTN - contact your supplier.

I can hook up to the serial port on The Things Gateway and monitor activity. If I hit enter I get a command prompt:

I tried ? but I get:

?
*** Command Processor: unknown command. ***

So there is something processing commands! Is there a list of what can be done via the serial port? I would like something akin the to the Pycom lora.stats() command.

Did you read the TTN Gateway central topics? From this message the quote:

When you connect to both the RX and TX serial pins, you can also type help to get a list of commands you can execute.

Hello; I bought a TTN Gateway, and I’m trying to connect with some nodes through OTAA.
I already registered the gateway (it’s successfully seen as connected on the console) and an application with the devices (they have their own device eui, their own lora app eui and their own lora app key, that I inserted in the device eui, application eui and app key section of the device associated to the application).
The status of the nodes, though, is “never seen”, and the gateway has no received nor transmitted messages.
Am I missing something in the configuration, or it’s just the nodes that have yet to send anything?

Thanks in advance

indeed, normally the first data they transmit is a join request to the network after they powered on.

Is it possible to configure a TTN gateway to skip all the router/broker/handler steps and send all the packets to a specific address? I’m trying to setup a private local device-to-application environment, and I was thinking whether I’d need the full network architecture.