With this code
commsDelay = 10; //while a connection is true
delay(10); //commsDelay "won't" increment.
commsDelay += 10; //only when no connection does it "truly" add.
commsDelay will never exceed 20. And note the need for +=
Try something like this
unsigned long latestMessageMillis;
void verifySuccessfulComms(){
if(millis() - latestMessageMillis >= 1000){
Serial.println("Not available");
}
}
void loop(){
if(radio.available()){
radio.read(msg, &sizeof(msg));
Serial.println(msg);
latestMessageMillis = millis();
}
verifySuccessfulComms();
}
Get into the habit of running your code as often as possible - ideally after every small change.
...R