I too had the same problem. I still cant get the example program to work with 100% efficency but my results have gotten better. The umirf seems to operate much better by adding an electrolytic capacitor between VSS (3v pin) and ground. ( be careful in observing polarity ). A 10uf value works great for me. Between this and writing my own code it works great. Wish I had more info. My 2 cents.
If that doesn’t solve all… repost with more info about your application. Like the power supply you’re using. Their are also a few tweaks you can use in your own code by adjusting some bytes in the configuration word. For instance the umirf works best with 250k transmission speed, 16-bit CRC. Perhaps changing oper frequency would help. There’s a link to a really cool Configuration program in an older post. do a search for “nrf2401 configuration program” it should pop up. I should warn you if you use the program check 1Mb for 250k transmission and vice versa. But its just small bug in a great program.
Here’s a program written in PBASIC. I found it useful in understanding how to write my own code. PBASIC is easier read for me… C can get really blurry to the untrained eye like my own