Hi !
I started with the ping example, and it almost works. Sometimes I get a ping of 1 or 2, but sometimes (maybe 1 on 3) I get a "No reply from server"
To work it around I changed adresses, channel, data rate, NRF24L01+ modules, tried to get them closer or not (1cm, 10 cm, 1m, 3m...) still the same
I went on and wrote a sender-receiver (with acknowledgment) sketch from scratch. The sender sends its timestamp every second, while the receiver pushes what it gets to my computer via serial.
I still get issues, some messages are transmitted nicely, other are never received.
Do you have an idea of where it could come from ?
As a solution I want to increase the number of auto retransmit before fail to see if things get better. But I am a newbie !
According to NRF24 datasheet (page 58/78), this is acheveivable by altering register
Adress 04
Mnemonic ARC
Bit 3:0
I want to set it to 1111 (15 retransmits) instead of default 0011 (3 retransmits)
I am stuck then,
I guess I have to use spiWriteRegister() function of the NRF24 lib to get it done, right ?
What parameters should I send ?
Thanks for your help !
Julien