Manual:Interface/Lora: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
(Created page with "This is an article about LoRaWAN support in RouterOS.")
 
No edit summary
Line 1: Line 1:
This is an article about LoRaWAN support in RouterOS.
==Summary==
<p id="shbox">
<b>Package:</b> <code>system</code>,<code>lora</code>
</p>
<p>Every RouterBOARD with a miniPCI-e interface (with connected USB lines) could be turn in LoRaWAN gateway by installation of <b>R11e-LoRa8</b> or <b>R11e-LoRa9</b> card. </p>
{{Warning | RouterOS doesn`t support 3rd party LoRaWAN gateway cards}}
 
==Properties==
 
<p id="shbox">
<b>Sub-menu:</b> <code>/lora</code>
</p>
 
{{Mr-arg-table-h
|prop=Property
|desc=Description
}}
 
{{Mr-arg-table
|arg=antenna-gain
|type=integer [-128..127]
|default=0
|desc=Antenna gain in dBi.
}}
 
{{Mr-arg-table
|arg=channel-plan
|type=as-923 {{!}} au-915 {{!}} custom {{!}} eu-868 {{!}} in-865 {{!}} kr-920 {{!}} ru-864 {{!}} us-915
|default=eu-868
|desc=Frequency plans for various regions.
}}
 
{{Mr-arg-table
|arg=disabled
|type= yes {{!}} no
|default=yes
|desc=Whether LoRaWAN gateway is disabled.
}}
 
{{Mr-arg-table
|arg=forward
|type=crc-disabled {{!}} crc-error {{!}} crc-valid
|default=crc-valid,crc-error
|desc=Defines what kind of packets should be forwarded to Network server:
* <var>crc-disabled</var> - forward packets which CRC code isn`t checked
* <var>crc-error</var> - forward packets with incorrect CRC code
* <var>crc-valid</var> - forward valid packets with correct CRC.
}}
 
{{Mr-arg-table
|arg=lbt-enabled
|type= yes {{!}} no
|default=no
|desc=Whether gateway should use LBT (Listen Before Talk) protocol.
}}
 
{{Mr-arg-table
|arg=listen-time
|type=integer [0us..4294967295us]
|default=5000us
|desc=Time in microseconds to track RSSI before TX (used when <b>lbt-enabled=yes</b>).
}}
 
{{Mr-arg-table
|arg=name
|type=string
|default=
|desc=Name of LoRaWAN gateway.
}}
 
{{Mr-arg-table
|arg=network
|type= private {{!}} public
|default=public
|desc=Whether sync word should be used (network=private) or shouldn`t (network=public).
}}
 
{{Mr-arg-table
|arg=rssi-threshold
|type=integer [-32,768 .. 32,767]
|default=-65dB
|desc=RSSI value to determine whether forwarder may use specific channel to talk. If RSSI value is below <b>rssi-threshold</b>, channel could be used (used when <b>lbt-enabled=yes</b>).
}}
 
{{Mr-arg-table
|arg=servers
|type=list of string
|default=
|desc=Name or names of servers from /lora servers.
}}
 
{{Mr-arg-table
|arg=src-address
|type=IP
|default=
|desc=Specifies uplink packet source address if necessary (address should match an address configured on the RB).
}}
 
 
==Channels==

Revision as of 09:00, 25 September 2019

Summary

Package: system,lora

Every RouterBOARD with a miniPCI-e interface (with connected USB lines) could be turn in LoRaWAN gateway by installation of R11e-LoRa8 or R11e-LoRa9 card.

Icon-warn.png

Warning: RouterOS doesn`t support 3rd party LoRaWAN gateway cards


Properties

Sub-menu: /lora

Channels

Property Description
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 | us-915; 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 be used (network=private) or shouldn`t (network=public).
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).