Skip to content

UDP packet-forwarder for the ChirpStack Concentratord.

License

Notifications You must be signed in to change notification settings

Wifx/chirpstack-udp-forwarder

 
 

Repository files navigation

ChirpStack UDP Forwarder

The ChirpStack UDP Forwarder is an UDP forwarder for the ChirpStack Concentratord and is compatible with the Semtech UDP protocol.

Configuration

Configuration example:

# 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

License

ChirpStack UDP Forwarder is distributed under the MIT license. See LICENSE.

About

UDP packet-forwarder for the ChirpStack Concentratord.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.2%
  • Makefile 0.8%