-
Notifications
You must be signed in to change notification settings - Fork 1k
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
write function always return false #10
Comments
Hey aliasdoc, I'm not really in the loop right now as far as the current state of the mysensors RPi code. When I try the code at https://github.com/mysensors/Raspberry there are problems compiling. |
Hi TMRh20, yes I use another code, I port the MySensors version in development tree ( https://github.com/mysensors/Arduino/tree/development) to RPi and use this version of RF24 (https://github.com/mysensors/Arduino/tree/development/libraries/RF24/RPi) compiling and communication is ok, but write() function of this library always return false. I also make tests with getting started example and it return false, but the receptor receive payload, I think there are problem with ACK. |
In taking a quick look, it looks like you might just need to call |
Yes it fails, I make tests with gettingstarted sketch (arduino) and gettingstarted_call_response (RPi) with enableDynamicAck(); in both |
RF24 library used with RPi is not the same as Arduino, I think, the problem is here, you have another port for RPI or not ? |
No other port, those are almost the same as https://github.com/TMRh20/RF24 (without the latest changes) Could you send me all your code at tmrh20@gmail.com or post it somewhere I can see it, just so I can easily recreate the problem? |
check your mail ;) |
Now it works, I port the RF24 library of arduino to RPi, enable DynamicAck and now all is ok. |
Alright, the acks seemed to work ok if I removed |
Hi, i try to use this library (RPi version) with MySensors library and I see every call to write() return false.
The text was updated successfully, but these errors were encountered: