-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log is report always rx1 downlink #487
Comments
The gateway-rs code sends at whatever the LNS says to send at. The code here: https://github.com/helium/gateway-rs/blob/main/src/gateway.rs#L311-L330 shows that gwrs sends at rx1 first if available and then if it can't it sees if there's an rx2 window set and uses that to try the rx2 downlink. How are you seeing that the gateway sends rx2? Nothing in the log there indicates that it is.. if so perhaps your semtech packet forwarder isn't set up right? |
Hello, thanks for the answer and the heads up to the code. I know it because
Sorry I don't understand rust :( So, if I understood right. The LNS is at fault? Node receives the downlink. To me, it's only a grammar mistake, not an operational mistake. The weird part is that the frequency is right, but the RX number is wrong. |
The code is going by what the HPR and LNS tell it to do and log rx1 vs rx2 appropriately.. maybe @lthiery can help explain what the lower level code does here? I'm missing something |
From a GWMP / Semtech-UDP perspective, I think we're just getting validation of RX2 window is being used. I think as @clavisound says
That is to say, the message the LNS is sending to gateway-rs (is it a protobuf? I don't have the msg definition handy) is basically putting the RF characteristics of RX2 into the messages slot for RX1. It's good that it "works", however, RX1 is usually more efficient for everyone involved if it can be leveraged. Is the LNS intentionally sending on RX2 only (and just shoving it in the RX1 definition in the message to gateway-rs) or is there RX1 being skipped by accident? |
Hello there.
My node sends at SF9. The gateway sends at RX2 window with SF12 but helium-gateway.log says RX1 downlink.
I have data-only hotspot.
The text was updated successfully, but these errors were encountered: