摘要
在VC++环境下实现GSM短信模块对终端GPS数据的通信。在分析了GPS模块输出的NMEA-0183数据格式以及GSM模块常用的AT指令的基础上,采用在VC++中插入ActiveX MSComm控件的方法来实现PC机与GSM模块间的串口通信,利用GSM模块对终端GPS模块产生的GPS数据进行了通信、采集与处理,并利用数据库操作ADO技术将定位信息存储在Access数据库中。接收到的GPS数据满足NMEA-0183数据格式要求,可应用于监控中心以及其他GPS应用领域。
Under the environment of VC++ to realize message communications between Siemens GSM module and terminal GPS data.On the basis of analysing the NMEA-0183 data format outputted by the GPS module and the AT commands GSM module used,using VC++ inserted in MSComm ActiveX control to realize the serial communication between PC and GSM module,using of GSM module to communicate、acquisite and process the GPS data generated by the terminal GPS module,using ADO technology to store the locate GPS information in the Access database.The received GPS data meet the requirements of the NMEA-0183 data format,it can be applied to the control center and other GPS ap-plications.
出处
《电子测量与仪器学报》
CSCD
2010年第11期1068-1073,共6页
Journal of Electronic Measurement and Instrumentation