Thanks for your answer!
I have known how to do that, but I saw that the len is set to 48, and when I took a try , 128 is wrong for it.What’s the reason?
The parameter type is uint8_t, it means that it allows value from 0-255, isn’t it?
IIRC we ran into consistency issues with longer packets. There’s a limited serial buffer on the capture board as well and if you overrun that data will be lost. We did increase the size of that buffer between when I wrote the code I posted, so longer data strings will probably work better now.
For SimpleSerialV1, the absolute max for data commands will be 192 data bytes - this is in the target code. SimpleSerialV2 will let you transmit more data, since it’s sent in binary instead of being ASCII encoded.