Skip to content
veriakPublic

About

Use this library for work with Comm port on Windows and using AT Commands to Sending and Receiving one or multipart SMS(PDU, Unicode)

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

ViroSMS

Use this library for work with Comm port on Windows and using AT Commands to Sending and Receiving one or multipart SMS(PDU, Unicode)

#include "SMSEngine.h"

using namespace SMSEngine;

CSMSEngine *pSMSEngine = new CSMSEngine(_T("com1"), 9600);

if (pSMSEngine->CheckGSMModemActivity()) {
	char szIMEI[MAX_PATH];

	if (pSMSEngine->GetIMEI(szIMEI)) {
		if (pSMSEngine->SendUnicodeMessage("+989122222222", _T("Test SMS"))) {
			ReadMessageList ml;

			if (pSMSEngine->GetReadMessageList(&ml)) {
			}
		}
	}
}

delete pSMSEngine;	

About

Use this library for work with Comm port on Windows and using AT Commands to Sending and Receiving one or multipart SMS(PDU, Unicode)

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages