marklife / core/src / parseYxqStatus
Function: parseYxqStatus()
parseYxqStatus(
bytes):MarklifeStatus
Parse a YXQ-stream reply.
The vendor framing is opcode + length + payload + tail. Without a hardware capture to anchor the byte layout, this returns a structural status with rawBytes filled and errors listing the unrecognised opcode.
Parameters
bytes
Uint8Array