Click here to Skip to main content
15,901,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: serial port communication Pin
Cedric Moonen1-Oct-06 22:08
Cedric Moonen1-Oct-06 22:08 
GeneralRe: serial port communication Pin
RockyJames1-Oct-06 22:15
RockyJames1-Oct-06 22:15 
GeneralRe: serial port communication Pin
Cedric Moonen1-Oct-06 22:32
Cedric Moonen1-Oct-06 22:32 
GeneralRe: serial port communication Pin
RockyJames1-Oct-06 22:57
RockyJames1-Oct-06 22:57 
GeneralRe: serial port communication Pin
Cedric Moonen1-Oct-06 23:08
Cedric Moonen1-Oct-06 23:08 
GeneralRe: serial port communication Pin
RockyJames1-Oct-06 23:14
RockyJames1-Oct-06 23:14 
GeneralRe: serial port communication Pin
RockyJames2-Oct-06 1:09
RockyJames2-Oct-06 1:09 
AnswerRe: serial port communication Pin
kakan2-Oct-06 0:15
professionalkakan2-Oct-06 0:15 
As Cedric Moonen already said, you can check the DSR signal.
In addition you should raise the RTS (Request To Send) signal and check for the reply from the device, CTS (Clear To Send). If you get a transition from Off to On in the CTS line, you can be pretty sure the device is powered on.

For the serial communication, i suggest you use a serial commuinications library, the are some good ones here at CP.



Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson

GeneralRe: serial port communication Pin
RockyJames2-Oct-06 0:29
RockyJames2-Oct-06 0:29 
GeneralRe: serial port communication Pin
kakan2-Oct-06 1:16
professionalkakan2-Oct-06 1:16 
GeneralRe: serial port communication Pin
RockyJames2-Oct-06 1:10
RockyJames2-Oct-06 1:10 
QuestionCFont to CMenu Pin
Arman S.1-Oct-06 20:44
Arman S.1-Oct-06 20:44 
AnswerRe: CFont to CMenu Pin
Hamid_RT1-Oct-06 21:04
Hamid_RT1-Oct-06 21:04 
QuestionWhere can I found "convert Singular to Plural" library ? Pin
Zyraph1-Oct-06 19:05
Zyraph1-Oct-06 19:05 
AnswerRe: Where can I found "convert Singular to Plural" library ? Pin
Waldermort1-Oct-06 22:00
Waldermort1-Oct-06 22:00 
GeneralRe: Where can I found "convert Singular to Plural" library ? Pin
Zyraph1-Oct-06 23:07
Zyraph1-Oct-06 23:07 
Questionhi Pin
jawors1-Oct-06 17:53
jawors1-Oct-06 17:53 
AnswerRe: hi Pin
charlieg1-Oct-06 18:20
charlieg1-Oct-06 18:20 
AnswerRe: hi Pin
kakan1-Oct-06 20:14
professionalkakan1-Oct-06 20:14 
AnswerRe: hi Pin
Hamid_RT1-Oct-06 21:05
Hamid_RT1-Oct-06 21:05 
QuestionDescription of different shortings Pin
frankis781-Oct-06 11:20
frankis781-Oct-06 11:20 
AnswerRe: Description of different shortings Pin
Christian Graus1-Oct-06 15:18
protectorChristian Graus1-Oct-06 15:18 
GeneralRe: Description of different shortings Pin
David Crow2-Oct-06 3:21
David Crow2-Oct-06 3:21 
GeneralRe: Description of different shortings Pin
frankis782-Oct-06 11:00
frankis782-Oct-06 11:00 
GeneralRe: Description of different shortings Pin
Christian Graus2-Oct-06 11:17
protectorChristian Graus2-Oct-06 11:17 

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.