Comments (9)
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.
Are you using different code? What is the code you are using?
from rf24.
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.
from rf24.
In taking a quick look, it looks like you might just need to call enableDynamicAck();
in both devices.
Currently it has to be set for the optional multicast write/read, but I'm thinking it might be best to enable that by default to avoid confusion. The gettingstarted_call_response example should be getting an ACK response with that enabled??.
from rf24.
Yes it fails, I make tests with gettingstarted sketch (arduino) and gettingstarted_call_response (RPi) with enableDynamicAck(); in both
from rf24.
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 ?
RPi version : https://github.com/mysensors/Arduino/tree/development/libraries/RF24/RPi
Arduino version: https://github.com/mysensors/Arduino/tree/development/libraries/RF24
from rf24.
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 [email protected] or post it somewhere I can see it, just so I can easily recreate the problem?
from rf24.
check your mail ;)
from rf24.
Now it works, I port the RF24 library of arduino to RPi, enable DynamicAck and now all is ok.
from rf24.
Alright, the acks seemed to work ok if I removed RF24::setAutoAck(BROADCAST_PIPE,false);
from MySensor.cpp , but not sure if that would have fixed it all the way.
from rf24.
Related Issues (20)
- cannot find -lboost_python3 HOT 3
- Calling from a C++ class causes weird behaviour on Linux HOT 3
- NRF24L01 does not work with my Arduino HOT 1
- nRF24L01+ gets recognized as nRF24L01 after software reboot HOT 7
- STM32F411 doesn't receive data HOT 4
- [feature request] support ESP-IDF platform HOT 19
- namespace for utility drivers HOT 3
- Multiple I2C buses In ESP 32 with multiple ports
- ESP32 and two Infrared Temperature Sensors (MLX90614) HOT 1
- Calling radio.available() after failed transmission when using writeFast or startWrite causes interrupt loop HOT 10
- 'make' errors, and RF24 on RPi, aarch64-linux-gnu HOT 18
- [Question] NRF24 Transmitter get "stuck" when powered from wall power outlet HOT 2
- RPi5 uses different gpio pin numbers (per Linux kernel update) HOT 48
- Radio.printDetails(); does nothing for MKR1010 but Radio.sprintfPrettyDetails(buffer); works fine???? HOT 4
- Pipe is sometimes returned at "255". HOT 15
- Is there a known ESP32 Deep Sleep issue with radio.powerDown()? [Question] HOT 19
- Can RF24 library be used with WiFi? HOT 2
- Can RF24 library be used with WiFi? HOT 4
- [Question] setChannel & setDataRate not read correctly by printPrettyDetails ? HOT 4
- ESP32 Core Panic on radio 0; No panic on Radio number 1, same wiring. How to troubleshoot?[Question] HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rf24.