Click here to Skip to main content
15,900,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Binary data transfer through serail port Pin
David Crow12-Oct-10 3:50
David Crow12-Oct-10 3:50 
GeneralRe: Binary data transfer through serail port Pin
Demian Panello12-Oct-10 1:53
Demian Panello12-Oct-10 1:53 
AnswerRe: Binary data transfer through serail port Pin
Luc Pattyn12-Oct-10 1:30
sitebuilderLuc Pattyn12-Oct-10 1:30 
GeneralRe: Binary data transfer through serail port Pin
shiv@nand12-Oct-10 1:47
shiv@nand12-Oct-10 1:47 
GeneralRe: Binary data transfer through serail port Pin
Luc Pattyn12-Oct-10 2:10
sitebuilderLuc Pattyn12-Oct-10 2:10 
AnswerRe: Binary data transfer through serail port Pin
krish_kumar12-Oct-10 3:02
krish_kumar12-Oct-10 3:02 
AnswerRe: Binary data transfer through serail port Pin
Luc Pattyn12-Oct-10 5:17
sitebuilderLuc Pattyn12-Oct-10 5:17 
GeneralRe: Binary data transfer through serail port Pin
Chuck O'Toole12-Oct-10 10:22
Chuck O'Toole12-Oct-10 10:22 
Generally, there's no problem sending binary data through a serial port if you are sure both ends are using full transparancy of the data, allow NULLs, CR/LF expansion (as mentioned by someone else above). XOFF and XON and EOF also need to be transparent.

The real issue is what do you do about "transmission errors"? There's no guarantee that serial data gets to the other side without problems, dropped bits, character framing errors. So, typically you have to wrap the data with some higher level checking, CRC, etc to ensure proper transmission of the data. Of course, since corruption is detected on the receiving side, you then need to tell the transmitter to re-send the data stream. Wait, this is beginning to sound a lot like a complete protocol.....
AnswerRe: Binary data transfer through serail port Pin
Luc Pattyn12-Oct-10 10:37
sitebuilderLuc Pattyn12-Oct-10 10:37 
GeneralRe: Binary data transfer through serail port Pin
Chuck O'Toole12-Oct-10 11:05
Chuck O'Toole12-Oct-10 11:05 
QuestionHow to log the start up and shut down time of all the PCs connected in a lan to a file Pin
manoharbalu11-Oct-10 22:19
manoharbalu11-Oct-10 22:19 
AnswerRe: How to log the start up and shut down time of all the PCs connected in a lan to a file Pin
Richard MacCutchan12-Oct-10 2:43
mveRichard MacCutchan12-Oct-10 2:43 
AnswerRe: How to log the start up and shut down time of all the PCs connected in a lan to a file Pin
David Crow12-Oct-10 3:55
David Crow12-Oct-10 3:55 
QuestionCListbox is not refrashed Pin
aangerma11-Oct-10 21:56
aangerma11-Oct-10 21:56 
QuestionRe: CListbox is not refrashed Pin
David Crow12-Oct-10 3:58
David Crow12-Oct-10 3:58 
QuestionHow can identify Mouse Click event in PreTranslateMessage? Pin
Le@rner11-Oct-10 21:06
Le@rner11-Oct-10 21:06 
QuestionGDI drawing onto a 4-bit bitmap Pin
Code-o-mat11-Oct-10 10:53
Code-o-mat11-Oct-10 10:53 
QuestionDrop-down list in floating toolbar clipped to main window Pin
John Ritzenthaler11-Oct-10 7:31
John Ritzenthaler11-Oct-10 7:31 
QuestionFile List Pin
Jonnster11-Oct-10 6:14
Jonnster11-Oct-10 6:14 
AnswerRe: File List Pin
elchupathingy11-Oct-10 7:14
elchupathingy11-Oct-10 7:14 
QuestionProblem in Using CEdit box control. Pin
Le@rner11-Oct-10 2:33
Le@rner11-Oct-10 2:33 
AnswerRe: Problem in Using CEdit box control. Pin
bleedingfingers11-Oct-10 2:50
bleedingfingers11-Oct-10 2:50 
GeneralRe: Problem in Using CEdit box control. Pin
Le@rner11-Oct-10 2:51
Le@rner11-Oct-10 2:51 
GeneralRe: Problem in Using CEdit box control. Pin
bleedingfingers11-Oct-10 2:55
bleedingfingers11-Oct-10 2:55 
AnswerRe: Problem in Using CEdit box control. Pin
Cool_Dev11-Oct-10 3:12
Cool_Dev11-Oct-10 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.