摘要
为了实现PC与短信收发模块的串行通信,在分析了Q2358C无线模块与计算机串口通信实现的方法的基础上,采用基于VC平台的COM组件技术,设计了一个动态链接库(DLL);应用程序可通过调用动态链接库接口与模块进行通信,实现短信收发功能;讨论了通信编程中几个关键技术,给出了程序设计框图和部分源程序,为应用系统的开发奠定了技术基础。
To implement serial communication between PC and SMS receive/send module, the method of serial communication between Q2358C wireless module and PC is analyzed, and then a kind of dynamic link libraries based on COM technologies of visual C++ is designed. The application program communicates with module by the interface offered by DLL, and the system realizes the function of short-message's receiving and sending. Some key techniques in communication programming are fully explained. The block ofprogram and parts of source codes are presented. The DLL is useful to exploit an application system.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第17期3245-3247,共3页
Computer Engineering and Design
关键词
串行通信
COM技术
动态链接库
短消息服务
Q2358C模块
serial communication
COM technologies
dynamic link libraries (DLL)
short message service (SMS)
Q2358C module