jpbarraca / pynrf24

Python port of the RF24 library for NRF24L01+ radios.
GNU General Public License v2.0
152 stars 84 forks source link

Cannot get pipeId from radio.available() check #24

Open eigokor opened 8 years ago

eigokor commented 8 years ago

In original nRF24 C library there is an option to return pipe id, which has some data to read

bool RF24::available ( uint8_t * pipe_num) http://maniacbug.github.io/RF24/classRF24.html#a127105eb7a3b351cfe777c1cec50627a

Is is supported somehow for this python version?

Traceback (most recent call last): File "reciver.py", line 76, in while radio.available(pipe): Boost.Python.ArgumentError: Python argument types in RF24.available(RF24, list) did not match C++ signature: available(RF24 {lvalue})