This is not yet part of the documentation, but I’ve been creating Multitech Conduit specific packages for both the LoRa Gateway Bridge as the latest gateway HAL and packet-forwarder (SPI version!).
The lora-gateway-bridge
will put the configuration file under /var/config/lora-gateway-bridge
. You start it using /etc/init.d/lora-gateway-bridge start
(start|stop|restart
).
The lora-packet-forwarder
package can be started using /etc/init.d/lora-packet-forwarder-ap1
(start|stop|restart
) or /etc/init.d/lora-packet-forwarder-ap2
, depending for which slot you want to start the packet-forwarder.
Note: this allows you to run two packet forwarder instances when both slots have a LoRa card installed. I’m not sure if this is a good idea or could cause damage as both antennas are close to each other, but it is possible.
On packet-forwarder start, it creates a config file under /var/config/lora-packet-forwarder-ap1
(or -ap2
). The init script will either use the 915Mhz or 868Mhz configuration file and depending the Conduit version will enable GPS support or not. It will also set the gateway MAC to the EUI of the installed LoRa card on that slot.
It is recommended to install these packages on a clean mLinux factory image (e.g. http://www.multitech.net/mlinux/images/mtcdt/3.3.13/).
See https://dl.loraserver.io/multitech/conduit/ for the LoRa Server and packet-forwarder .ipk
packages. The recipe sources are located at: https://github.com/brocaar/loraserver-yocto.
Installation in short:
- Install lora-gateway-bridge, update the configuration with your MQTT credentials and start it
- Install lora-packet-forwarder, start it (see above). At this point it is already configured to match the LoRa Gateway Bridge config (
localhost:1700
). You might need to update the packet-forwarder configuration to match your channel-plan or modify addition config.
Looking forward to receive feedback on this! Then it can be included in the documentation