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 272 forks source link

sx1302 fine timestamp shows NONE #193

Closed sagar-patel-sls closed 3 years ago

sagar-patel-sls commented 3 years ago

What happened?

https://github.com/Lora-net/sx1302_hal we are using sx1302_hal for our Semtech v2 gateway but we are not getting FineTimeStamp.

Please find below our packet forwarder rxpklogs. Packet Forwarder sending fine timestamp in ftime property.

Could you share your log output?

{
  "rxpk": [
    {
      "jver": 1,
      "tmst": 61957276,
      "time": "2021-06-03T12:30:13.998891Z",
      "tmms": 1306758632999,
      "ftime": 286852861,
      "chan": 2,
      "rfch": 1,
      "freq": 865.985,
      "mid": 1,
      "stat": 1,
      "modu": "LORA",
      "datr": "SF12BW125",
      "codr": "4/5",
      "rssis": -115,
      "lsnr": 1.5,
      "foff": 11527,
      "rssi": -113,
      "size": 37,
      "data": "QC9PxwEAAwACjIh/7i3tan9C0TB+RTEMPAuJxCcbWnKF/t+tEw=="
    }
  ]
}

sx1302-gw-logs

Your Environment

Component Version
Application Server v3.15.0
Network Server v3.13.0
Gateway Bridge v3.11.0
brocaar commented 3 years ago

The above commit adds the parsing of the ftime field. Could you confirm if this solves your issue?