ahmad_abdulghany
Advanced Member level 4
- Joined
- Apr 12, 2005
- Messages
- 1,206
- Helped
- 102
- Reputation
- 206
- Reaction score
- 22
- Trophy points
- 1,318
- Location
- San Jose, California, USA
- Activity points
- 11,769
Hello all,
I have a problem and i think that it can be solved via Matlab (i hope to solve it whatever was the method, matlab or not)
The problem is explained here after:
I have a file (.exe or .mp3 or any other type of files)
As far as i know, these files are stored on the computer hard disk in binary format, right?
I have a wireless link (Tx and Rx), I want to convert any file to serial data to go through COM serial port
I aim also of course that to retrieve the file to its original state after reception at the Rx end..
I think that it can also be done using C function, that read the file in binary format, and store it in a matrix, and i then read it byte by byte or something like that, but i don't know anything about syntax, i also ASSUME that it can be done as i said now... If there's a clever C guy, so please help me by writing that code ...
How can i do that?
Please help me out!
Thanks alot in advance,
Ahmad,
I have a problem and i think that it can be solved via Matlab (i hope to solve it whatever was the method, matlab or not)
The problem is explained here after:
I have a file (.exe or .mp3 or any other type of files)
As far as i know, these files are stored on the computer hard disk in binary format, right?
I have a wireless link (Tx and Rx), I want to convert any file to serial data to go through COM serial port
I aim also of course that to retrieve the file to its original state after reception at the Rx end..
I think that it can also be done using C function, that read the file in binary format, and store it in a matrix, and i then read it byte by byte or something like that, but i don't know anything about syntax, i also ASSUME that it can be done as i said now... If there's a clever C guy, so please help me by writing that code ...
How can i do that?
Please help me out!
Thanks alot in advance,
Ahmad,