Hello. I need help with a thing.
I have a file (sound file) I will send via controller area network and therefore can only send data about 8 byte or 8 vector as data . This is sent away with the command sendfile ()
And I need help how I will do this code
I will firstly read in the file to one vector as examples file . How do I do this? Is there some completed code for this?
Read in the first 8 vector to data , then send this.
Read vector 9 to vector 17 to dates , then send this.
This happens until the entire file has been sent.
pleas help me to give a basis on how I will intend and to type the code.
I must apology for my poor English