UniCT-ARSLab / LWN-Simulator

A LoRaWAN nodes' and network simulator that works with a real LoRaWAN environment (such as Chirpstack) and equipped with a web interface for real-time interaction.
MIT License
81 stars 50 forks source link

Issue with timestamp on real gateway. #32

Open thiagorod opened 5 months ago

thiagorod commented 5 months ago

Hello, I´m using the simulator with a real gateway (Raspberry Pi based with SEMTECH packet forwarder) and I´m getting the error below during JOIN procedure (response from gateway):

JSON down: {"txpk":{"powe":14,"imme":false,"tmst":1720347887,"codr":"4/5","datr":"SF12BW125","freq":434.665,"modu":"LORA","rfch":0,"ipol":true,"size":17,"data":"IOQR2FI5nM79GpmgfqD6BWk="}} src/jitqueue.c:251:jit_enqueue(): ERROR: Packet REJECTED, timestamp seems wrong, too much in advance (current=491697203, packet=1720347887, type=0) ERROR: Packet REJECTED (jit error=2)

And the node never joins. The clocks are correct. I´m out of ideas.