Click here to Skip to main content
15,897,371 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
AnswerRe: BIOS Flashing Pin
ednrgc5-Jan-07 6:30
ednrgc5-Jan-07 6:30 
GeneralRe: BIOS Flashing Pin
Dave Kreskowiak5-Jan-07 6:54
mveDave Kreskowiak5-Jan-07 6:54 
QuestionQuestion for those that build their on PC's Pin
Ennis Ray Lynch, Jr.2-Jan-07 13:49
Ennis Ray Lynch, Jr.2-Jan-07 13:49 
AnswerRe: Question for those that build their on PC's Pin
Still learning how to code3-Jan-07 2:55
Still learning how to code3-Jan-07 2:55 
AnswerRe: Question for those that build their on PC's Pin
Dan Neely3-Jan-07 3:27
Dan Neely3-Jan-07 3:27 
AnswerRe: Question for those that build their on PC's Pin
ednrgc3-Jan-07 3:57
ednrgc3-Jan-07 3:57 
AnswerRe: Question for those that build their on PC's Pin
#realJSOP9-Jan-07 0:15
professional#realJSOP9-Jan-07 0:15 
QuestionGSM Modem readiness Pin
Dr Dan31-Dec-06 1:34
Dr Dan31-Dec-06 1:34 
Hi,

I've written a small command line program to send AT modem commands to a USB-connected GSM modem (in fact it's an old Nokia telephone). We use at work it to send SMS reports. Currently the program is still very much experimental, but has been working well. I followed Allen Denver's MSDN article "Serial Communications in Win32"

So, in my program I would open a handle to the com port to which the modem is connected. Then, I would write each of the following strings in turn, separated by a 2.5 second pause.

1) "AT+CMGF=1\x0D" to indicate SMS mode.
2) "AT+CMGS=\"+44NNNNNNNNNN\"\x0D" to indicated the destination phone number.
3) "SMS Text\x1A\x0D" to indicate the text to send in the message and terminate the message.

Each of these strings is written to the previous file handle within a function I wrote and the return value from this function indicates the success or not of writing the string.

I'm not very experienced in serial comms programming. My question is, how do you tell in code that the modem is ready for input? For example, in HyperTerminal you get the "OK" prompt back. Is this just a feature of HyperTerminal? Am I already doing enough by checking that the string was written successfully? What is the "proper" thing to do after writing the string to the com port to check that the modem is ready for more input?

I am using C++ to write the program under Windows 2000 and XP.

Thanks in advance.
AnswerRe: GSM Modem readiness Pin
Trollslayer1-Jan-07 10:56
mentorTrollslayer1-Jan-07 10:56 
QuestionHow to make a folder level security with WinXP LAN Pin
mwith28-Dec-06 2:51
mwith28-Dec-06 2:51 
AnswerRe: How to make a folder level security with WinXP LAN Pin
Dave Kreskowiak28-Dec-06 3:32
mveDave Kreskowiak28-Dec-06 3:32 
QuestionNetgear is a bunch of boobs... x64 support = no time soon. Pin
Ray Cassick27-Dec-06 18:57
Ray Cassick27-Dec-06 18:57 
AnswerRe: Netgear is a bunch of boobs... x64 support = no time soon. Pin
Michael Dunn27-Dec-06 19:34
sitebuilderMichael Dunn27-Dec-06 19:34 
AnswerRe: Netgear is a bunch of boobs... x64 support = no time soon. Pin
Dan Neely28-Dec-06 2:13
Dan Neely28-Dec-06 2:13 
AnswerRe: Netgear is a bunch of boobs... x64 support = no time soon. Pin
#realJSOP9-Jan-07 0:16
professional#realJSOP9-Jan-07 0:16 
QuestionTurn off "USB root hub"/device power Pin
tanffn_aj27-Dec-06 7:29
tanffn_aj27-Dec-06 7:29 
AnswerRe: Turn off "USB root hub"/device power Pin
Trollslayer30-Dec-06 11:32
mentorTrollslayer30-Dec-06 11:32 
GeneralRe: Turn off "USB root hub"/device power Pin
tanffn_aj1-Jan-07 8:50
tanffn_aj1-Jan-07 8:50 
Questionis the Floppy Disk have the unique sign? Pin
jakeyjia24-Dec-06 22:02
jakeyjia24-Dec-06 22:02 
AnswerRe: is the Floppy Disk have the unique sign? Pin
Dave Kreskowiak26-Dec-06 4:03
mveDave Kreskowiak26-Dec-06 4:03 
GeneralRe: is the Floppy Disk have the unique sign? Pin
jakeyjia26-Dec-06 14:09
jakeyjia26-Dec-06 14:09 
QuestionCPU Tempreture Memory Location Pin
richardza21-Dec-06 9:09
richardza21-Dec-06 9:09 
AnswerRe: CPU Tempreture Memory Location Pin
Dave Kreskowiak21-Dec-06 9:30
mveDave Kreskowiak21-Dec-06 9:30 
GeneralRe: CPU Tempreture Memory Location Pin
richardza21-Dec-06 10:32
richardza21-Dec-06 10:32 
GeneralRe: CPU Tempreture Memory Location Pin
Dave Kreskowiak21-Dec-06 11:16
mveDave Kreskowiak21-Dec-06 11:16 

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.