Hello,
DSI's long packet has 65541 bytes,
But I send a long packet with 5800 bytes.
Minicom said, my packet is too long.
How many is the maximum number of long packet?
THX
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
DSI's long packet has 65541 bytes,
But I send a long packet with 5800 bytes.
Minicom said, my packet is too long.
How many is the maximum number of long packet?
THX
Hi Yuan-Heng,
Is this the message you are observing?
if (dsi->vc[channel].tx_fifo_size * 32 * 4 < len + 4) {
DSSERR("unable to send long packet: packet too long.\n");
return -EINVAL;
}
You must check the size of your buffer also. It might be because it is limited to specific threshold. If that is the case I suggest you increase it.
Regards,
Boyko
I declare "int length=0; " and add source code "length=vc[channel].tx_fifo_size * 32 * 4 ; ".
But compiling , I have a error. What error happen ? Is datatype not match ?