Hi,
We are migrating from Chirpstack v3 to Chirpstack v4 and we need Chirpstack Gateway Bridge to handle UDP Packet from Gateways (the next stage is to embed MQTT forwarder in the gateways).
We faced some difficulties to configure the gateway bridge because of event_topic_template and command_topic_template.
The default values in the toml configuration file are :
# MQTT integration configuration.
[integration.mqtt]
# Event topic template.
event_topic_template="gateway/{{ .GatewayID }}/event/{{ .EventType }}"
# State topic template.
#
# States are sent by the gateway as retained MQTT messages (by default)
# so that the last message will be stored by the MQTT broker. When set to
# a blank string, this feature will be disabled. This feature is only
# supported when using the generic authentication type.
state_topic_template="gateway/{{ .GatewayID }}/state/{{ .StateType }}"
# Command topic template.
command_topic_template="gateway/{{ .GatewayID }}/command/#"
The gateways seems to not be seen until the following modification :
[integration.mqtt]
event_topic_template="eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
command_topic_template="eu868/gateway/{{ .GatewayID }}/command/#"
I found this tip from here : https://www.chirpstack.io/docs/getting-started/debian-ubuntu.html#configuration
Maybe I miss something in the documentation.
Thanks for the help.
Regards