Lora-net / sx1302_hal

SX1302/SX1303 Hardware Abstraction Layer and Tools (packet forwarder...)
Other
219 stars 272 forks source link

Same uplink but two rxpk #48

Closed emanuele-dedonatis closed 3 years ago

emanuele-dedonatis commented 3 years ago

I'm using a SX1302C868GW1 and trying different devices (STM B-L072Z-LRWAN1 with LoRaMAC-node too) but most of the time the gateway is sending to the LNS two rxpk with different frequencies for the same uplink.

JSON up: {"rxpk":[{"jver":1,"tmst":1087514388,"chan":4,"rfch":0,"freq":867.300000,"mid": 1,"stat":1,"modu":"LORA","datr":"SF12BW125","codr":"4/5","rssis":-110,"lsnr":-11.0,"foff":-1732,"rssi":-100,"size":23,"data":"QPk1ASYAAQDLeGWe3Vtlz/jFaY8ZpnA="},{"jver":1,"tmst":1087514390,"chan":1,"rfch":1,"freq":868.300000,"mid": 0,"stat":1,"modu":"LORA","datr":"SF12BW125","codr":"4/5","rssis":-35,"lsnr":11.0,"foff":-1733,"rssi":-35,"size":23,"data":"QPk1ASYAAQDLeGWe3Vtlz/jFaY8ZpnA="}]}

Is it something related to the radio configuration? I'm using _globalconf.json.sx1250.EU868

emanuele-dedonatis commented 3 years ago

Just found the issue: it happens when the device is too close to the gateway

wong-hao commented 3 years ago

I have had the same problem.

The answer to most forums is too close.