chirpstack / chirpstack-gateway-bridge

ChirpStack Gateway Bridge abstracts Packet Forwarder protocols into Protobuf or JSON over MQTT.
https://www.chirpstack.io
MIT License
422 stars 270 forks source link

lora-gateway-bridge not publishing rxpk to mosquitto #137

Closed ehong-tl closed 4 years ago

ehong-tl commented 4 years ago

Is this a bug or a feature request?

Bug?

What did you expect?

lora-bridge-gateway to publish rxpk to mosquitto when received from packet-forwarder.

What happened?

lora-bridge-gateway can receive rxpk from packet-forwarder, but it does not publish it to mosquitto.

What version are your using?

3.3.0

How can your issue be reproduced?

Both the lora-gateway-bridge and mosquitto are setup on the same server. The lora-gateway-bridge won't publish rxpk to mosquitto every time the packet is forwarded by the packet-forwarder.

Could you share your log output?

Mosquitto output in terminal Screenshot_2019-10-10_16-34-58

lora-gateway-bridge output in terminal Screenshot_2019-10-10_16-36-15

ehong-tl commented 4 years ago

Fixed the issue.

The stat in rxpk cannot be 0 when the skip_crc_check in the lora-gateway-bridge config is false.