Search found 5 matches

by aliher1911
Tue Oct 07, 2014 9:00 pm
Forum: Developer discussions
Topic: How does scan_channels Crazyradio work?
Replies: 9
Views: 8428

Re: How does scan_channels Crazyradio work?

One more note, if you are going to use RF24 be careful with available() method. It actually resets availability flag so if you call it twice, second time it would be false.
by aliher1911
Thu Oct 02, 2014 10:52 pm
Forum: Developer discussions
Topic: How does scan_channels Crazyradio work?
Replies: 9
Views: 8428

Re: How does scan_channels Crazyradio work?

Hi David, For what I'm trying to do crazyradio driver from lib in crazyradio. But I'm not doing anything realtime, I'm just collecting temperature readings form multiple sensors on beer fermenter. ;) I'm on the early stage at the moment and I tried Mirf and RF24 libraries for Arduino. I started with...
by aliher1911
Tue Sep 30, 2014 9:50 pm
Forum: Developer discussions
Topic: How does scan_channels Crazyradio work?
Replies: 9
Views: 8428

Re: How does scan_channels Crazyradio work?

Ok, I figured out what was missing. I had to do: r = drivers.crazyradio.Crazyradio() # set up address, rate and retry count before scanning r.set_address((0x1, 0x1, 0x1, 0x01, 0x1)) r.set_data_rate(1) r.set_arc(3) # find active receivers print r.scan_channels(0, 125, [0x61]) Problem was that I need ...
by aliher1911
Tue Sep 30, 2014 8:30 am
Forum: Developer discussions
Topic: How does scan_channels Crazyradio work?
Replies: 9
Views: 8428

Re: How does scan_channels Crazyradio work?

I've read that page and trying to understand what I need to do on receiver side to be scannable. Is the payload there solely because we can't initiate transmission without data? But then why isn't it hardcoded with some default value. I have hw that receives data from python script, but scan doesn't...
by aliher1911
Mon Sep 29, 2014 12:01 pm
Forum: Developer discussions
Topic: How does scan_channels Crazyradio work?
Replies: 9
Views: 8428

How does scan_channels Crazyradio work?

Hi, I'm trying to reuse Crazyradio class to work with some generic nRF24L01+ receiver connected to Arduino. Curious how does scan work? Is it sending any packets for the fixed address on all channels and expecting them to back as an ACK? To make it work, does the receiver need to send straight back ...