New nRF24 driver in MySensors 2.0.0
-
MySensors 2.0.0 will feature a refactored nRF24 driver having:
- reduced code size (-2kb)
- two-fold speed increase (processing)
- fewer register writing/polling
- fully defined init state
- SPI transactions
Please feel free to test MySensors 2.0.0-beta and provide feedback if you encounter any issues.
-
Awesome! Great work @tekka !
-
@tekka first off: great work!
- reduced code size (-2kb)
great.
- two-fold speed increase (processing)
Any number, test cases on that? In which situations does that apply?
- fewer register writing/polling
Also great.
But as far as i see some features needed also to go away?
-
Can I test it with current version of Vera plugin, which shows
Plugin Version:1.5
Lib Version: Unit: 1.5.1
is it compartible ?
-
@Alexander-Ivanov
You have to download and install this version of the library:
https://github.com/mysensors/Arduino
-
@hek
Correct, I already flashed Ethernet Gateway (W5100) and a test node (Relay Actuator) with new beta version of the library.
In Vera I removed Ethernet Gateway and added it again, so it shows in properties:
Plugin Version:1.5
Lib Version: Unit: {empty}
Inlcusion mode doesn't search for new nodes, so this is why I asked - is the old Vera plugin developed for library 1.5 compartible with library 2.0 ?
-
Yes, it should be compatible. But if you're using UI7 you should probably update the plugin to the UI7 branch on github though.
-
Does the DEV library update automatically in the Arduino library manager ?
-
@tekka wow
-
No, you have to update manually...