The nrf24 uses all 5 bytes of address for only the first 2 addresses. After that, it uses just the first byte and then the last 4 bytes of address #1. getAddr is just reporting the same first byte over and over.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Andrey,
The nrf24 uses all 5 bytes of address for only the first 2 addresses. After that, it uses just the first byte and then the last 4 bytes of address #1. getAddr is just reporting the same first byte over and over.
So:
Means that address 2 is actually 1,7,8,9,0. I guess I should update the driver to produce warnings and the correct addresses.
Hope that helps!