I'm trying to write a image via UART on Beaglebone Black. But when I use the write() function in library .
int write( int handle, void *buffer, int nbyte );
Regardless of agurment nbyte in the write() function has int type, I can not transfer 70kB at once time. I displayed the number of byte which is transfered, and the result is the number of byte = 4111.
length = write(fd,body.c_str(),strlen(body.c_str())); //
cout<<length<<endl; // result length = 4111;
cout<<strlen(body.c_str())<<endl; // result strlen(body.c_str()) = 72255;
I hope to hear from you ! Thank you so much
