| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| 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.
ofstream modem("COM3", ios::out|ios::binary) ;
modem << "ATZ\r" << flush ;
¯ JdeBP ®
--- FleetStreet 1.19 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3) |
|
| 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™.