Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
90f6794617 | ||
![]() |
f35940f6e4 | ||
![]() |
7964e1def4 | ||
![]() |
3b18174fe2 | ||
![]() |
19c7c53e38 |
1
.github/FUNDING.yml
vendored
1
.github/FUNDING.yml
vendored
@ -1 +0,0 @@
|
|||||||
github: chirpstack
|
|
7
Makefile
7
Makefile
@ -1,5 +1,4 @@
|
|||||||
import-lorawan-devices:
|
import-lorawan-devices:
|
||||||
docker-compose run --rm --entrypoint sh --user root chirpstack -c '\
|
rm -rf lorawan-devices
|
||||||
apk add --no-cache git && \
|
git clone https://github.com/TheThingsNetwork/lorawan-devices
|
||||||
git clone https://github.com/brocaar/lorawan-devices /tmp/lorawan-devices && \
|
docker-compose run --rm chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /opt/lorawan-devices
|
||||||
chirpstack -c /etc/chirpstack import-legacy-lorawan-devices-repository -d /tmp/lorawan-devices'
|
|
||||||
|
60
README.md
60
README.md
@ -1,7 +1,7 @@
|
|||||||
# ChirpStack Docker example
|
# ChirpStack Docker example
|
||||||
|
|
||||||
This repository contains a skeleton to setup the [ChirpStack](https://www.chirpstack.io)
|
This repository contains a skeleton to setup the [ChirpStack](https://www.chirpstack.io)
|
||||||
open-source LoRaWAN Network Server (v4) using [Docker Compose](https://docs.docker.com/compose/).
|
open-source LoRaWAN Network Server stack using [Docker Compose](https://docs.docker.com/compose/).
|
||||||
|
|
||||||
**Note:** Please use this `docker-compose.yml` file as a starting point for testing
|
**Note:** Please use this `docker-compose.yml` file as a starting point for testing
|
||||||
but keep in mind that for production usage it might need modifications.
|
but keep in mind that for production usage it might need modifications.
|
||||||
@ -11,48 +11,20 @@ but keep in mind that for production usage it might need modifications.
|
|||||||
* `docker-compose.yml`: the docker-compose file containing the services
|
* `docker-compose.yml`: the docker-compose file containing the services
|
||||||
* `configuration/chirpstack`: directory containing the ChirpStack configuration files
|
* `configuration/chirpstack`: directory containing the ChirpStack configuration files
|
||||||
* `configuration/chirpstack-gateway-bridge`: directory containing the ChirpStack Gateway Bridge configuration
|
* `configuration/chirpstack-gateway-bridge`: directory containing the ChirpStack Gateway Bridge configuration
|
||||||
* `configuration/mosquitto`: directory containing the Mosquitto (MQTT broker) configuration
|
|
||||||
* `configuration/postgresql/initdb/`: directory containing PostgreSQL initialization scripts
|
* `configuration/postgresql/initdb/`: directory containing PostgreSQL initialization scripts
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
This setup is pre-configured for all regions. You can either connect a ChirpStack Gateway Bridge
|
This setup is pre-configured for all regions. You can either connect a ChirpStack Gateway Bridge
|
||||||
instance (v3.14.0+) to the MQTT broker (port 1883) or connect a Semtech UDP Packet Forwarder.
|
instance to the MQTT broker (port 1883). Please note that:
|
||||||
Please note that:
|
|
||||||
|
|
||||||
* You must prefix the MQTT topic with the region.
|
* You must prefix the MQTT topic with the region
|
||||||
Please see the region configuration files in the `configuration/chirpstack` for a list
|
Please see the region configuration files in the `configuration/chirpstack` for a list
|
||||||
of topic prefixes (e.g. eu868, us915_0, au915_0, as923_2, ...).
|
of topic prefixes (e.g. eu868, us915_0, au915, as923_2, ...).
|
||||||
* The protobuf marshaler is configured.
|
* The protobuf marshaler is configured.
|
||||||
|
|
||||||
This setup also comes with two instances of the ChirpStack Gateway Bridge. One
|
This setup also comes with a ChirpStack Gateway Bridge instance which is configured to the
|
||||||
is configured to handle the Semtech UDP Packet Forwarder data (port 1700), the
|
eu868 topic prefix. You can connect your UDP packet-forwarder based gateway to port 1700.
|
||||||
other is configured to handle the Basics Station protocol (port 3001). Both
|
|
||||||
instances are by default configured for EU868 (using the `eu868` MQTT topic
|
|
||||||
prefix).
|
|
||||||
|
|
||||||
### Reconfigure regions
|
|
||||||
|
|
||||||
ChirpStack has at least one configuration of each region enabled. You will find
|
|
||||||
the list of `enabled_regions` in `configuration/chirpstack/chirpstack.toml`.
|
|
||||||
Each entry in `enabled_regions` refers to the `id` that can be found in the
|
|
||||||
`region_XXX.toml` file. This `region_XXX.toml` also contains a `topic_prefix`
|
|
||||||
configuration which you need to configure the ChirpStack Gateway Bridge
|
|
||||||
UDP instance (see below).
|
|
||||||
|
|
||||||
#### ChirpStack Gateway Bridge (UDP)
|
|
||||||
|
|
||||||
Within the `docker-compose.yml` file, you must replace the `eu868` prefix in the
|
|
||||||
`INTEGRATION__..._TOPIC_TEMPLATE` configuration with the MQTT `topic_prefix` of
|
|
||||||
the region you would like to use (e.g. `us915_0`, `au915_0`, `in865`, ...).
|
|
||||||
|
|
||||||
#### ChirpStack Gateway Bridge (Basics Station)
|
|
||||||
|
|
||||||
Within the `docker-compose.yml` file, you must update the configuration file
|
|
||||||
that the ChirpStack Gateway Bridge instance must used. The default is
|
|
||||||
`chirpstack-gateway-bridge-basicstation-eu868.toml`. For available
|
|
||||||
configuration files, please see the `configuration/chirpstack-gateway-bridge`
|
|
||||||
directory.
|
|
||||||
|
|
||||||
# Data persistence
|
# Data persistence
|
||||||
|
|
||||||
@ -64,20 +36,18 @@ PostgreSQL and Redis data is persisted in Docker volumes, see the `docker-compos
|
|||||||
Before using this `docker-compose.yml` file, make sure you have [Docker](https://www.docker.com/community-edition)
|
Before using this `docker-compose.yml` file, make sure you have [Docker](https://www.docker.com/community-edition)
|
||||||
installed.
|
installed.
|
||||||
|
|
||||||
## Importing device repository
|
## Importing TTN device repository
|
||||||
|
|
||||||
To import the [lorawan-devices](https://github.com/TheThingsNetwork/lorawan-devices)
|
To import the TTN [lorawan-devices](https://github.com/TheThingsNetwork/lorawan-devices)
|
||||||
repository (optional step), run the following command:
|
repository (optional step), run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make import-lorawan-devices
|
make import-lorawan-devices
|
||||||
```
|
```
|
||||||
|
|
||||||
This will clone the `lorawan-devices` repository and execute the import command of ChirpStack.
|
This will clone the `lorawan-devices` repository and execute the `import-ttn-lorawan-devices`
|
||||||
Please note that for this step you need to have the `make` command installed.
|
command of ChirpStack. Please note that for this step, you need to have the `git` and `make`
|
||||||
|
commands installed.
|
||||||
**Note:** an older snapshot of the `lorawan-devices` repository is cloned as the
|
|
||||||
latest revision no longer contains a `LICENSE` file.
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@ -89,11 +59,3 @@ $ docker-compose up
|
|||||||
|
|
||||||
After all the components have been initialized and started, you should be able
|
After all the components have been initialized and started, you should be able
|
||||||
to open http://localhost:8080/ in your browser.
|
to open http://localhost:8080/ in your browser.
|
||||||
|
|
||||||
##
|
|
||||||
|
|
||||||
The example includes the [ChirpStack REST API](https://github.com/chirpstack/chirpstack-rest-api).
|
|
||||||
You should be able to access the UI by opening http://localhost:8090 in your browser.
|
|
||||||
|
|
||||||
**Note:** It is recommended to use the [gRPC](https://www.chirpstack.io/docs/chirpstack/api/grpc.html)
|
|
||||||
interface over the [REST](https://www.chirpstack.io/docs/chirpstack/api/rest.html) interface.
|
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="as923/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="as923/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="as923/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AS923"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
923200000,
|
|
||||||
923400000,
|
|
||||||
923600000,
|
|
||||||
923800000,
|
|
||||||
924000000,
|
|
||||||
924200000,
|
|
||||||
924400000,
|
|
||||||
924600000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=924500000
|
|
||||||
bandwidth=250000
|
|
||||||
spreading_factor=7
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="as923_2/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="as923_2/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="as923_2/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AS923"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
921400000,
|
|
||||||
921600000,
|
|
||||||
921800000,
|
|
||||||
922000000,
|
|
||||||
922200000,
|
|
||||||
922400000,
|
|
||||||
922600000,
|
|
||||||
922800000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=922700000
|
|
||||||
bandwidth=250000
|
|
||||||
spreading_factor=7
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="as923_3/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="as923_3/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="as923_3/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AS923"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
916600000,
|
|
||||||
916800000,
|
|
||||||
917000000,
|
|
||||||
917200000,
|
|
||||||
917400000,
|
|
||||||
917600000,
|
|
||||||
917800000,
|
|
||||||
918000000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=917900000
|
|
||||||
bandwidth=250000
|
|
||||||
spreading_factor=7
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="as923_4/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="as923_4/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="as923_4/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AS923"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
917300000,
|
|
||||||
917500000,
|
|
||||||
917700000,
|
|
||||||
917900000,
|
|
||||||
918100000,
|
|
||||||
918300000,
|
|
||||||
918500000,
|
|
||||||
918700000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=918600000
|
|
||||||
bandwidth=250000
|
|
||||||
spreading_factor=7
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="au915_0/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="au915_0/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="au915_0/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AU915"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
915200000,
|
|
||||||
915400000,
|
|
||||||
915600000,
|
|
||||||
915800000,
|
|
||||||
916000000,
|
|
||||||
916200000,
|
|
||||||
916400000,
|
|
||||||
916600000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=915900000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="au915_1/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="au915_1/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="au915_1/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AU915"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
916800000,
|
|
||||||
917000000,
|
|
||||||
917200000,
|
|
||||||
917400000,
|
|
||||||
917600000,
|
|
||||||
917800000,
|
|
||||||
918000000,
|
|
||||||
918200000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=917500000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="au915_2/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="au915_2/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="au915_2/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AU915"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
918400000,
|
|
||||||
918600000,
|
|
||||||
918800000,
|
|
||||||
919000000,
|
|
||||||
919200000,
|
|
||||||
919400000,
|
|
||||||
919600000,
|
|
||||||
919800000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=919100000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="au915_3/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="au915_3/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="au915_3/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AU915"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
920000000,
|
|
||||||
920200000,
|
|
||||||
920400000,
|
|
||||||
920600000,
|
|
||||||
920800000,
|
|
||||||
921000000,
|
|
||||||
921200000,
|
|
||||||
921400000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=920700000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="au915_4/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="au915_4/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="au915_4/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AU915"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
921600000,
|
|
||||||
921800000,
|
|
||||||
922000000,
|
|
||||||
922200000,
|
|
||||||
922400000,
|
|
||||||
922600000,
|
|
||||||
922800000,
|
|
||||||
923000000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=922300000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="au915_5/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="au915_5/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="au915_5/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AU915"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
923200000,
|
|
||||||
923400000,
|
|
||||||
923600000,
|
|
||||||
923800000,
|
|
||||||
924000000,
|
|
||||||
924200000,
|
|
||||||
924400000,
|
|
||||||
924600000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=923900000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="au915_6/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="au915_6/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="au915_6/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AU915"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
924800000,
|
|
||||||
925000000,
|
|
||||||
925200000,
|
|
||||||
925400000,
|
|
||||||
925600000,
|
|
||||||
925800000,
|
|
||||||
926000000,
|
|
||||||
926200000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=925500000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="au915_7/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="au915_7/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="au915_7/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="AU915"
|
|
||||||
frequency_min=915000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
926400000,
|
|
||||||
926600000,
|
|
||||||
926800000,
|
|
||||||
927000000,
|
|
||||||
927200000,
|
|
||||||
927400000,
|
|
||||||
927600000,
|
|
||||||
927800000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=927100000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_0/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_0/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_0/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
470300000,
|
|
||||||
470500000,
|
|
||||||
470700000,
|
|
||||||
470900000,
|
|
||||||
471100000,
|
|
||||||
471300000,
|
|
||||||
471500000,
|
|
||||||
471700000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_1/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_1/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_1/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
471900000,
|
|
||||||
472100000,
|
|
||||||
472300000,
|
|
||||||
472500000,
|
|
||||||
472700000,
|
|
||||||
472900000,
|
|
||||||
473100000,
|
|
||||||
473300000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_10/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_10/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_10/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
486300000,
|
|
||||||
486500000,
|
|
||||||
486700000,
|
|
||||||
486900000,
|
|
||||||
487100000,
|
|
||||||
487300000,
|
|
||||||
487500000,
|
|
||||||
487700000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_11/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_11/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_11/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
487900000,
|
|
||||||
488100000,
|
|
||||||
488300000,
|
|
||||||
488500000,
|
|
||||||
488700000,
|
|
||||||
488900000,
|
|
||||||
489100000,
|
|
||||||
489300000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_2/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_2/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_2/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
473500000,
|
|
||||||
473700000,
|
|
||||||
473900000,
|
|
||||||
474100000,
|
|
||||||
474300000,
|
|
||||||
474500000,
|
|
||||||
474700000,
|
|
||||||
474900000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_3/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_3/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_3/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
475100000,
|
|
||||||
475300000,
|
|
||||||
475500000,
|
|
||||||
475700000,
|
|
||||||
475900000,
|
|
||||||
476100000,
|
|
||||||
476300000,
|
|
||||||
476500000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_4/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_4/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_4/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
476700000,
|
|
||||||
476900000,
|
|
||||||
477100000,
|
|
||||||
477300000,
|
|
||||||
477500000,
|
|
||||||
477700000,
|
|
||||||
477900000,
|
|
||||||
478100000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_5/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_5/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_5/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
478300000,
|
|
||||||
478500000,
|
|
||||||
478700000,
|
|
||||||
478900000,
|
|
||||||
479100000,
|
|
||||||
479300000,
|
|
||||||
479500000,
|
|
||||||
479700000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_6/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_6/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_6/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
479900000,
|
|
||||||
480100000,
|
|
||||||
480300000,
|
|
||||||
480500000,
|
|
||||||
480700000,
|
|
||||||
480900000,
|
|
||||||
481100000,
|
|
||||||
481300000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_7/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_7/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_7/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
481500000,
|
|
||||||
481700000,
|
|
||||||
481900000,
|
|
||||||
482100000,
|
|
||||||
482300000,
|
|
||||||
482500000,
|
|
||||||
482700000,
|
|
||||||
482900000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_8/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_8/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_8/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
483100000,
|
|
||||||
483300000,
|
|
||||||
483500000,
|
|
||||||
483700000,
|
|
||||||
483900000,
|
|
||||||
484100000,
|
|
||||||
484300000,
|
|
||||||
484500000,
|
|
||||||
]
|
|
@ -1,40 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="cn470_9/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="cn470_9/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="cn470_9/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="CN470"
|
|
||||||
frequency_min=470000000
|
|
||||||
frequency_max=510000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
484700000,
|
|
||||||
484900000,
|
|
||||||
485100000,
|
|
||||||
485300000,
|
|
||||||
485500000,
|
|
||||||
485700000,
|
|
||||||
485900000,
|
|
||||||
486100000,
|
|
||||||
]
|
|
@ -1,35 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="eu433/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="eu433/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="eu433/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="EU433"
|
|
||||||
frequency_min=433050000
|
|
||||||
frequency_max=434900000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
433175000,
|
|
||||||
433375000,
|
|
||||||
433575000,
|
|
||||||
]
|
|
@ -1,48 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="eu868/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="eu868/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="EU868"
|
|
||||||
frequency_min=863000000
|
|
||||||
frequency_max=870000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
868100000,
|
|
||||||
868300000,
|
|
||||||
868500000,
|
|
||||||
867100000,
|
|
||||||
867300000,
|
|
||||||
867500000,
|
|
||||||
867700000,
|
|
||||||
867900000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=868300000
|
|
||||||
bandwidth=250000
|
|
||||||
spreading_factor=7
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.fsk]
|
|
||||||
frequency=868800000
|
|
@ -1,35 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="in865/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="in865/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="in865/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="IN865"
|
|
||||||
frequency_min=865000000
|
|
||||||
frequency_max=867000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
865062500,
|
|
||||||
865402500,
|
|
||||||
865985000,
|
|
||||||
]
|
|
@ -1,35 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="kr920/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="kr920/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="kr920/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="KR920"
|
|
||||||
frequency_min=920900000
|
|
||||||
frequency_max=923300000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
922100000,
|
|
||||||
922300000,
|
|
||||||
922500000,
|
|
||||||
]
|
|
@ -1,34 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="ru864/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="ru864/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="ru864/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="RU864"
|
|
||||||
frequency_min=863000000
|
|
||||||
frequency_max=870000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
868900000,
|
|
||||||
869100000,
|
|
||||||
]
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="us915_0/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="us915_0/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="us915_0/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="US915"
|
|
||||||
frequency_min=923000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
902300000,
|
|
||||||
902500000,
|
|
||||||
902700000,
|
|
||||||
902900000,
|
|
||||||
903100000,
|
|
||||||
903300000,
|
|
||||||
903500000,
|
|
||||||
903700000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=903000000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="us915_1/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="us915_1/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="us915_1/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="US915"
|
|
||||||
frequency_min=923000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
903900000,
|
|
||||||
904100000,
|
|
||||||
904300000,
|
|
||||||
904500000,
|
|
||||||
904700000,
|
|
||||||
904900000,
|
|
||||||
905100000,
|
|
||||||
905300000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=904600000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="us915_2/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="us915_2/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="us915_2/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="US915"
|
|
||||||
frequency_min=923000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
905500000,
|
|
||||||
905700000,
|
|
||||||
905900000,
|
|
||||||
906100000,
|
|
||||||
906300000,
|
|
||||||
906500000,
|
|
||||||
906700000,
|
|
||||||
906900000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=906200000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="us915_3/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="us915_3/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="us915_3/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="US915"
|
|
||||||
frequency_min=923000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
907100000,
|
|
||||||
907300000,
|
|
||||||
907500000,
|
|
||||||
907700000,
|
|
||||||
907900000,
|
|
||||||
908100000,
|
|
||||||
908300000,
|
|
||||||
908500000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=907800000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="us915_4/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="us915_4/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="us915_4/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="US915"
|
|
||||||
frequency_min=923000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
908700000,
|
|
||||||
908900000,
|
|
||||||
909100000,
|
|
||||||
909300000,
|
|
||||||
909500000,
|
|
||||||
909700000,
|
|
||||||
909900000,
|
|
||||||
910100000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=909400000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="us915_5/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="us915_5/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="us915_5/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="US915"
|
|
||||||
frequency_min=923000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
910300000,
|
|
||||||
910500000,
|
|
||||||
910700000,
|
|
||||||
910900000,
|
|
||||||
911100000,
|
|
||||||
911300000,
|
|
||||||
911500000,
|
|
||||||
911700000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=911000000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="us915_6/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="us915_6/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="us915_6/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="US915"
|
|
||||||
frequency_min=923000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
911900000,
|
|
||||||
912100000,
|
|
||||||
912300000,
|
|
||||||
912500000,
|
|
||||||
912700000,
|
|
||||||
912900000,
|
|
||||||
913100000,
|
|
||||||
913300000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=912600000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -1,45 +0,0 @@
|
|||||||
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
|
|
||||||
# configuration example and documentation.
|
|
||||||
|
|
||||||
[integration.mqtt.auth.generic]
|
|
||||||
servers=["tcp://mosquitto:1883"]
|
|
||||||
username=""
|
|
||||||
password=""
|
|
||||||
|
|
||||||
[integration.mqtt]
|
|
||||||
event_topic_template="us915_7/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
|
||||||
state_topic_template="us915_7/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
|
||||||
command_topic_template="us915_7/gateway/{{ .GatewayID }}/command/#"
|
|
||||||
|
|
||||||
[backend]
|
|
||||||
type="basic_station"
|
|
||||||
|
|
||||||
[backend.basic_station]
|
|
||||||
bind=":3001"
|
|
||||||
tls_cert=""
|
|
||||||
tls_key=""
|
|
||||||
ca_cert=""
|
|
||||||
|
|
||||||
region="US915"
|
|
||||||
frequency_min=923000000
|
|
||||||
frequency_max=928000000
|
|
||||||
|
|
||||||
|
|
||||||
[[backend.basic_station.concentrators]]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.multi_sf]
|
|
||||||
frequencies=[
|
|
||||||
913500000,
|
|
||||||
913700000,
|
|
||||||
913900000,
|
|
||||||
914100000,
|
|
||||||
914300000,
|
|
||||||
914500000,
|
|
||||||
914700000,
|
|
||||||
914900000,
|
|
||||||
]
|
|
||||||
|
|
||||||
[backend.basic_station.concentrators.lora_std]
|
|
||||||
frequency=914200000
|
|
||||||
bandwidth=500000
|
|
||||||
spreading_factor=8
|
|
@ -5,3 +5,8 @@
|
|||||||
servers=["tcp://mosquitto:1883"]
|
servers=["tcp://mosquitto:1883"]
|
||||||
username=""
|
username=""
|
||||||
password=""
|
password=""
|
||||||
|
|
||||||
|
[integration.mqtt]
|
||||||
|
event_topic_template="eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
|
||||||
|
state_topic_template="eu868/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
|
||||||
|
command_topic_template="eu868/gateway/{{ .GatewayID }}/command/#"
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AS923 configuration.
|
# This file contains an example AS923 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="as923"
|
name="as923"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AS923"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="as923/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="as923/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="as923"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -195,7 +185,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=3
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AS923_2 configuration.
|
# This file contains an example AS923_2 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="as923_2"
|
name="as923_2"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AS923-2"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="as923_2/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="as923_2/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="as923_2"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -195,7 +185,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=3
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AS923_3 configuration.
|
# This file contains an example AS923_3 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="as923_3"
|
name="as923_3"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AS923-3"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="as923_3/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="as923_3/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="as923_3"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -195,7 +185,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=3
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AS923_4 configuration.
|
# This file contains an example AS923_4 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="as923_4"
|
name="as923_4"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AS923-4"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="as923_4/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="as923_4/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="as923_4"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -195,7 +185,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=3
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AU915 example (channels 0-7 + 64).
|
# This file contains an example AU915 example (channels 0-7 + 64).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="au915_0"
|
name="au915_0"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AU915 (channels 0-7 + 64)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="au915_0/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="au915_0/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="au915_0"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AU915 example (channels 8-15 + 65).
|
# This file contains an example AU915 example (channels 8-15 + 65).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="au915_1"
|
name="au915_1"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AU915 (channels 8-15 + 65)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="au915_1/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="au915_1/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="au915_1"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AU915 example (channels 16-23 + 66).
|
# This file contains an example AU915 example (channels 16-23 + 66).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="au915_2"
|
name="au915_2"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AU915 (channels 16-23 + 65)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="au915_2/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="au915_2/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="au915_2"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AU915 example (channels 24-31 + 67).
|
# This file contains an example AU915 example (channels 24-31 + 67).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="au915_3"
|
name="au915_3"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AU915 (channels 24-31 + 67)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="au915_3/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="au915_3/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="au915_3"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AU915 example (channels 32-39 + 68).
|
# This file contains an example AU915 example (channels 32-39 + 68).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="au915_4"
|
name="au915_4"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AU915 (channels 32-39 + 68)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="au915_4/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="au915_4/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="au915_4"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AU915 example (channels 40-47 + 69).
|
# This file contains an example AU915 example (channels 40-47 + 69).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="au915_5"
|
name="au915_5"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AU915 (channels 40-47 + 69)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="au915_5/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="au915_5/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="au915_5"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AU915 example (channels 48-55 + 70).
|
# This file contains an example AU915 example (channels 48-55 + 70).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="au915_6"
|
name="au915_6"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AU915 (channels 48-55 + 70)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="au915_6/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="au915_6/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="au915_6"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example AU915 example (channels 56-63 + 71).
|
# This file contains an example AU915 example (channels 56-63 + 71).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="au915_7"
|
name="au915_7"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="AU915 (channels 56-63 + 71)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="au915_7/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="au915_7/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="au915_7"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -15,10 +15,11 @@
|
|||||||
# Format example: postgres://<USERNAME>:<PASSWORD>@<HOSTNAME>/<DATABASE>?sslmode=<SSLMODE>.
|
# Format example: postgres://<USERNAME>:<PASSWORD>@<HOSTNAME>/<DATABASE>?sslmode=<SSLMODE>.
|
||||||
#
|
#
|
||||||
# SSL mode options:
|
# SSL mode options:
|
||||||
# * disable - Do not use TLS
|
# * disable - no SSL
|
||||||
# * prefer - Attempt to connect with TLS but allow sessions without
|
# * require - Always SSL (skip verification)
|
||||||
# * require - Require the use of TLS
|
# * verify-ca - Always SSL (verify that the certificate presented by the server was signed by a trusted CA)
|
||||||
dsn="postgres://chirpstack:chirpstack@$POSTGRESQL_HOST/chirpstack?sslmode=disable"
|
# * 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@postgres/chirpstack?sslmode=disable"
|
||||||
|
|
||||||
# Max open connections.
|
# Max open connections.
|
||||||
#
|
#
|
||||||
@ -40,7 +41,7 @@
|
|||||||
#
|
#
|
||||||
# Set multiple addresses when connecting to a cluster.
|
# Set multiple addresses when connecting to a cluster.
|
||||||
servers=[
|
servers=[
|
||||||
"redis://$REDIS_HOST/",
|
"redis://redis/",
|
||||||
]
|
]
|
||||||
|
|
||||||
# TLS enabled.
|
# TLS enabled.
|
||||||
@ -69,7 +70,6 @@
|
|||||||
"as923_3",
|
"as923_3",
|
||||||
"as923_4",
|
"as923_4",
|
||||||
"au915_0",
|
"au915_0",
|
||||||
"cn470_10",
|
|
||||||
"cn779",
|
"cn779",
|
||||||
"eu433",
|
"eu433",
|
||||||
"eu868",
|
"eu868",
|
||||||
@ -97,9 +97,19 @@
|
|||||||
secret="you-must-replace-this"
|
secret="you-must-replace-this"
|
||||||
|
|
||||||
|
|
||||||
|
[gateway]
|
||||||
|
client_cert_lifetime="365days"
|
||||||
|
ca_cert="configuration/certs/ca.crt"
|
||||||
|
ca_key="configuration/certs/ca.key"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
enabled=["mqtt"]
|
enabled=["mqtt"]
|
||||||
|
|
||||||
[integration.mqtt]
|
[integration.mqtt]
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883/"
|
server="tcp://mosquitto:1883/"
|
||||||
json=true
|
json=true
|
||||||
|
|
||||||
|
[integration.mqtt.client]
|
||||||
|
client_cert_lifetime="365days"
|
||||||
|
ca_cert="configuration/certs/ca.crt"
|
||||||
|
ca_key="configuration/certs/ca.key"
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example CN779 configuration.
|
# This file contains an example CN779 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="cn779"
|
name="cn779"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN779"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="cn779/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="cn779/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="cn779"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -201,7 +191,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=3
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example EU433 configuration.
|
# This file contains an example EU433 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="eu433"
|
name="eu433"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="EU443"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="eu433/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="eu433/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="eu433"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -201,7 +191,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=3
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example EU868 configuration.
|
# This file contains an example EU868 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="eu868"
|
name="eu868"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="EU868"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="eu868/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="eu868/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="eu868"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -243,7 +233,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=3
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example IN865 configuration.
|
# This file contains an example IN865 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="in865"
|
name="in865"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="IN865"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="in865/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="in865/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="in865"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -201,7 +191,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=4
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example ISM2400 configuration.
|
# This file contains an example ISM2400 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="ism2400"
|
name="ism2400"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="ISM2400"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="ism2400/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="ism2400/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="ism2400"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example KR920 configuration.
|
# This file contains an example KR920 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="kr920"
|
name="kr920"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="KR920"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="kr920/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="kr920/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="kr920"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -201,7 +191,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=3
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 0-7).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_0"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 0-7)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=471700000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 8-15).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_1"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 8-15)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=473300000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 80-87).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_10"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 80-87)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=487700000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 88-95).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_11"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 88-95)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=489300000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 16-23).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_2"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 16-23)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=474900000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 24-31).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_3"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 24-31)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=476500000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 32-39).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_4"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 32-39)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=478100000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 40-47).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_5"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 40-47)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=479700000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 48-55).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_6"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 48-55)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=481300000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 56-63).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_7"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 56-63)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=482900000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 64-71).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_8"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 64-71)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=484500000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,247 +0,0 @@
|
|||||||
# This file contains an example CN470 example (channels 72-79).
|
|
||||||
[[regions]]
|
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
|
||||||
id="cn470_9"
|
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="CN470 (channels 72-79)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
|
||||||
# the LoRa Alliance.
|
|
||||||
common_name="CN470"
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway configuration.
|
|
||||||
[regions.gateway]
|
|
||||||
|
|
||||||
# Force gateways as private.
|
|
||||||
#
|
|
||||||
# If enabled, gateways can only be used by devices under the same tenant.
|
|
||||||
force_gws_private=false
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway backend configuration.
|
|
||||||
[regions.gateway.backend]
|
|
||||||
|
|
||||||
# The enabled backend type.
|
|
||||||
enabled="mqtt"
|
|
||||||
|
|
||||||
# MQTT configuration.
|
|
||||||
[regions.gateway.backend.mqtt]
|
|
||||||
|
|
||||||
# Topic prefix.
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
|
||||||
username=""
|
|
||||||
|
|
||||||
# Connect with the given password (optional)
|
|
||||||
password=""
|
|
||||||
|
|
||||||
# Quality of service level
|
|
||||||
#
|
|
||||||
# 0: at most once
|
|
||||||
# 1: at least once
|
|
||||||
# 2: exactly once
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# Keep alive interval.
|
|
||||||
#
|
|
||||||
# This defines the maximum time that that should pass without communication
|
|
||||||
# between the client and server.
|
|
||||||
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=""
|
|
||||||
|
|
||||||
# TLS certificate file (optional)
|
|
||||||
tls_cert=""
|
|
||||||
|
|
||||||
# TLS key file (optional)
|
|
||||||
tls_key=""
|
|
||||||
|
|
||||||
|
|
||||||
# Gateway channel configuration.
|
|
||||||
#
|
|
||||||
# Note: this configuration is only used in case the gateway is using the
|
|
||||||
# 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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
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]
|
|
||||||
|
|
||||||
[[regions.gateway.channels]]
|
|
||||||
frequency=486100000
|
|
||||||
bandwidth=125000
|
|
||||||
modulation="LORA"
|
|
||||||
spreading_factors=[7, 8, 9, 10, 11, 12]
|
|
||||||
|
|
||||||
|
|
||||||
# Region specific network configuration.
|
|
||||||
[regions.network]
|
|
||||||
|
|
||||||
# Installation margin (dB) used by the ADR engine.
|
|
||||||
#
|
|
||||||
# A higher number means that the network-server will keep more margin,
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# RX window (Class-A).
|
|
||||||
#
|
|
||||||
# Set this to:
|
|
||||||
# 0: RX1 / RX2
|
|
||||||
# 1: RX1 only
|
|
||||||
# 2: RX2 only
|
|
||||||
rx_window=0
|
|
||||||
|
|
||||||
# RX1 delay (1 - 15 seconds).
|
|
||||||
rx1_delay=1
|
|
||||||
|
|
||||||
# RX1 data-rate offset
|
|
||||||
rx1_dr_offset=0
|
|
||||||
|
|
||||||
# RX2 data-rate
|
|
||||||
rx2_dr=0
|
|
||||||
|
|
||||||
# RX2 frequency (Hz)
|
|
||||||
rx2_frequency=505300000
|
|
||||||
|
|
||||||
# Prefer RX2 on RX1 data-rate less than.
|
|
||||||
#
|
|
||||||
# Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Downlink TX Power (dBm)
|
|
||||||
#
|
|
||||||
# When set to -1, the downlink TX Power from the configured band will
|
|
||||||
# be used.
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# ADR is disabled.
|
|
||||||
adr_disabled=false
|
|
||||||
|
|
||||||
# Minimum data-rate.
|
|
||||||
min_dr=0
|
|
||||||
|
|
||||||
# Maximum data-rate.
|
|
||||||
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]
|
|
||||||
|
|
||||||
|
|
||||||
# Rejoin-request configuration (LoRaWAN 1.1)
|
|
||||||
[regions.network.rejoin_request]
|
|
||||||
|
|
||||||
# Request devices to periodically send rejoin-requests.
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Class-B configuration.
|
|
||||||
[regions.network.class_b]
|
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
|
||||||
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
|
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example RU864 configuration.
|
# This file contains an example RU864 configuration.
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an user-defined identifier for this region.
|
# Name is an user-defined identifier for this region.
|
||||||
id="ru864"
|
name="ru864"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="RU864"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="ru864/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="ru864/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="ru864"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
||||||
@ -195,7 +185,7 @@
|
|||||||
[regions.network.class_b]
|
[regions.network.class_b]
|
||||||
|
|
||||||
# Ping-slot data-rate.
|
# Ping-slot data-rate.
|
||||||
ping_slot_dr=3
|
ping_slot_dr=0
|
||||||
|
|
||||||
# Ping-slot frequency (Hz)
|
# Ping-slot frequency (Hz)
|
||||||
#
|
#
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example US915 example (channels 0-7 + 64).
|
# This file contains an example US915 example (channels 0-7 + 64).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="us915_0"
|
name="us915_0"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="US915 (channels 0-7 + 64)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="us915_0/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="us915_0/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="us915_0"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example US915 example (channels 8-15 + 65).
|
# This file contains an example US915 example (channels 8-15 + 65).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="us915_1"
|
name="us915_1"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="US915 (channels 8-15 + 65)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="us915_1/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="us915_1/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="us915_1"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example US915 example (channels 16-23 + 66).
|
# This file contains an example US915 example (channels 16-23 + 66).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="us915_2"
|
name="us915_2"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="US915 (channels 16-23 + 66)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="us915_2/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="us915_2/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="us915_2"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example US915 example (channels 24-31 + 67).
|
# This file contains an example US915 example (channels 24-31 + 67).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="us915_3"
|
name="us915_3"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="US915 (channels 24-31 + 67)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="us915_3/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="us915_3/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="us915_3"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example US915 example (channels 32-39 + 68).
|
# This file contains an example US915 example (channels 32-39 + 68).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="us915_4"
|
name="us915_4"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="US915 (channels 32-39 + 68)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="us915_4/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="us915_4/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="us915_4"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example US915 example (channels 40-47 + 69).
|
# This file contains an example US915 example (channels 40-47 + 69).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="us915_5"
|
name="us915_5"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="US915 (channels 40-47 + 69)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="us915_5/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="us915_5/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="us915_5"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example US915 example (channels 48-55 + 70).
|
# This file contains an example US915 example (channels 48-55 + 70).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="us915_6"
|
name="us915_6"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="US915 (channels 48-55 + 70)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="us915_6/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="us915_6/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="us915_6"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
@ -1,11 +1,8 @@
|
|||||||
# This file contains an example US915 example (channels 56-63 + 71).
|
# This file contains an example US915 example (channels 56-63 + 71).
|
||||||
[[regions]]
|
[[regions]]
|
||||||
|
|
||||||
# ID is an use-defined identifier for this region.
|
# Name is an use-defined identifier for this region.
|
||||||
id="us915_7"
|
name="us915_7"
|
||||||
|
|
||||||
# Description is a short description for this region.
|
|
||||||
description="US915 (channels 56-63 + 71)"
|
|
||||||
|
|
||||||
# Common-name refers to the common-name of this region as defined by
|
# Common-name refers to the common-name of this region as defined by
|
||||||
# the LoRa Alliance.
|
# the LoRa Alliance.
|
||||||
@ -30,15 +27,14 @@
|
|||||||
# MQTT configuration.
|
# MQTT configuration.
|
||||||
[regions.gateway.backend.mqtt]
|
[regions.gateway.backend.mqtt]
|
||||||
|
|
||||||
# Topic prefix.
|
# Event topic template.
|
||||||
#
|
event_topic="us915_7/gateway/+/event/+"
|
||||||
# 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
|
# Command topic template.
|
||||||
# '/' is automatically added to the prefix if it is configured.
|
command_topic="us915_7/gateway/{{ gateway_id }}/command/{{ command }}"
|
||||||
topic_prefix="us915_7"
|
|
||||||
|
|
||||||
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
|
||||||
server="tcp://$MQTT_BROKER_HOST:1883"
|
server="tcp://mosquitto:1883"
|
||||||
|
|
||||||
# Connect with the given username (optional)
|
# Connect with the given username (optional)
|
||||||
username=""
|
username=""
|
||||||
@ -61,21 +57,15 @@
|
|||||||
# Set the "clean session" flag in the connect message when this client
|
# Set the "clean session" flag in the connect message when this client
|
||||||
# connects to an MQTT broker. By setting this flag you are indicating
|
# 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.
|
# that no messages saved by the broker for this client should be delivered.
|
||||||
clean_session=false
|
clean_session=true
|
||||||
|
|
||||||
# Client ID
|
# Client ID
|
||||||
#
|
#
|
||||||
# Set the client id to be used by this client when connecting to the MQTT
|
# 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,
|
# broker. A client id must be no longer than 23 characters. When left blank,
|
||||||
# a random id will be generated by ChirpStack.
|
# a random id will be generated. This requires clean_session=true.
|
||||||
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"
|
|
||||||
|
|
||||||
# CA certificate file (optional)
|
# CA certificate file (optional)
|
||||||
#
|
#
|
||||||
# Use this when setting up a secure connection (when server uses ssl://...)
|
# Use this when setting up a secure connection (when server uses ssl://...)
|
7
configuration/postgresql/initdb/001-init-chirpstack.sh
Normal file
7
configuration/postgresql/initdb/001-init-chirpstack.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
|
||||||
|
create role chirpstack with login password 'chirpstack';
|
||||||
|
create database chirpstack with owner chirpstack;
|
||||||
|
EOSQL
|
2
configuration/postgresql/initdb/001-chirpstack_extensions.sh → configuration/postgresql/initdb/002-chirpstack_extensions.sh
Executable file → Normal file
2
configuration/postgresql/initdb/001-chirpstack_extensions.sh → configuration/postgresql/initdb/002-chirpstack_extensions.sh
Executable file → Normal file
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname="$POSTGRES_DB" <<-EOSQL
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname="chirpstack" <<-EOSQL
|
||||||
create extension pg_trgm;
|
create extension pg_trgm;
|
||||||
create extension hstore;
|
create extension hstore;
|
||||||
EOSQL
|
EOSQL
|
@ -1,80 +1,48 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
chirpstack:
|
chirpstack:
|
||||||
image: chirpstack/chirpstack:4
|
image: chirpstack/chirpstack:4.0.0-test.12
|
||||||
command: -c /etc/chirpstack
|
command: -c /etc/chirpstack
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/chirpstack:/etc/chirpstack
|
- ./configuration/chirpstack:/etc/chirpstack
|
||||||
|
- ./lorawan-devices:/opt/lorawan-devices
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
- mosquitto
|
- mosquitto
|
||||||
- redis
|
- redis
|
||||||
environment:
|
|
||||||
- MQTT_BROKER_HOST=mosquitto
|
|
||||||
- REDIS_HOST=redis
|
|
||||||
- POSTGRESQL_HOST=postgres
|
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- 8080:8080
|
||||||
|
|
||||||
chirpstack-gateway-bridge:
|
chirpstack-gateway-bridge-eu868:
|
||||||
image: chirpstack/chirpstack-gateway-bridge:4
|
image: chirpstack/chirpstack-gateway-bridge:3
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
ports:
|
||||||
- "1700:1700/udp"
|
- 1700:1700/udp
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
||||||
environment:
|
depends_on:
|
||||||
- INTEGRATION__MQTT__EVENT_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}
|
|
||||||
- INTEGRATION__MQTT__STATE_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/state/{{ .StateType }}
|
|
||||||
- INTEGRATION__MQTT__COMMAND_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/command/#
|
|
||||||
depends_on:
|
|
||||||
- mosquitto
|
- mosquitto
|
||||||
|
|
||||||
chirpstack-gateway-bridge-basicstation:
|
|
||||||
image: chirpstack/chirpstack-gateway-bridge:4
|
|
||||||
restart: unless-stopped
|
|
||||||
command: -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge-basicstation-eu868.toml
|
|
||||||
ports:
|
|
||||||
- "3001:3001"
|
|
||||||
volumes:
|
|
||||||
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
|
||||||
depends_on:
|
|
||||||
- mosquitto
|
|
||||||
|
|
||||||
chirpstack-rest-api:
|
|
||||||
image: chirpstack/chirpstack-rest-api:4
|
|
||||||
restart: unless-stopped
|
|
||||||
command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure
|
|
||||||
ports:
|
|
||||||
- "8090:8090"
|
|
||||||
depends_on:
|
|
||||||
- chirpstack
|
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:14-alpine
|
image: postgres:11-alpine
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
||||||
- postgresqldata:/var/lib/postgresql/data
|
- postgresqldata:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=chirpstack
|
- POSTGRES_PASSWORD=root
|
||||||
- POSTGRES_PASSWORD=chirpstack
|
|
||||||
- POSTGRES_DB=chirpstack
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:6-alpine
|
||||||
restart: unless-stopped
|
|
||||||
command: redis-server --save 300 1 --save 60 100 --appendonly no
|
|
||||||
volumes:
|
volumes:
|
||||||
- redisdata:/data
|
- redisdata:/data
|
||||||
|
|
||||||
mosquitto:
|
mosquitto:
|
||||||
image: eclipse-mosquitto:2
|
image: eclipse-mosquitto:2
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
ports:
|
||||||
- "1883:1883"
|
- 1883:1883
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/mosquitto/config/:/mosquitto/config/
|
- ./configuration/eclipse-mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgresqldata:
|
postgresqldata:
|
||||||
|
Loading…
Reference in New Issue
Block a user