Hi Andrea,
I have downloaded the packages, thanks! tsrfsend v1.0c works well with my device and driver v13.09.13.1
I found out about one thing, though. The g_ITEAPI_TxSendTSData() function seems to be non-blocking and it will return 0 if the TX buffer is full. Currently tsrfsend will exit if the return code is <= 0; however, a better strategy would be to wait some time and try again (like they do in the it950x_testkit_tx application):
Code:
rewrite_case:
written = g_ITEAPI_TxSendTSData(write_buf, len, DevNo);
if (written == 0) {
/* TX buffer full; try again */
usleep(100);
goto rewrite_case;
} else if (written < 0) {
perror("send(): error ");
completed = 1;
} else {
packet_time += TS_PACKET_SIZE * 8;
}
In any case, thanks for this great package. It works very well on linux.