Skip to content
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

interoperability with tmrh20 RF24 library on NRF24L01 #1

Open
zerog2k opened this issue Nov 16, 2017 · 2 comments
Open

interoperability with tmrh20 RF24 library on NRF24L01 #1

zerog2k opened this issue Nov 16, 2017 · 2 comments

Comments

@zerog2k
Copy link

zerog2k commented Nov 16, 2017

Just some thanks for this.
And some notes, hopefully helpful to anyone else trying to use this.

Took me some time to figure out that:

  • radio.esb() mode seems to only work with RF24::enableDynamicPayloads()
  • radio.sb() mode seems to only work with DPL disabled, which is default.
  • no matter what, couldn't find settings on RF24 where sniff on the microbit which would work reliably.

With that said, using esb or sb mode works quite well for me.
Using it as a rapid prototyping end for debugging with another project:
https://github.com/zerog2k/rcxr01

Hopefully will be much easier - mainly faster - to develop than coding on nrf24lu1, or nrf24l01+ attached to rpi & pynrf24.

With this said, I do have a question.
Is there a way to get an entire "packet" at a time, or detect that one is completed, rather than simply polling a next type of iterator like receive bytes?

@zerog2k
Copy link
Author

zerog2k commented Nov 17, 2017

ahh disregard last question... I see this is extending the normal radio class from micropython implementation on microbit. Also I wasn't noticing that receive_bytes gives me a "packet" - duh!

@virtualabs
Copy link
Owner

Took me some time to figure out that:

radio.esb() mode seems to only work with RF24::enableDynamicPayloads()
radio.sb() mode seems to only work with DPL disabled, which is default.

The main difference between ESB and SB is this DPL feature if I remember well.

no matter what, couldn't find settings on RF24 where sniff on the microbit which would work reliably.

do you mean you were not able to sniff packets sent from a RF24 with the microbit ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants