-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Question] installation of NRF24 libs #20
Comments
Yes In the next version I will try to link the library statically into the node module so the system remains untouched or the user can use the dynamic version for CPP code. |
Just one other note is that the install script configures the NRF24 libs to use the |
RPI supports SPIDEV and do not require root you only need to activate it. Let's say that SPIDEV is the "universal" driver for all linux based single boards computers. I do all my testing on a RPI 3. |
Thats what I thought as well (I am kind of new to this stuff). But I was testing 2 programs. A very simple one (from the examples folder) where my Rpi(4) listens for incomming data from an arduino(every). Here the RF module But if i use a simple mesh network script (also from the example) in the case of a manual install with failure handling enabled and driver RPI, it works. But with the install script it fails (SPIDEV):
This error seems totally unrelated to the |
That's odd. I need to check that. How ever the next version (now published on master) will compile statically the SPIDEV version and will not depend on the version installed in the system. |
Tested master but no luck. Now setting up the SPI seems to fail I also went trought the changes in the NRF24 lib since there is a more recent version available (1.3.4) and i found this commit which seems to introduce some fixes that might be the reason only the BCM2835 driver works on RPI4 |
yes. 1.3.4 solves issues with RPI4 driver but breaks SPIDEV. There is a pending change in the lib to change to solve this. We have to wait to the 1.3.5 to try. I need to test with RPI4 but now I have only one board in use with other project. In principle SPIDEV should work with RPI4. but I have not confirmed it. |
The node module has bee updated to new versions of the base libraries. This version should support well Rpi4 now. The new version of the package will be published in npm |
Currently the readmy specifies that the NRF24 libs should be installed, but i noticed that there is an install script in this lib that currently reinstalls them because the check is disabled.
Should this be reenabled or removed from the readme to ensure correcte versions of the lib?
https://github.com/ludiazv/node-nrf24/blob/master/build_rf24libs.sh
The text was updated successfully, but these errors were encountered: