TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: TIM HUTZLER
from: DARIN MCBRIDE
date: 1998-01-07 08:36:00
subject: sending AT commands

 TH> I am trying to send 'AT' commands to a modem. "fopen" doesn't seem to
 TH> work. Can someone post a snippit of code demonstrating how to open a
 TH> port to COM3: and sending AT commands to it. A com port library is
 TH> fine. I don't have any on file.
Depends on your OS.  For example, under Linux, OS/2, and likely Win32, fopen 
would work.  Under DOS, however, you need to either get a com port library, 
learn how to use a FOSSIL, or learn how to deal with the serial port on a low 
level (via outportb/inportb).
---
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.