serial232
所属分类:Windows编程
开发工具:Visual C++
文件大小:134KB
下载次数:9
上传日期:2009-08-20 10:59:52
上 传 者:
zhj050407
说明: 此源码是基于Visuall C++环境,232串口通信源码,用于cdma模块串口通信,通过发送at指令,可以发送短信。
(This source is based on the Visuall C++ environment, source code 232 serial communications, serial communication module for cdma, by sending at commands, you can send text messages.)
文件列表:
serial\makefile (554, 2001-08-29)
serial\resource.h (2660, 2001-08-29)
serial\tty.def (363, 2001-08-29)
serial\tty.dsp (2943, 2001-08-29)
serial\tty.dsw (512, 2009-08-17)
serial\TTY.exe (171336, 2009-08-18)
serial\tty.ico (766, 2001-08-29)
serial\tty.ncb (58368, 2009-08-18)
serial\TTY.obj (66467, 2009-08-17)
serial\tty.plg (668, 2009-08-18)
serial\tty.res (5924, 2009-08-18)
serial\version.h (616, 2001-08-29)
serial\resrc1.h (450, 2009-08-18)
serial\TTY.BMP (2166, 2009-08-18)
serial\tty.c (63346, 2009-08-18)
serial\tty.h (6406, 2009-08-18)
serial\tty.RC (8118, 2009-08-18)
serial\tty.aps (45312, 2009-08-18)
serial\tty.opt (81920, 2009-08-18)
serial\Debug (0, 2009-08-17)
serial (0, 2009-08-17)
Communications Demonstration
SUMMARY
=======
The COMM sample (TTY) is designed to demonstrate using the Win32
communications functions while maintaining a common code base with
16-bit Windows code.
MORE INFORMATION
================
The program performs communications using the functions OpenFile, ReadFile,
SetCommState, SetCommMask, WaitCommEvent, WriteFile, and CloseFile.
The program creates a background thread to watch for COMM receiver events
and posts a notification message to the main terminal window. Foreground
character processing is written to the communications port.
Simple TTY character translation is performed and a screen buffer is
implemented for use as the I/O window.
Overlapped file I/O techniques are demonstrated.
Usage:
The baud rate, data bits, stop bits, parity, port, RTS/CTS handshaking,
DTR/DSR handshaking, and XON/XOFF handshaking can be changed under the
Settings menu item.
Once the communications settings are set, the Action menu item can be
selected to connect or disconnect the program.
近期下载者:
相关文件:
收藏者: