⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gprsdia.h

📁 开发环境为EVC++,这个是一个我的一个简单的拨号程序,是通过串口接的GPRS模块,有开发WinCE下的同志可以以次入门
💻 H
字号:
//Mobile control class by SkyVense
//If you modified this file, please send a copy to skyvense@online.sh.cn
//Thank you!


//Last modifed 2002-02-29 by SkyVense

// Serial.h
#ifndef _GPRSDIA_H
#define _GPRSDIA_H

#include "Serial.h"

class CGprsDia  
{
public:
	CGprsDia();
	virtual ~CGprsDia();

private:
	CSerial m_serial;
public:
	LPTSTR CSTRToLPTSTR(CString csStrString);
	BOOL OpenPort(LPTSTR ptsPort, LPTSTR ptsBaud );
	BOOL ClosePort();
	BOOL SendData(LPTSTR ptsBuffer, UINT uiSize );
	void ReadData(LPTSTR *pptsBuffer);
	void SendATCmd(LPTSTR ptsATCmd);

};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -