5.2.4.1.5 MSG_RES_DATA
Data packet from PC to target MCU. This message can come asynchronously from the PC (i.e., without the target MCU having requested it).
Field | Size | Values | Description |
---|---|---|---|
Message ID | 1 byte | 0x14 | |
Data length | 2 bytes | 3 + Data bytes | |
Stream ID | 2 bytes | ID of stream | |
Bytes sent | 1 byte | Number of bytes in the data payload. If the target has requested data from an unknown stream, or if the stream has no data to send, this field should be set to 0 and the appropriate status flag should be set. | |
Data bytes | N bytes | The data |