Compatible Repositories for Lora Gateways and LoraNodes combined/compatible with LoraServer and LoraAppServer

Hello, i just ask because there is a lot storage of repositories in network.

Except of repositories, which are compatible as you mentioned in another topic of the forum, is any compatibility problem with corresponding repositories (ttn lora gateways repositories with raspberry and arduino-based nodes with the appropriate concentrator for example)?

Do you suggest any specific repository for not having compatibility issues with lora server and lora app server?

Thanks in advance.

Not sure if I can answer this question, as it is not very specific:

  • Devices: as long as they speak LoRaWAN and are for the same region as your network, all is fine and it doesn’t matter which library you’re using
  • (LoRa) Gateway (Bridge): when it is speaking the packet-forwarder protocol, it will work with LoRa Gateway Bridge
  • LoRa Server and LoRa App Server: when you’re using the latest releases of both components, you’re good. When there is an upgrade dependency, I mention it in the changelogs.

There was my main confusion. I will use a gateway with ic880 concentrator and found libraries in ttn and loranet to configure them.

After your reply, i understand that if the configuration of the gateway is using/speaking packet-forwarder protocol,i will not have any problem, right?

I will make the first attempt Monday morning,so that’s the reason of so many questions.
Hope you tolerate me…

Hello, after two days!

If anyone knows, does the configuration setup of my (rapsberry-based) gateway with IMST IC-880a SPI is compatible with the Lora Server and Lora Server API?
Or is better to use the library from Loranet, as mentioned in another topic?

Would be, an important information, to know, if anyone has try this.

Thanks in advance,

@nikospps Don’t get me wrong, but your question is not very clear.

If you have a

it will work with Brocaar’s software (provided you do a correct setup in the packet forwarder running on your gateway).

(@nikospps I’ve moved your post to this topic as it covers the same question)

Thanks @brocaar… was my failure.

@glederer007 excuse me also…as in the tittle of the project, i ask about IMST library about IC880-A SPI, created by ttn community :
So my question has to do about the compatibility or not, of this library, if anyone have make and use this configuration.

@nikospps You can use it, I used it myself as well. I didn’t use “remote configuration option” because it is not needed for this project. But in order to have it working, you should set global_conf.json and local_conf.json to reflect your gateway’s setup and to forward the UDP packets to the LoRa Gateway Bridge. As it uses a so called “poly packet forwarder”, you can even set it to connect to two networks: to your own LoRa Gateway Bridge (LoRa Server and LoRa App Server) and to TTN!

@glederer007 thanks for the reply…i used it and have a little problem with the configuration of ports, in global_conf.json…do i use port 1863 of MQTT Broker or 8000 of Server? Or each of them?

First of all, are you running the LoRa Gateway Bridge / Lora Server / Lora App Server combination on the same Raspberry that hosts the iC880A-SPI - LoRaWAN Concentrator?

About global_conf.json: If you look at , you will see that by default LoRa Gateway Bridge uses port 1700 with UDP protocol to communicate with the packet forwarder. That means the packet forwarder (its global_conf.json file) needs to have these values set:

    "server_address": "localhost",
    "serv_port_up": 1700,
    "serv_port_down": 1700,

Of course, if you have the LoRa Gateway Bridge on a different machine, you have to change localhost to whatever address that machine has.

If you post your global_conf.json, I can have a look at it.

1 Like

Goodmorning from my country @glederer007!

I intend to run Lora Server,Lora App Server (+Mosquitto,Postgresql and Redis) to a host and

ICA-SPI-LoraWAN Concentrator + Lora Gateway Bridge to another host (a rapsberry PI).

I agree with:

in global_json.conf,
but in a same named file in IC880A-SPI, i remember that,is a file with the same name (if i have not a confusion)…so my question,is if i have to change port configuration in IC880A-SPI conf file also?!?

Thanks in advance.

Sorry, I still don’t understand your question. If you will have the LoRa Gateway Bridge on the same raspberry as the iC880A (the SPI- LoRaWAN Concentrator), all you have to do is:

  1. Install all required components,
  2. Modify the local_conf.json file to set the identity of the gateway,
  3. Modify the global_conf.json file as I wrote before (to point to the LoRa Gateway Bridge),
  4. Modify the /etc/default/lora-gateway-bridge configuration file on the Raspberry to use the MQTT Broker on the another machine running it.

I think that is all and it will work.

@glederer007 your answer made it clearer in my mind.

As you have install,modify and run all these in Lora Server, could you please confirm the below installation steps:

  1. As i mentioned, i intend to use two hosts, let’s say A and B:

  2. In host/pc A i will install Lora Server,Lora Api Server, Mosquitto, Postgresql and Redis

  3. in host/Raspberry B,which will be used as the gateway, i will install IC880A-SPI Gateway Library (by Loranet or TTN), Packet Forwarder, Lora Gateway Bridge and possible Lora Channel Manager.

I believe that the sequence of my thinking and steps are in the right order,yes?

@nikospps Yes, that should work.

1 Like

@glederer007 thanks for the patience and valuable informations!

I will have feedback, with the post of global_conf.json and the results of simulations!

Kind Regards,

I created another topic, but i didn’t have any answer. In order to install Packet Forwarder in Rapsberry (which will be used as the gateway), i just use git clone installation?

Thanks in advance.

Hello @glederer007 again!

I made whatever said to me, and i changed in configuration file of lora-gateway-bridge:
server=“tcp://IP_where_mqtt_broker_is_installed:1883”, but i can’t establish communication between loraserver and lora-gateway-bridge.

Do you believe that is better to make all lora installation (loraserver,lora-gw-bridge,lora-app-server,mqtt,postgresql,redis) in Host A and only packet-forwarder and concentrator in Raspberry PI?

Your answer will be really helpfull.

Thanks in advance,

Hello @nikospps, I think the best configuration is the one that Orne has highlighted in bold in (the first “base station” in the left). That is each gateway has its own lora-gateway-bridge that communicates over MQTT with a server that has loraserver and lora-app-server running on it.

Of course if you have only one gateway (built on a RPi) there is nothing against having all components on the same gateway (on the RPi).

Your answers are really helpful every-time @glederer007.

I post this and also this about the connection that i didn’t achieve connection between loraserver and lora-gateway-bridge.

My question:I have to install mosquitto and mosquitto clients in both in server PC (lora server and lora-app-server) and RPI 3? all this has to do with lora-gateway-bridge.toml file. I have to configure it (mqtt broker) as localhost or the ip of the pc,where mqtt broker is installed?

There is the point,that i have a confusion and try to solve it.
Your opinion?

I will try to answer your question. I assume that you have Raspbian on the RPi 3 and Ubuntu 16.04 LTS (Linux) on the PC.

The RPi (the gateway) will have at least:

  1. a (fully installed and running) packet forwarder
  2. the lora-gateway-bridge
  3. the packet forwarder needs to be pointing to the the local port where the lora-gateway-bridge is listening for UDP messages
  4. the lora-gateway-bridge needs to connect to the MQTT broker running on the PC, for this you have to set the necessary parameters on the configuration file of the lora-gateway-bridge
  5. there is no need to install Mosquitto or Mosquitto client on the gateway.

The (Linux) PC will need at least:

  1. Mosquitto broker (or as Orne wrote “any MQTT broker implementing MQTT 3.1.1 should work.”).
  2. PostgreSQL database to store persistent data, at least version 9.5 is necessary.
  3. Redis database to store non-persistent data, at least Redis 2.6.0 is required.
  4. LoRaServer.
  5. LoRaAppServer.
  6. You need to set up some parameters on Mosquitto, loraserver and lora-app-server, like certificates, passwords, ports, etc. There is information about this on, but most of it is set automatically at the initial installation.
  7. Mosquitto client is needed if you want to test receiving or sending messages from and to end-nodes.

I hope I didn’t forget anything.