Open zerog2k opened 6 years ago
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!
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 ?
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:
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?