Page tree

Every RouterBOARD with a miniPCI-e slot which supports LTE modems can also be used as a LoRaWAN gateway by installing R11e-LoRa8 or R11e-LoRa9 card. In order to work with Lora, Lora package should be installed. You can find the package for your device architecture in extra packages archive on the download page.

noteRouterOS does not support 3rd party LoRaWAN gateway cards.

Properties

Sub-menu: /lora

PropertyDescription
antenna-gain (integer [-128..127]; Default: 0)Antenna gain in dBi.
channel-plan (as-923 | au-915 | custom | eu-868 | in-865 | kr-920 | ru-864 | ru-864-mid | us-915-1 | us-915-2; Default: eu-868)Frequency plans for various regions.
disabled (yes | no; Default: yes)Whether LoRaWAN gateway is disabled.
forward (crc-disabled | crc-error | crc-valid; Default: crc-valid,crc-error)Defines what kind of packets should be forwarded to Network server:
  • crc-disabled - forward packets which CRC code isn`t checked
  • crc-error - forward packets with incorrect CRC code
  • crc-valid - forward valid packets with correct CRC.
lbt-enabled (yes | no; Default: no)Whether gateway should use LBT (Listen Before Talk) protocol.
listen-time (integer [0us..4294967295us]; Default: 5000us)Time in microseconds to track RSSI before TX (used when lbt-enabled=yes).
name (string; Default: )Name of LoRaWAN gateway.
network (private | public; Default: public)Whether sync word should (network=private) or should not (network=public) be used.
rssi-threshold (integer [-32,768 .. 32,767]; Default: -65dB)RSSI value to determine whether forwarder may use specific channel to talk. If RSSI value is below rssi-threshold, channel could be used (used when lbt-enabled=yes).
servers (list of string; Default: )Name or names of servers from /lora servers.
src-address (IP; Default: )Specifies uplink packet source address if necessary (address should match an address configured on the RB).
spoof-gps (string; Default: )

Set custom GPS location:

  • Latitude [-90..90]
  • Longitude [-180..180]
  • Altitude(m) [-2147483648..2147483647]


Channels

Sub-menu: /lora channels

PropertyDescription
bandwidth (7.8_kHz | 15.6_kHz | 31.2_kHz | 62.5_kHz | 125_kHz | 250_kHz | 500_kHz; Default: 125_kHz)Bandwidth of specific channel, predefined when any of channel-plan preset is used, but could be manually changed when channel-plan is set to custom.
disabled (yes | no; Default: no)Whether specific channel is disabled.
freq-off (integer [-400000..400000]; Default:  )Channel frequency offset against radio central frequency, it makes possible to adjust channel frequencies so that channels does not overlap.
radio (radio0 | radio1; Default: )Defines which radio uses selected channel.
spread-factor (SF7 | SF8 | SF9 | SF10 | SF11 | SF12; Default: )Defines the Spread Factor for a channel with type=LoRa. Lower Spread Factor means higher data rate.


Servers

Sub-menu: /lora servers

There are two predefined servers that can be used (it requires to make an The Things Network account to use them).

[admin@MikroTik] > lora servers print
 # NAME             UP-PORT DOWN-PORT ADDRESS                                                                                                                                          
 0 TTN-EU              1700      1700 eu.mikrotik.thethings.industries                                                                                                                 
 1 TTN-US              1700      1700 us.mikrotik.thethings.industries

Custom servers can be added as well.

PropertyDescription
address (domain name or IP address; Default: )Defines LoRaWAN Network server address.
down-port (integer [0..65535]; Default: )Defines port for down-link communication (from server to node) with LoRaWAN Network server. Most of known open source servers uses port 1700 as default, but it can change if multiple servers are configured on the same machine.
name (string; Default: )Defines server name.
up-port (integer [0..65535]; Default: )Defines port for up-link communication (from node to server) with LoRaWAN Network server. Most of known open source servers uses port 1700 as default, but it can change if multiple servers are configured on the same machine.
  • No labels