Hi there!
I’ve just updated to 3.0. Everything is working as expected except for gateway configuration.
I’m using TTN packet forwarder with these settings:
type="semtech_udp"
# Semtech UDP packet-forwarder backend.
[backend.semtech_udp]
udp_bind = "0.0.0.0:1700"
skip_crc_check = false
fake_rx_time=true
gateway_id="b827ebfffe01adba"
base_file="/opt/ttn-gateway/bin/global_conf.json"
output_file="/opt/ttn-gateway/bin/local_conf.json"
restart_command="sudo systemctl restart ttn-gateway"
The gateway_id
field I assume is the same as it was for mac
.
These are the logs I get:
may 24 15:38:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:38:31-03:00" level=info msg="integration/mqtt: gateway configuration received" topic=gateway/b827ebfffe01adba/command/config
may 24 15:38:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:38:31-03:00" level=error msg="apply gateway-configuration error" error="gateway does not exist"
may 24 15:38:43 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:38:43-03:00" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/b827ebfffe01adba/event/up
may 24 15:38:44 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:38:44-03:00" level=info msg="integration/mqtt: downlink frame received" topic=gateway/b827ebfffe01adba/command/down
may 24 15:39:01 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:01-03:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 topic=gateway/b827ebfffe01adba/event/stats
may 24 15:39:01 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:01-03:00" level=info msg="integration/mqtt: gateway configuration received" topic=gateway/b827ebfffe01adba/command/config
may 24 15:39:01 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:01-03:00" level=error msg="apply gateway-configuration error" error="gateway does not exist"
may 24 15:39:12 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:12-03:00" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/b827ebfffe01adba/event/up
may 24 15:39:12 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:12-03:00" level=info msg="integration/mqtt: downlink frame received" topic=gateway/b827ebfffe01adba/command/down
may 24 15:39:24 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:24-03:00" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/b827ebfffe01adba/event/up
may 24 15:39:25 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:25-03:00" level=info msg="integration/mqtt: downlink frame received" topic=gateway/b827ebfffe01adba/command/down
may 24 15:39:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:31-03:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 topic=gateway/b827ebfffe01adba/event/stats
may 24 15:39:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:31-03:00" level=info msg="integration/mqtt: gateway configuration received" topic=gateway/b827ebfffe01adba/command/config
may 24 15:39:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:31-03:00" level=error msg="apply gateway-configuration error" error="gateway does not exist"
Both the topic structure and gateway ID apperars to be fine.
Am I missing something?
Thanks in advance!