-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Ultra slow speeds #24
Comments
BTW, data_rate is in bits per second, not bytes per seconds. Turning off auto-ack will most definitely cause data loss, especially for that much data being streamed so quickly. |
I can tell by the code you posted, you're using the speed boost included with v2.0.0. I'm sorry, but if you're looking for speed, then python isn't your best friend. Try using TMRh20's RF24 library, which is much faster because its written in C++ (comes also with a python wrapper that is just as fast as C++). I recently (& coincidentally) made a refactoring change (on my dev branch) that would allow passing in whatever In short, I think this library is starting to outgrow just circuitpython. In the future I may be able to support the popular |
update from my dev branch testing: I've been testing the library on RPi2 and RPi4 using These results are from a modified version of
|
Problem
I am aware of nrf240L1+ module is capable of 2mb/s speeds and I pretty sure both of my raspberry pi's on each end can handle them, but the actual transfer time is 40 minutes to send a 2.6Mb file. Could this be faster in some way, what am I missing?
How
I'm trying to stream an image from one NRF240L+ module to another and the current setup is only a couple of meters apart pointing directly at each other. I am using your example (nrf24l01_stream_test) which I've modified in the following manner:
This is working with some data loss and image disruption which is precisely what I need. I tried manually setting the speed to 2Mb/s and turning off auto_ack but it had no noticeable effect.
Transmission log
Code
make_buffers()
slave()
The text was updated successfully, but these errors were encountered: