Open ikarus23 opened 8 years ago
Good catch :)
This is an artifact from some older code. Prior to writing this firmware, I built some related functionality with a Teensy and nRF24L01+ in which I had everything in network byte order. The radio.c in this project started as a refactored version of that Teensy code.
Is there a reason why the endianness for the address is different on the output of the scripts (e.g.
nrf24-scanner.py
) and the initialization of annrf24
object (e.g.radio..enter_sniffer_mode(address)
?I didn't noticed this at first and wondered why my script was not working... ;)