Is this a known/documented protocol?
2. If not, can you explain precisely what the start and end marks of a transmission are? (and any other gotchas for example, how do you escape the value 0xA5 when it is not a start mark but an actual data value?)
Are you in control of what the serial device sends (i.e. would you be able to modify the serial device output if it made sense to?)
That is what my devices sends out.
I have no END character that tells me the message is complete. I can only see this by receiving the new START character.
Hi, yes the protocl is know and documented. It is the output of a decibel meter of peak tec.
It has no END byte. That is my problem
I assume the 0xA5 can happen in the paypload. Due tot the fact that after the start byte 0xA5 an content identifier is sent that tells how many bytes will follow, that should be no problem (but perhaps for a spliiting alogrithm it can).
No, I can not change this protocol, it is the output of a closed device.