Skip to content
/ ViroSMS Public

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

License

Notifications You must be signed in to change notification settings

veriak/ViroSMS

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published