nRF24 / RF24

OSI Layer 2 driver for nRF24L01 on Arduino & Raspberry Pi/Linux Devices
https://nrf24.github.io/RF24
GNU General Public License v2.0
2.21k stars 1.02k forks source link

Updated library compatibility issue? #786

Closed Mmessiter closed 2 years ago

Mmessiter commented 3 years ago

I recently (rather late!) downloaded the most recent RF24 library and updated my radio control project. The transmitter worked perfectly and immediately without any code changes. But when I updated the receiver code, it only partially worked with lots of extra lost packets. So I reverted the receiver to the older library which fixed it immediately. I am puzzled! Today I ran some tests with the new library in the receiver code: I increased the packet count between channel hops massively. This reduced error rate by a similar proportion. So it’s clearly changing channel that’s the cause. But why and how to fix it is a mystery. If anyone has a clue I’d really appreciate it!

Malcolm Messiter

Mmessiter commented 2 years ago

Yes the Nextion display has its own MCU and even its own editor for designing the GUI. So it has also its own firmware file created and uploaded to the device with its editor.

2bndy5 commented 2 years ago

This seems to have been solved in the process of refactoring the code. https://github.com/Mmessiter/LockDownRadioControl/issues/10#issuecomment-933700510 I suspect malformed c-strings in the ACK payloads...