nRF24L01 detecting when no connection between modules

hello there,
I'm making an RC boat with two arduino's. for the communication between those, im using nRF24L01 modules with decent range. I'm trying to build a failsafe for when the boat(receiver) is not getting signal anymore from the 'transmitter'. but i dont know how to do that.
For some extra context, im using the RF24 library and a joystick constantly sending my joystick data with an array.
thank you for your help
Jarne

The usual way to do that is for the Tx to send a message at regular intervals (say 5 per second) even if the data does not change.

Then the Rx should save the value of millis() every time a message is received and it will know there is a problem if there is a too-long gap since the last message it received. A few lost messages would not be surprising so perhaps wait for a full second before declaring a problem.

...R
Simple nRF24L01+ Tutorial

I think of a concept similiar to the CAN bus strategy. Look at a speed command. Upon receving a none zero speed that command is valid for a limited time. After that time speed is set to zero within the receiver. If a new speed command arrives within that time frame the "new" speed is valid for another time slot.

thank you for your quick response, i will look into it