Payload length in Serial Communication in MCSDK
Hi everybody,
I read the document UM1052 and in this document we can see this "Payload_Length: the total number of bytes that compose the frame payload". My question is: does the payload length include Payload_length byte itself and CRC ?
Precisely what the calcul for payload length ?:
1) Payload_length = Payload_length (1 byte) +Payload ID (1 byte)+ number of byte in payload content (x bytes) + CRC (1 byte)
2) Payload_length = Payload ID (1 byte)+ number of byte in payload content (x bytes) + CRC (1 byte)
3) Payload_length = Payload_length (1 byte) +Payload ID (1 byte)+ number of byte in payload content (x bytes)
4) Payload_length = Payload ID (1 byte)+ number of byte in payload content (x bytes)
5) An other combination
Best Regards