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

fake rxInfo.Time if empty #108

Closed comet-GmbH closed 5 years ago

comet-GmbH commented 5 years ago

The Semtech packet-forwarder does not fill up the time and tmms fields if the gateway has no GPS.

Does nobody want to get a receive-time ?

This patch is for setting the time from system-time if it is empty. A configuration flag is included to control behavior. Should work on V2 + V3.

Something wrong ?

comet-GmbH commented 5 years ago

Travis CI build stopped with timeout. Don't know how to restart.

My own build exited gracefully. https://travis-ci.org/comet-GmbH/lora-gateway-bridge/builds/507353263