chirpstack-udp-forwarder
所属分类:网络编程
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2023-10-27 14:35:19
上 传 者:
sh-1993
说明: ChirpStack集中器的UDP数据包转发器。,
(UDP packet-forwarder for the ChirpStack Concentratord.,)
文件列表:
.cargo/ (0, 2023-12-07)
.cargo/config.toml (147, 2023-12-07)
.dockerignore (17, 2023-12-07)
Cargo.lock (35371, 2023-12-07)
Cargo.toml (874, 2023-12-07)
Dockerfile-devel (106, 2023-12-07)
LICENSE (1079, 2023-12-07)
Makefile (412, 2023-12-07)
docker-compose.yml (165, 2023-12-07)
rust-toolchain.toml (86, 2023-12-07)
shell.nix (189, 2023-12-07)
src/ (0, 2023-12-07)
src/commands.rs (349, 2023-12-07)
src/config.rs (2254, 2023-12-07)
src/events.rs (2447, 2023-12-07)
src/forwarder.rs (17517, 2023-12-07)
src/helpers.rs (729, 2023-12-07)
src/logging.rs (792, 2023-12-07)
src/main.rs (2112, 2023-12-07)
src/metrics.rs (3941, 2023-12-07)
src/signals.rs (560, 2023-12-07)
src/socket.rs (127, 2023-12-07)
src/structs.rs (37152, 2023-12-07)
# ChirpStack UDP Forwarder
The ChirpStack UDP Forwarder is an UDP forwarder for the [ChirpStack Concentratord](https://www.chirpstack.io/docs/chirpstack-concentratord/index.html)
and is compatible with the [Semtech UDP protocol](https://github.com/Lora-net/packet_forwarder/blob/master/PROTOCOL.TXT).
## Configuration
Configuration example:
```toml
# UDP Forwarder configuration.
[udp_forwarder]
# Log level.
#
# Valid options are:
# * TRACE
# * DEBUG
# * INFO
# * WARN
# * ERROR
# * OFF
log_level="INFO"
# Log to syslog.
#
# When set to true, log messages are being written to syslog instead of stdout.
log_to_syslog=false
# Prometheus metrics bind.
#
# E.g. '0.0.0.0:9800', leave blank to disable the metrics endpoint.
metrics_bind="0.0.0.0:9800"
# Servers to forward the data to using UDP.
# This section can be repeated.
[[udp_forwarder.servers]]
# Server (hostname:port).
server="localhost:1700"
# Keepalive interval (seconds).
#
# In this interval, the ChirpStack UDP Forwarder will send keepalive
# frames to the server, which must be answered by an acknowledgement.
keepalive_interval_secs=10
# Max. allowed keepalive failures.
#
# After the max. number has been reached, the ChirpStack UDP Forwarder will
# 're-connect' to the server, meaning it will also re-resolve the DNS in case
# the server address is a hostname.
keepalive_max_failures=12
# Forward CRC OK.
forward_crc_ok=true
# Forward CRC invalid.
forward_crc_invalid=false
# Forward CRC missing.
forward_crc_missing=false
# Concentratord configuration.
[concentratord]
# Event API URL.
event_url="ipc:///tmp/concentratord_event"
# Command API URL.
command_url="ipc:///tmp/concentratord_command"
```
## Links
* [ChirpStack homepage](https://www.chirpstack.io/)
## License
ChirpStack UDP Forwarder is distributed under the MIT license. See
[LICENSE](https://github.com/brocaar/chirpstack-udp-bridge/blob/master/LICENSE).
近期下载者:
相关文件:
收藏者: