Hi,
i’ve installed the lora-gateway-os-base
on raspberry pi3 with IMST - iC880A gateway.
I’ve created an google account device with id “gw-mygateway id”
i’ve created an IAM google account to connect loraserver (running in an other raspberry),
both lora-gateway-bridge and the loraserver connect correctly to the mqtt server google.
I see the gateway connected by the lora-server-app.
When I try to connect a device to the gateway it does not connect; in live lora lorawan frames i see (IN LOOP):
DOWNLINK JoinAccept
UPLINK JoinRequest
DOWNLINK JoinAccept
UPLINK JoinRequest
DOWNLINK JoinAccept
UPLINK JoinRequest
I’ve created a downlink Cloud Function to redirect data to the gateway; it seems to work correctly because the lora-gateway-bridge receives the data, but the lora gateway-bridge does not find the gateway, this is the output:
INFO[1084] mqtt: gateway configuration received topic=/devices/gw-
b827ebfffef8378d/commands/config
ERRO[1084] apply packet-forwarder configuration error error="gateway does not exist"
INFO[1089] mqtt: publishing message qos=0 topic=/devices/gw-
b827ebfffef8378d/events/up
INFO[1090] mqtt: downlink frame received topic=/devices/gw-
b827ebfffef8378d/commands/down
INFO[1097] mqtt: publishing message qos=0 topic=/devices/gw-
b827ebfffef8378d/events/up
INFO[1098] mqtt: downlink frame received topic=/devices/gw-
b827ebfffef8378d/commands/down
INFO[1113] mqtt: publishing message qos=0 topic=/devices/gw-
b827ebfffef8378d/events/stats
INFO[1114] mqtt: gateway configuration received topic=/devices/gw -
b827ebfffef8378d/commands/config
ERRO[1114] apply packet-forwarder configuration error error="gateway does not exist"
INFO[1143] mqtt: publishing message qos=0 topic=/devices/gw-
b827ebfffef8378d/events/stats
INFO[1144] mqtt: gateway configuration received topic=/devices/gw-
b827ebfffef8378d/commands/config
ERRO[1144] apply packet-forwarder configuration error error="gateway does not exist"
INFO[1174] mqtt: publishing message qos=0 topic=/devices/gw-
b827ebfffef8378d/events/stats
INFO[1175] mqtt: gateway configuration received topic=/devices/gw-
b827ebfffef8378d/commands/config
ERRO[1175] apply packet-forwarder configuration error error="gateway does not exist"
INFO[1179] mqtt: publishing message qos=0 topic=/devices/gw-
b827ebfffef8378d/events/up
INFO[1179] mqtt: downlink frame received topic=/devices/gw-
b827ebfffef8378d/commands/down
INFO[1186] mqtt: publishing message qos=0 topic=/devices/gw-
b827ebfffef8378d/events/up
INFO[1186] mqtt: downlink frame received topic=/devices/gw-
b827ebfffef8378d/commands/down
Someone can tell me a solution.
Thanks.