-
Notifications
You must be signed in to change notification settings - Fork 12
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
Downlinks working ? #4
Comments
Hello, @nicolasdauy , There are plans to implement the downlink functionality, but I don't know when that's going to happen. (Currently I am trying to enhance some details of the receiving process at the hardware level and maybe after that I'll be able to start working on the downlinks.) |
Ok, well I am looking forward to try this functionality when it will be out
:) Thanks for your work.
I don't know how far this is related to your project, but I found
https://github.com/bokse001/dual_chan_pkt_fwd/tree/dual_chan_pkt_fwd_up_down
which
implements downlink, but it is not working for the Orange Pi.
Kind regards,
Nico
-
|
Hi, I see that you updated the description 👍 Is it ok for testing ? |
Hi @Di-Ny , I am still validating the changes (hence didn't update this ticket), but you are welcome to give them a try :) |
So I could give a try on the latest commit. On the server side it seems to work, it receives the data, and the dowlinks with a success! At that point it seems promising :)
If I understand the single channel gateway I should focus only on RX1 right ? There is no RX2 on the 869.525MHz. |
Timing issues could be the most likely reason for not receiving downlinks. Currently I am investigating how much of them may be caused by the forwarder. |
Ok now it works, sometimes :)
I think my Chirpstack server is responsible for scheduling the downlink. Maybe this is a CPU priority issue. Is there any way to increase yet the priority? For now it consumes only 10-14% of CPU load, I could go up to 20-25% no problem. |
The "sometimes" is totally expected, because it's just a single transceiver, and hence I doubt switching to SX1262 will make any difference. What's interesting though is the OTAA's "no more receive the messages afterwards", which should not happen. If the node is transmitting immediately after joining there's some change for the uplink to be missed by the gateway, but the next transmissions should have been captured. I'll have to investigate... Regarding the "Invalid time scheduled messages" - so far I've seen 2 major reasons for them - either the Chirpstack / TTN server is scheduling with delay (so far I've seen it only on TTNv3 for EU_433), or the packet forwarder didn't process them in time. For the latter reason, which is common, the mitigation options are limited. The packet forwarder's execution priority is already real-time, just a smidgen below the maximum allowed in order to not interfere with the OS' tasks. (In root mode tools like Increasing the CPU utilisation by patching the code may help a little, but that's not guaranteed, Another possible tweak with a very minuscule effect, would be increasing the |
Hi,
Your package is a lifesaver as very few thing work on OrangePi out of the box. But it seems that there is no downlinks receives. I don't know if it receives Ack either. Can you confirm ?
Kind regrdas, Nicolas
The text was updated successfully, but these errors were encountered: