The other command was used in the bridge example and I use it in another sketch as well without issues.
That was the case with the print() calls without the F() macro too. Just because it works for some time doesn't mean that it cannot be responsible for the problems after running a while. You're using the String class and that class fragments the available memory after some time. Once there isn't enough memory to fulfill the next allocation request, the program starts to react unpredictably.
Status returns 14392 instead of 56.
Provide the whole 5 bytes of output (best is to post it in hexadecimal format) not just a single part of it.
Also please post the current code you're working with, I guess you changed some stuff in the meantime.
Btw. is there a code way to restart the sketch?
Sure there is, but you should get the code to run reliably and not to restart it every other second.
Do you expect issues withe the compare functions I use?
Do you mean the "memcmp()" function? No, that works very well.