chirpstack / chirpstack-gateway-bridge

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

dual antenna support (Kerlink protocol version) added #45

Closed finnoliver closed 6 years ago

finnoliver commented 7 years ago

Hi Brocaar, I made this little patch for myself. Maybe you want to take a look at it. It seems to be working fine for me.

brocaar commented 6 years ago

Sorry for getting back so late on this, I didn't have a gateway to test (now I have) and I wasn't sure what the best way would be to implement this. I will implement this in a slightly different way, so that LoRa Gateway Bridge will publish the payload for each antenna. That way, all antenna data will be visible instead of just the best receiving antenna. Then it is up to the network-server to decide which antenna to use for the downlink.

brocaar commented 6 years ago

See https://github.com/brocaar/lora-gateway-bridge/pull/68.