mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-01-31 07:55:23 +00:00
parent
2a8e49bf8d
commit
de656cf885
@ -4,7 +4,7 @@
|
||||
# Log level.
|
||||
#
|
||||
# Options are: trace, debug, info, warn error.
|
||||
level="info"
|
||||
level = "info"
|
||||
|
||||
|
||||
# PostgreSQL configuration.
|
||||
@ -19,19 +19,19 @@
|
||||
# * require - Always SSL (skip verification)
|
||||
# * verify-ca - Always SSL (verify that the certificate presented by the server was signed by a trusted CA)
|
||||
# * verify-full - Always SSL (verify that the certification presented by the server was signed by a trusted CA and the server host name matches the one in the certificate)
|
||||
dsn="postgres://chirpstack:chirpstack@localhost/chirpstack?sslmode=disable"
|
||||
dsn = "postgres://chirpstack:chirpstack@localhost/chirpstack?sslmode=disable"
|
||||
|
||||
# Max open connections.
|
||||
#
|
||||
# This sets the max. number of open connections that are allowed in the
|
||||
# PostgreSQL connection pool.
|
||||
max_open_connections=10
|
||||
max_open_connections = 10
|
||||
|
||||
# Min idle connections.
|
||||
#
|
||||
# This sets the min. number of idle connections in the PostgreSQL connection
|
||||
# pool (0 = equal to max_open_connections).
|
||||
min_idle_connections=0
|
||||
min_idle_connections = 0
|
||||
|
||||
|
||||
# Redis configuration.
|
||||
@ -40,28 +40,26 @@
|
||||
# Server address or addresses.
|
||||
#
|
||||
# Set multiple addresses when connecting to a cluster.
|
||||
servers=[
|
||||
"redis://localhost/",
|
||||
]
|
||||
servers = ["redis://localhost/"]
|
||||
|
||||
# Redis Cluster.
|
||||
#
|
||||
# Set this to true when the provided URLs are pointing to a Redis Cluster
|
||||
# instance.
|
||||
cluster=false
|
||||
cluster = false
|
||||
|
||||
|
||||
# Network related configuration.
|
||||
[network]
|
||||
|
||||
# Network identifier (NetID, 3 bytes) encoded as HEX (e.g. 010203).
|
||||
net_id="000000"
|
||||
net_id = "000000"
|
||||
|
||||
# Enabled regions.
|
||||
#
|
||||
# Multiple regions can be enabled simultaneously. Each region must match
|
||||
# the 'name' parameter of the region configuration in '[[regions]]'.
|
||||
enabled_regions=[
|
||||
enabled_regions = [
|
||||
"as923",
|
||||
"as923_2",
|
||||
"as923_3",
|
||||
@ -84,7 +82,7 @@
|
||||
[api]
|
||||
|
||||
# interface:port to bind the API interface to.
|
||||
bind="0.0.0.0:8080"
|
||||
bind = "0.0.0.0:8080"
|
||||
|
||||
# Secret.
|
||||
#
|
||||
@ -92,12 +90,12 @@
|
||||
# is never exposed. Changing this secret will invalidate all login and API
|
||||
# tokens. The following command can be used to generate a random secret:
|
||||
# openssl rand -base64 32
|
||||
secret="you-must-replace-this"
|
||||
secret = "you-must-replace-this"
|
||||
|
||||
|
||||
[integration]
|
||||
enabled=["mqtt"]
|
||||
enabled = ["mqtt"]
|
||||
|
||||
[integration.mqtt]
|
||||
server="tcp://localhost:1883/"
|
||||
json=true
|
||||
server = "tcp://localhost:1883/"
|
||||
json = true
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="as923"
|
||||
id = "as923"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AS923"
|
||||
description = "AS923"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AS923"
|
||||
common_name = "AS923"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="as923"
|
||||
topic_prefix = "as923"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,16 +115,16 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=923200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 923200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=923400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 923400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -127,7 +136,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -135,19 +144,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=2
|
||||
rx2_dr = 2
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923200000
|
||||
rx2_frequency = 923200000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -155,13 +164,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -171,44 +180,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=3
|
||||
ping_slot_dr = 3
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="as923_2"
|
||||
id = "as923_2"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AS923-2"
|
||||
description = "AS923-2"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AS923_2"
|
||||
common_name = "AS923_2"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="as923_2"
|
||||
topic_prefix = "as923_2"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,16 +115,16 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=921400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 921400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=921600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 921600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -127,7 +136,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -135,19 +144,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=921400000
|
||||
rx2_frequency = 921400000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -155,13 +164,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -171,44 +180,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=3
|
||||
ping_slot_dr = 3
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="as923_3"
|
||||
id = "as923_3"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AS923-3"
|
||||
description = "AS923-3"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AS923_3"
|
||||
common_name = "AS923_3"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="as923_3"
|
||||
topic_prefix = "as923_3"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,16 +115,16 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=916600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 916600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=916800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 916800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -127,7 +136,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -135,19 +144,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=2
|
||||
rx2_dr = 2
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=916600000
|
||||
rx2_frequency = 916600000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -155,13 +164,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -171,44 +180,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=3
|
||||
ping_slot_dr = 3
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="as923_4"
|
||||
id = "as923_4"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AS923-4"
|
||||
description = "AS923-4"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AS923_4"
|
||||
common_name = "AS923_4"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="as923_4"
|
||||
topic_prefix = "as923_4"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,16 +115,16 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=917300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 917300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=917500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 917500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -127,7 +136,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -135,19 +144,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=2
|
||||
rx2_dr = 2
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=917300000
|
||||
rx2_frequency = 917300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -155,13 +164,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -171,44 +180,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=3
|
||||
ping_slot_dr = 3
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="au915_0"
|
||||
id = "au915_0"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AU915 (channels 0-7 + 64)"
|
||||
description = "AU915 (channels 0-7 + 64)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AU915"
|
||||
common_name = "AU915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="au915_0"
|
||||
topic_prefix = "au915_0"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=915200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 915200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=915400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 915400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=915600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 915600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=915800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 915800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=916000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 916000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=916200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 916200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=916400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 916400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=916600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 916600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=915900000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 915900000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[0, 1, 2, 3, 4, 5, 6, 7, 64]
|
||||
enabled_uplink_channels = [0, 1, 2, 3, 4, 5, 6, 7, 64]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="au915_1"
|
||||
id = "au915_1"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AU915 (channels 8-15 + 65)"
|
||||
description = "AU915 (channels 8-15 + 65)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AU915"
|
||||
common_name = "AU915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="au915_1"
|
||||
topic_prefix = "au915_1"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=916800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 916800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=917000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 917000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=917200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 917200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=917400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 917400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=917600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 917600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=917800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 917800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=918000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 918000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=918200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 918200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=917500000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 917500000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[8, 9, 10, 11, 12, 13, 14, 15, 65]
|
||||
enabled_uplink_channels = [8, 9, 10, 11, 12, 13, 14, 15, 65]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="au915_2"
|
||||
id = "au915_2"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AU915 (channels 16-23 + 66)"
|
||||
description = "AU915 (channels 16-23 + 66)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AU915"
|
||||
common_name = "AU915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="au915_2"
|
||||
topic_prefix = "au915_2"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=918400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 918400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=918600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 918600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=918800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 918800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=919000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 919000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=919200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 919200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=919400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 919400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=919600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 919600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=919800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 919800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=919100000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 919100000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[16, 17, 18, 19, 20, 21, 22, 23, 66]
|
||||
enabled_uplink_channels = [16, 17, 18, 19, 20, 21, 22, 23, 66]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="au915_3"
|
||||
id = "au915_3"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AU915 (channels 24-31 + 67)"
|
||||
description = "AU915 (channels 24-31 + 67)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AU915"
|
||||
common_name = "AU915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="au915_3"
|
||||
topic_prefix = "au915_3"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=920000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 920000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=920200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 920200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=920400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 920400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=920600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 920600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=920800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 920800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=921000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 921000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=921200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 921200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=921400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 921400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=920700000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 920700000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[24, 25, 26, 27, 28, 29, 30, 31, 67]
|
||||
enabled_uplink_channels = [24, 25, 26, 27, 28, 29, 30, 31, 67]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="au915_4"
|
||||
id = "au915_4"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AU915 (channels 32-39 + 68)"
|
||||
description = "AU915 (channels 32-39 + 68)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AU915"
|
||||
common_name = "AU915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="au915_4"
|
||||
topic_prefix = "au915_4"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=921600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 921600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=921800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 921800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=922000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 922000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=922200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 922200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=922400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 922400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=922600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 922600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=922800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 922800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=923000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 923000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=922300000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 922300000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[32, 33, 34, 35, 36, 37, 38, 39, 68]
|
||||
enabled_uplink_channels = [32, 33, 34, 35, 36, 37, 38, 39, 68]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="au915_5"
|
||||
id = "au915_5"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AU915 (channels 40-47 + 69)"
|
||||
description = "AU915 (channels 40-47 + 69)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AU915"
|
||||
common_name = "AU915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="au915_5"
|
||||
topic_prefix = "au915_5"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=923200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 923200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=923400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 923400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=923600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 923600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=923800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 923800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=924000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 924000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=924200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 924200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=924400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 924400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=924600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 924600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=923900000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 923900000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[40, 41, 42, 43, 44, 45, 46, 47, 69]
|
||||
enabled_uplink_channels = [40, 41, 42, 43, 44, 45, 46, 47, 69]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="au915_6"
|
||||
id = "au915_6"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AU915 (channels 48-55 + 70)"
|
||||
description = "AU915 (channels 48-55 + 70)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AU915"
|
||||
common_name = "AU915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="au915_6"
|
||||
topic_prefix = "au915_6"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=924800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 924800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=925000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 925000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=925200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 925200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=925400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 925400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=925600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 925600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=925800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 925800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=926000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 926000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=926200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 926200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=925500000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 925500000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[48, 49, 50, 51, 52, 53, 54, 55, 70]
|
||||
enabled_uplink_channels = [48, 49, 50, 51, 52, 53, 54, 55, 70]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="au915_7"
|
||||
id = "au915_7"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="AU915 (channels 56-63 + 71)"
|
||||
description = "AU915 (channels 56-63 + 71)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="AU915"
|
||||
common_name = "AU915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="au915_7"
|
||||
topic_prefix = "au915_7"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=926400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 926400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=926600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 926600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=926800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 926800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=927000000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 927000000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=927200000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 927200000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=927400000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 927400000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=927600000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 927600000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=927800000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 927800000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=927100000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 927100000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[56, 57, 58, 59, 60, 61, 62, 63, 71]
|
||||
enabled_uplink_channels = [56, 57, 58, 59, 60, 61, 62, 63, 71]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_0"
|
||||
id = "cn470_0"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 0-7)"
|
||||
description = "CN470 (channels 0-7)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_0"
|
||||
topic_prefix = "cn470_0"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=470300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 470300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=470500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 470500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=470700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 470700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=470900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 470900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=471100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 471100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=471300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 471300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=471500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 471500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=471700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 471700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[0, 1, 2, 3, 4, 5, 6, 7]
|
||||
enabled_uplink_channels = [0, 1, 2, 3, 4, 5, 6, 7]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_1"
|
||||
id = "cn470_1"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 8-15)"
|
||||
description = "CN470 (channels 8-15)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_1"
|
||||
topic_prefix = "cn470_1"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=471900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 471900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=472100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 472100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=472300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 472300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=472500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 472500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=472700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 472700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=472900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 472900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=473100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 473100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=473300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 473300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[8, 9, 10, 11, 12, 13, 14, 15]
|
||||
enabled_uplink_channels = [8, 9, 10, 11, 12, 13, 14, 15]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_10"
|
||||
id = "cn470_10"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 80-87)"
|
||||
description = "CN470 (channels 80-87)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_10"
|
||||
topic_prefix = "cn470_10"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=486300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 486300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=486500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 486500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=486700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 486700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=486900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 486900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=487100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 487100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=487300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 487300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=487500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 487500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=487700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 487700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[80, 81, 82, 83, 84, 85, 86, 87]
|
||||
enabled_uplink_channels = [80, 81, 82, 83, 84, 85, 86, 87]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_11"
|
||||
id = "cn470_11"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 88-95)"
|
||||
description = "CN470 (channels 88-95)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_11"
|
||||
topic_prefix = "cn470_11"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=487900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 487900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=488100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 488100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=488300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 488300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=488500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 488500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=488700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 488700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=488900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 488900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=489100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 489100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=489300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 489300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[88, 89, 90, 91, 92, 93, 94, 95]
|
||||
enabled_uplink_channels = [88, 89, 90, 91, 92, 93, 94, 95]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_2"
|
||||
id = "cn470_2"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 16-23)"
|
||||
description = "CN470 (channels 16-23)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_2"
|
||||
topic_prefix = "cn470_2"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=473500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 473500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=473700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 473700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=473900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 473900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=474100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 474100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=474300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 474300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=474500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 474500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=474700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 474700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=474900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 474900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[16, 17, 18, 19, 20, 21, 22, 23]
|
||||
enabled_uplink_channels = [16, 17, 18, 19, 20, 21, 22, 23]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_3"
|
||||
id = "cn470_3"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 24-31)"
|
||||
description = "CN470 (channels 24-31)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_3"
|
||||
topic_prefix = "cn470_3"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=475100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 475100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=475300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 475300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=475500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 475500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=475700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 475700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=475900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 475900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=476100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 476100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=476300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 476300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=476500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 476500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[24, 25, 26, 27, 28, 29, 30, 31]
|
||||
enabled_uplink_channels = [24, 25, 26, 27, 28, 29, 30, 31]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_4"
|
||||
id = "cn470_4"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 32-39)"
|
||||
description = "CN470 (channels 32-39)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_4"
|
||||
topic_prefix = "cn470_4"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=476700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 476700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=476900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 476900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=477100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 477100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=477300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 477300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=477500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 477500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=477700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 477700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=477900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 477900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=478100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 478100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[32, 33, 34, 35, 36, 37, 38, 39]
|
||||
enabled_uplink_channels = [32, 33, 34, 35, 36, 37, 38, 39]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_5"
|
||||
id = "cn470_5"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 40-47)"
|
||||
description = "CN470 (channels 40-47)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_5"
|
||||
topic_prefix = "cn470_5"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=478300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 478300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=478500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 478500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=478700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 478700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=478900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 478900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=479100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 479100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=479300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 479300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=479500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 479500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=479700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 479700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[40, 41, 42, 43, 44, 45, 46, 47]
|
||||
enabled_uplink_channels = [40, 41, 42, 43, 44, 45, 46, 47]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_6"
|
||||
id = "cn470_6"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 48-55)"
|
||||
description = "CN470 (channels 48-55)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_6"
|
||||
topic_prefix = "cn470_6"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=479900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 479900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=480100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 480100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=480300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 480300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=480500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 480500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=480700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 480700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=480900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 480900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=481100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 481100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=481300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 481300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[48, 49, 50, 51, 52, 53, 54, 55]
|
||||
enabled_uplink_channels = [48, 49, 50, 51, 52, 53, 54, 55]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_7"
|
||||
id = "cn470_7"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 56-63)"
|
||||
description = "CN470 (channels 56-63)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_7"
|
||||
topic_prefix = "cn470_7"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=481500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 481500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=481700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 481700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=481900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 481900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=482100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 482100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=482300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 482300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=482500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 482500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=482700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 482700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=482900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 482900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[56, 57, 58, 59, 60, 61, 62, 63]
|
||||
enabled_uplink_channels = [56, 57, 58, 59, 60, 61, 62, 63]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_8"
|
||||
id = "cn470_8"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 64-71)"
|
||||
description = "CN470 (channels 64-71)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_8"
|
||||
topic_prefix = "cn470_8"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=483100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 483100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=483300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 483300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=483500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 483500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=483700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 483700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=483900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 483900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=484100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 484100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=484300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 484300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=484500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 484500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[64, 65, 66, 67, 68, 69, 70, 71]
|
||||
enabled_uplink_channels = [64, 65, 66, 67, 68, 69, 70, 71]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="cn470_9"
|
||||
id = "cn470_9"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN470 (channels 72-79)"
|
||||
description = "CN470 (channels 72-79)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN470"
|
||||
common_name = "CN470"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn470_9"
|
||||
topic_prefix = "cn470_9"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,52 +115,52 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=484700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 484700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=484900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 484900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=485100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 485100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=485300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 485300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=485500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 485500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=485700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 485700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=485900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 485900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=486100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 486100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -163,7 +172,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -171,19 +180,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=505300000
|
||||
rx2_frequency = 505300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -191,13 +200,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -207,51 +216,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[72, 73, 74, 75, 76, 77, 78, 79]
|
||||
enabled_uplink_channels = [72, 73, 74, 75, 76, 77, 78, 79]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=2
|
||||
ping_slot_dr = 2
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="cn779"
|
||||
id = "cn779"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="CN779"
|
||||
description = "CN779"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="CN779"
|
||||
common_name = "CN779"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="cn779"
|
||||
topic_prefix = "cn779"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,22 +115,22 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=779500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 779500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=779700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 779700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=779900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 779900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -133,7 +142,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -141,19 +150,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=786000000
|
||||
rx2_frequency = 786000000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -161,13 +170,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -177,44 +186,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=3
|
||||
ping_slot_dr = 3
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="eu433"
|
||||
id = "eu433"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="EU443"
|
||||
description = "EU443"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="EU433"
|
||||
common_name = "EU433"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="eu433"
|
||||
topic_prefix = "eu433"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,22 +115,22 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=433175000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 433175000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=433375000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 433375000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=433575000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 433575000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -133,7 +142,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -141,19 +150,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=434665000
|
||||
rx2_frequency = 434665000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -161,13 +170,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -177,44 +186,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=3
|
||||
ping_slot_dr = 3
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="eu868"
|
||||
id = "eu868"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="EU868"
|
||||
description = "EU868"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="EU868"
|
||||
common_name = "EU868"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="eu868"
|
||||
topic_prefix = "eu868"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,64 +115,64 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=868100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 868100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=868300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 868300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=868500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 868500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=867100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 867100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=867300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 867300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=867500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 867500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=867700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 867700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=867900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 867900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=868300000
|
||||
bandwidth=250000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7]
|
||||
frequency = 868300000
|
||||
bandwidth = 250000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=868800000
|
||||
bandwidth=125000
|
||||
modulation="FSK"
|
||||
datarate=50000
|
||||
frequency = 868800000
|
||||
bandwidth = 125000
|
||||
modulation = "FSK"
|
||||
datarate = 50000
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -175,7 +184,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -183,19 +192,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=869525000
|
||||
rx2_frequency = 869525000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -203,13 +212,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -219,72 +228,72 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=3
|
||||
ping_slot_dr = 3
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
||||
|
||||
# Below is the common set of extra channels. Please make sure that these
|
||||
# channels are also supported by the gateways.
|
||||
[[regions.network.extra_channels]]
|
||||
frequency=867100000
|
||||
min_dr=0
|
||||
max_dr=5
|
||||
frequency = 867100000
|
||||
min_dr = 0
|
||||
max_dr = 5
|
||||
|
||||
[[regions.network.extra_channels]]
|
||||
frequency=867300000
|
||||
min_dr=0
|
||||
max_dr=5
|
||||
frequency = 867300000
|
||||
min_dr = 0
|
||||
max_dr = 5
|
||||
|
||||
[[regions.network.extra_channels]]
|
||||
frequency=867500000
|
||||
min_dr=0
|
||||
max_dr=5
|
||||
frequency = 867500000
|
||||
min_dr = 0
|
||||
max_dr = 5
|
||||
|
||||
[[regions.network.extra_channels]]
|
||||
frequency=867700000
|
||||
min_dr=0
|
||||
max_dr=5
|
||||
frequency = 867700000
|
||||
min_dr = 0
|
||||
max_dr = 5
|
||||
|
||||
[[regions.network.extra_channels]]
|
||||
frequency=867900000
|
||||
min_dr=0
|
||||
max_dr=5
|
||||
frequency = 867900000
|
||||
min_dr = 0
|
||||
max_dr = 5
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="in865"
|
||||
id = "in865"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="IN865"
|
||||
description = "IN865"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="IN865"
|
||||
common_name = "IN865"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="in865"
|
||||
topic_prefix = "in865"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,22 +115,22 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=865062500
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 865062500
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=865402500
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 865402500
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=865985000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 865985000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -133,7 +142,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -141,19 +150,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=2
|
||||
rx2_dr = 2
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=866550000
|
||||
rx2_frequency = 866550000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -161,13 +170,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -177,44 +186,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=4
|
||||
ping_slot_dr = 4
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="ism2400"
|
||||
id = "ism2400"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="ISM2400"
|
||||
description = "ISM2400"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="ISM2400"
|
||||
common_name = "ISM2400"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="ism2400"
|
||||
topic_prefix = "ism2400"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,22 +115,22 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=2403000000
|
||||
bandwidth=812000
|
||||
modulation="LORA"
|
||||
spreading_factors=[12]
|
||||
frequency = 2403000000
|
||||
bandwidth = 812000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=2479000000
|
||||
bandwidth=812000
|
||||
modulation="LORA"
|
||||
spreading_factors=[12]
|
||||
frequency = 2479000000
|
||||
bandwidth = 812000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=2425000000
|
||||
bandwidth=812000
|
||||
modulation="LORA"
|
||||
spreading_factors=[12]
|
||||
frequency = 2425000000
|
||||
bandwidth = 812000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -133,7 +142,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -141,19 +150,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=2423000000
|
||||
rx2_frequency = 2423000000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -161,13 +170,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -177,44 +186,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=7
|
||||
max_dr = 7
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=0
|
||||
ping_slot_dr = 0
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="kr920"
|
||||
id = "kr920"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="KR920"
|
||||
description = "KR920"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="KR920"
|
||||
common_name = "KR920"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="kr920"
|
||||
topic_prefix = "kr920"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,22 +115,22 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=922100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 922100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=922300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 922300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=922500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 922500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -133,7 +142,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -141,19 +150,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=921900000
|
||||
rx2_frequency = 921900000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -161,13 +170,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -177,44 +186,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=3
|
||||
ping_slot_dr = 3
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an user-defined identifier for this region.
|
||||
id="ru864"
|
||||
id = "ru864"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="RU864"
|
||||
description = "RU864"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="RU864"
|
||||
common_name = "RU864"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="ru864"
|
||||
topic_prefix = "ru864"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,16 +115,16 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=868900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 868900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=869100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
||||
frequency = 869100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10, 11, 12]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -127,7 +136,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -135,19 +144,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=0
|
||||
rx2_dr = 0
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=869100000
|
||||
rx2_frequency = 869100000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -155,13 +164,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -171,44 +180,44 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=5
|
||||
max_dr = 5
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=3
|
||||
ping_slot_dr = 3
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="us915_0"
|
||||
id = "us915_0"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="US915 (channels 0-7 + 64)"
|
||||
description = "US915 (channels 0-7 + 64)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="US915"
|
||||
common_name = "US915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="us915_0"
|
||||
topic_prefix = "us915_0"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=902300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 902300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=902500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 902500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=902700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 902700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=902900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 902900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=903100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 903100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=903300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 903300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=903500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 903500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=903700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 903700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=903000000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 903000000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=3
|
||||
max_dr = 3
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[0, 1, 2, 3, 4, 5, 6, 7, 64]
|
||||
enabled_uplink_channels = [0, 1, 2, 3, 4, 5, 6, 7, 64]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="us915_1"
|
||||
id = "us915_1"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="US915 (channels 8-15 + 65)"
|
||||
description = "US915 (channels 8-15 + 65)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="US915"
|
||||
common_name = "US915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="us915_1"
|
||||
topic_prefix = "us915_1"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=903900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 903900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=904100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 904100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=904300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 904300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=904500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 904500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=904700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 904700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=904900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 904900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=905100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 905100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=905300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 905300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=904600000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 904600000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=3
|
||||
max_dr = 3
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[8, 9, 10, 11, 12, 13, 14, 15, 65]
|
||||
enabled_uplink_channels = [8, 9, 10, 11, 12, 13, 14, 15, 65]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="us915_2"
|
||||
id = "us915_2"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="US915 (channels 16-23 + 66)"
|
||||
description = "US915 (channels 16-23 + 66)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="US915"
|
||||
common_name = "US915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="us915_2"
|
||||
topic_prefix = "us915_2"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=905500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 905500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=905700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 905700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=905900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 905900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=906100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 906100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=906300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 906300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=906500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 906500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=906700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 906700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=906900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 906900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=906200000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 906200000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=3
|
||||
max_dr = 3
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[16, 17, 18, 19, 20, 21, 22, 23, 66]
|
||||
enabled_uplink_channels = [16, 17, 18, 19, 20, 21, 22, 23, 66]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="us915_3"
|
||||
id = "us915_3"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="US915 (channels 24-31 + 67)"
|
||||
description = "US915 (channels 24-31 + 67)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="US915"
|
||||
common_name = "US915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="us915_3"
|
||||
topic_prefix = "us915_3"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=907100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 907100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=907300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 907300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=907500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 907500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=907700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 907700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=907900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 907900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=908100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 908100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=908300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 908300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=908500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 908500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=907800000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 907800000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=3
|
||||
max_dr = 3
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[24, 25, 26, 27, 28, 29, 30, 31, 67]
|
||||
enabled_uplink_channels = [24, 25, 26, 27, 28, 29, 30, 31, 67]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="us915_4"
|
||||
id = "us915_4"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="US915 (channels 32-39 + 68)"
|
||||
description = "US915 (channels 32-39 + 68)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="US915"
|
||||
common_name = "US915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="us915_4"
|
||||
topic_prefix = "us915_4"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=908700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 908700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=908900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 908900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=909100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 909100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=909300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 909300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=909500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 909500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=909700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 909700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=909900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 909900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=910100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 910100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=909400000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 909400000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=3
|
||||
max_dr = 3
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[32, 33, 34, 35, 36, 37, 38, 39, 68]
|
||||
enabled_uplink_channels = [32, 33, 34, 35, 36, 37, 38, 39, 68]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="us915_5"
|
||||
id = "us915_5"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="US915 (channels 40-47 + 69)"
|
||||
description = "US915 (channels 40-47 + 69)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="US915"
|
||||
common_name = "US915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="us915_5"
|
||||
topic_prefix = "us915_5"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=910300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 910300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=910500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 910500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=910700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 910700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=910900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 910900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=911100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 911100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=911300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 911300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=911500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 911500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=911700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 911700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=911000000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 911000000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=3
|
||||
max_dr = 3
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[40, 41, 42, 43, 44, 45, 46, 47, 69]
|
||||
enabled_uplink_channels = [40, 41, 42, 43, 44, 45, 46, 47, 69]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="us915_6"
|
||||
id = "us915_6"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="US915 (channels 48-55 + 70)"
|
||||
description = "US915 (channels 48-55 + 70)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="US915"
|
||||
common_name = "US915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="us915_6"
|
||||
topic_prefix = "us915_6"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=911900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 911900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=912100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 912100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=912300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 912300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=912500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 912500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=912700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 912700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=912900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 912900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=913100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 913100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=913300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 913300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=912600000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 912600000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=3
|
||||
max_dr = 3
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[48, 49, 50, 51, 52, 53, 54, 55, 70]
|
||||
enabled_uplink_channels = [48, 49, 50, 51, 52, 53, 54, 55, 70]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
@ -2,14 +2,23 @@
|
||||
[[regions]]
|
||||
|
||||
# ID is an use-defined identifier for this region.
|
||||
id="us915_7"
|
||||
id = "us915_7"
|
||||
|
||||
# Description is a short description for this region.
|
||||
description="US915 (channels 56-63 + 71)"
|
||||
description = "US915 (channels 56-63 + 71)"
|
||||
|
||||
# Common-name refers to the common-name of this region as defined by
|
||||
# the LoRa Alliance.
|
||||
common_name="US915"
|
||||
common_name = "US915"
|
||||
|
||||
# User-defined region information.
|
||||
#
|
||||
# This information will be displayed on top of the region page in then
|
||||
# ChirpStack web-interface. For example, it can contain information about
|
||||
# how users should connect their gateways when using this region (e.g. MQTT
|
||||
# end-point, MQTT topic prefix, TLS configuration etc). Markdown syntax can
|
||||
# be used for formatting.
|
||||
user_info = ""
|
||||
|
||||
|
||||
# Gateway configuration.
|
||||
@ -18,14 +27,14 @@
|
||||
# Force gateways as private.
|
||||
#
|
||||
# If enabled, gateways can only be used by devices under the same tenant.
|
||||
force_gws_private=false
|
||||
force_gws_private = false
|
||||
|
||||
|
||||
# Gateway backend configuration.
|
||||
[regions.gateway.backend]
|
||||
|
||||
# The enabled backend type.
|
||||
enabled="mqtt"
|
||||
enabled = "mqtt"
|
||||
|
||||
# MQTT configuration.
|
||||
[regions.gateway.backend.mqtt]
|
||||
@ -35,7 +44,7 @@
|
||||
# The topic prefix can be used to define the region of the gateway.
|
||||
# Note, there is no need to add a trailing '/' to the prefix. The trailing
|
||||
# '/' is automatically added to the prefix if it is configured.
|
||||
topic_prefix="us915_7"
|
||||
topic_prefix = "us915_7"
|
||||
|
||||
# Shared subscription name.
|
||||
#
|
||||
@ -45,16 +54,16 @@
|
||||
# test-environment connected to the same MQTT broker, make sure that
|
||||
# each environment has its own subscription name, for example:
|
||||
# chirpstack_prod and chirpstack_tst.
|
||||
share_name="chirpstack"
|
||||
share_name = "chirpstack"
|
||||
|
||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||
server="tcp://localhost:1883"
|
||||
server = "tcp://localhost:1883"
|
||||
|
||||
# Connect with the given username (optional)
|
||||
username=""
|
||||
username = ""
|
||||
|
||||
# Connect with the given password (optional)
|
||||
password=""
|
||||
password = ""
|
||||
|
||||
# Quality of service level
|
||||
#
|
||||
@ -64,40 +73,40 @@
|
||||
#
|
||||
# Note: an increase of this value will decrease the performance.
|
||||
# For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels
|
||||
qos=0
|
||||
qos = 0
|
||||
|
||||
# Clean session
|
||||
#
|
||||
# Set the "clean session" flag in the connect message when this client
|
||||
# connects to an MQTT broker. By setting this flag you are indicating
|
||||
# that no messages saved by the broker for this client should be delivered.
|
||||
clean_session=false
|
||||
clean_session = false
|
||||
|
||||
# Client ID
|
||||
#
|
||||
# Set the client id to be used by this client when connecting to the MQTT
|
||||
# broker. A client id must be no longer than 23 characters. If left blank,
|
||||
# a random id will be generated by ChirpStack.
|
||||
client_id=""
|
||||
client_id = ""
|
||||
|
||||
# Keep alive interval.
|
||||
#
|
||||
# This defines the maximum time that that should pass without communication
|
||||
# between the client and server.
|
||||
keep_alive_interval="30s"
|
||||
keep_alive_interval = "30s"
|
||||
|
||||
# CA certificate file (optional)
|
||||
#
|
||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||
# but the certificate used by the server is not trusted by any CA certificate
|
||||
# on the server (e.g. when self generated).
|
||||
ca_cert=""
|
||||
ca_cert = ""
|
||||
|
||||
# TLS certificate file (optional)
|
||||
tls_cert=""
|
||||
tls_cert = ""
|
||||
|
||||
# TLS key file (optional)
|
||||
tls_key=""
|
||||
tls_key = ""
|
||||
|
||||
|
||||
# Gateway channel configuration.
|
||||
@ -106,58 +115,58 @@
|
||||
# ChirpStack Concentratord daemon. In any other case, this configuration
|
||||
# is ignored.
|
||||
[[regions.gateway.channels]]
|
||||
frequency=913500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 913500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=913700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 913700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=913900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 913900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=914100000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 914100000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=914300000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 914300000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=914500000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 914500000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=914700000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 914700000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=914900000
|
||||
bandwidth=125000
|
||||
modulation="LORA"
|
||||
spreading_factors=[7, 8, 9, 10]
|
||||
frequency = 914900000
|
||||
bandwidth = 125000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [7, 8, 9, 10]
|
||||
|
||||
[[regions.gateway.channels]]
|
||||
frequency=914200000
|
||||
bandwidth=500000
|
||||
modulation="LORA"
|
||||
spreading_factors=[8]
|
||||
frequency = 914200000
|
||||
bandwidth = 500000
|
||||
modulation = "LORA"
|
||||
spreading_factors = [8]
|
||||
|
||||
|
||||
# Region specific network configuration.
|
||||
@ -169,7 +178,7 @@
|
||||
# resulting in a lower data-rate but decreasing the chance that the
|
||||
# device gets disconnected because it is unable to reach one of the
|
||||
# surrounded gateways.
|
||||
installation_margin=10
|
||||
installation_margin = 10
|
||||
|
||||
# RX window (Class-A).
|
||||
#
|
||||
@ -177,19 +186,19 @@
|
||||
# 0: RX1 / RX2
|
||||
# 1: RX1 only
|
||||
# 2: RX2 only
|
||||
rx_window=0
|
||||
rx_window = 0
|
||||
|
||||
# RX1 delay (1 - 15 seconds).
|
||||
rx1_delay=1
|
||||
rx1_delay = 1
|
||||
|
||||
# RX1 data-rate offset
|
||||
rx1_dr_offset=0
|
||||
rx1_dr_offset = 0
|
||||
|
||||
# RX2 data-rate
|
||||
rx2_dr=8
|
||||
rx2_dr = 8
|
||||
|
||||
# RX2 frequency (Hz)
|
||||
rx2_frequency=923300000
|
||||
rx2_frequency = 923300000
|
||||
|
||||
# Prefer RX2 on RX1 data-rate less than.
|
||||
#
|
||||
@ -197,13 +206,13 @@
|
||||
# is smaller than the configured value, then the Network Server will
|
||||
# first try to schedule the downlink for RX2, failing that (e.g. the gateway
|
||||
# has already a payload scheduled at the RX2 timing) it will try RX1.
|
||||
rx2_prefer_on_rx1_dr_lt=0
|
||||
rx2_prefer_on_rx1_dr_lt = 0
|
||||
|
||||
# Prefer RX2 on link budget.
|
||||
#
|
||||
# When the link-budget is better for RX2 than for RX1, the Network Server will first
|
||||
# try to schedule the downlink in RX2, failing that it will try RX1.
|
||||
rx2_prefer_on_link_budget=false
|
||||
rx2_prefer_on_link_budget = false
|
||||
|
||||
# Downlink TX Power (in dBm EIRP)
|
||||
#
|
||||
@ -213,51 +222,51 @@
|
||||
# Please consult the LoRaWAN Regional Parameters and local regulations
|
||||
# for valid and legal options. Note that the configured TX Power must be
|
||||
# supported by your gateway(s).
|
||||
downlink_tx_power=-1
|
||||
downlink_tx_power = -1
|
||||
|
||||
# ADR is disabled.
|
||||
adr_disabled=false
|
||||
adr_disabled = false
|
||||
|
||||
# Minimum data-rate.
|
||||
min_dr=0
|
||||
min_dr = 0
|
||||
|
||||
# Maximum data-rate.
|
||||
max_dr=3
|
||||
max_dr = 3
|
||||
|
||||
# Enabled uplink channels.
|
||||
#
|
||||
# Use this when ony a sub-set of the by default enabled channels are being
|
||||
# used. For example when only using the first 8 channels of the US band.
|
||||
# Note: when left blank / empty array, all channels will be enabled.
|
||||
enabled_uplink_channels=[56, 57, 58, 59, 60, 61, 62, 63, 71]
|
||||
enabled_uplink_channels = [56, 57, 58, 59, 60, 61, 62, 63, 71]
|
||||
|
||||
|
||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
||||
[regions.network.rejoin_request]
|
||||
|
||||
# Request devices to periodically send rejoin-requests.
|
||||
enabled=false
|
||||
enabled = false
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4)
|
||||
# uplink messages. Valid values are 0 to 15.
|
||||
max_count_n=0
|
||||
max_count_n = 0
|
||||
|
||||
# The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10)
|
||||
# seconds. Valid values are 0 to 15.
|
||||
#
|
||||
# 0 = roughly 17 minutes
|
||||
# 15 = about 1 year
|
||||
max_time_n=0
|
||||
max_time_n = 0
|
||||
|
||||
|
||||
# Class-B configuration.
|
||||
[regions.network.class_b]
|
||||
|
||||
# Ping-slot data-rate.
|
||||
ping_slot_dr=8
|
||||
ping_slot_dr = 8
|
||||
|
||||
# Ping-slot frequency (Hz)
|
||||
#
|
||||
# set this to 0 to use the default frequency plan for the configured region
|
||||
# (which could be frequency hopping).
|
||||
ping_slot_frequency=0
|
||||
ping_slot_frequency = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user