I did all the following configurations and my Gateway appears as Never Seen:
APPLICATION SERVER:
[postgresql]
dsn="postgres://chirpstack_as:dbpassword@localhost/chirpstack_as?sslmode=disable"
[redis]
url="redis://localhost:6379"
[application_server]
[application_server.integration]
marshaler="json_v3"
enabled=["mqtt"]
[application_server.integration.mqtt]
event_topic_template="application/{{ .ApplicationID }}/device/{{ .DevEUI }}/event/{{ .EventType }}"
command_topic_template="application/{{ .ApplicationID }}/device/{{ .DevEUI }}/command/{{ .CommandType }}"
server="tcp://localhost:1883"
username=""
password=""
[application_server.api]
bind="0.0.0.0:8001"
public_host="localhost:8001"
[application_server.external_api]
bind="0.0.0.0:8081"
tls_cert=""
tls_key=""
jwt_secret="6Hzv3v2X2uTNwAOXLDfnkNCG7WWMQRhUB1e24kWzHww="
[gateway]
enable_discovery = true
[join_server]
bind="0.0.0.0:8003"
NETWORK SERVER:
[postgresql]
sn="postgres://chirpstack_ns:dbpassword@localhost/chirpstack_ns?sslmode=disable"
url="redis://localhost:6379"
[network_server]
net_id="000000"
[network_server.band]
name="US915"
[network_server.network_settings]
[network_server.network_settings.class_b]
ping_slot_dr=0
ping_slot_frequency=0
[network_server.api]
bind="0.0.0.0:8000"
[network_server.gateway.backend]
type="mqtt"
[network_server.gateway.backend.mqtt]
event_topic="gateway/+/event/+"
command_topic_template="gateway/{{ .GatewayID }}/command/{{ .CommandType }}"
server="tcp://localhost:1883"
username=""
password=""
[metrics]
timezone="Local"
[join_server]
[join_server.default]
server=http://localhost:8003
BRIDGE:
[backend]
type="semtech_udp"
[backend.semtech_udp]
udp_bind = "localhost:1700"
[integration]
marshaler="protobuf"
[integration.mqtt]
event_topic_template="us915_1/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
command_topic_template="us915_1/gateway/{{ .GatewayID }}/command/#"
[integration.mqtt.auth]
type="generic"
[integration.mqtt.auth.generic]
server="tcp://localhost:1883"
SETUP: /etc/chirpstack/chirpstack.toml
[logging]
level = "info"
[postgresql]
dsn = "postgres://chirpstack:chirpstack@localhost/chirpstack?sslmode=disable"
max_open_connections = 10
min_idle_connections = 0
[redis]
servers = ["redis://localhost/"]
cluster = false
[network]
net_id = "000000"
enabled_regions = [
# "as923",
# "as923_2",
# "as923_3",
# "as923_4",
# "au915_0",
# "cn470_10",
# "cn779",
"us915_1",
]
[api]
bind = "0.0.0.0:8080"
secret = "1005"
[integration]
enabled = ["mqtt"]
[integration.mqtt]
server = "tcp://localhost:1883"
json = true
PACKET FORWARDER:
[logging]
level="info"
log_to_syslog=false
[backend]
enabled="semtech_udp"
[backend.filters]
forward_crc_ok=true
forward_crc_invalid=false
forward_crc_missing=false
dev_addr_prefixes=[
]
join_eui_prefixes=[
]
[backend.semtech_udp]
bind="0.0.0.0:1700"
time_fallback_enabled=false
[metadata]
[metadata.static]
serial_number="lps8I431593"
# Executable commands.
[commands]
reboot=["/usr/bin/reboot"]
[mqtt]
topic_prefix="us915"
json=false
server="tcp://192.168.208:1883"
username=""
password=""
qos=0
clean_session=false
client_id=""
ca_cert=""
tls_cert=""
tls_key=""
My Gateway in the Chirpstack Application appears like this:
My configuration in Network-Servers is the following:
And my configuration for Service-Profile is the following: