Hello
Thank you for your answer.
Unfortunately, that didn't answer my question.
I already created valid .rpd files.
My problem is the following: If I receive the .rpd file over UART, how can I be sure that the received file is a valid .rpd file and not, for example, a .docx file?
Is there some kind of header at the beginning of the .rpd file?
Like this one:
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 6A 6A 6A 6A 36 F4 FF FF 37 FA FF FF F6 F4 FF FF 37 F1 FF FF B6 F2 FF FF 77 F0 FF FF B3 F9 FF FF BA F8 FF FF
It seems that every .rpd file starts with this sequence. Is the 6A 6A 6A 6A kind of sync bytes?
Thank you very much.
Christoph