Log in

View Full Version : Sending SMS Messages out from the PocketPC


MobilityNomad
08-15-2002, 07:50 AM
Has anyone worked on the Telephony APIs of the PocketPC 2002 platform?

I am trying to build an application that allows me to send and receive SMS messages via either an infrared or bluetooth link with my mobile phone.

I am stuck trying to figure out the SDK. Are there any ActiveX controls that I can you to achieve the same purpose?

cnote
08-16-2002, 11:40 PM
Have you looked at the SmsXXXX functions in the SDK? they're in the header file sms.h.

There isn't an AX control encapsulating these functions as far as I know, you'll have to just call the raw interface. Open it with SmsOpen and call SmsSendMessage.

zakibakar
10-23-2002, 04:55 AM
I've done a programming on sms api for pocket pc 2002...successfully compiled with zero error/warning...the problem arose with message
Cannot launch remote executable and the eVC++ compiler asked for checking the Remote Executable Path and File Name at Project Setting...what's mean ??? can somebody help :?:

Peter Foot
11-05-2002, 11:05 AM
The SMSxxx API's in the Pocket PC 2002 SDK are only applicable with Phone edition devices. If you're trying to send SMS's via infrared to a phone you can't do it with the microsoft API's

cnote
12-09-2002, 11:15 AM
Good point that the SMS functions won't work on a none PPCPE device. To do what you're doing you'll need to open the right com port (either IRCOMM or RFCOMM) and go AT command style. If your phone supports text mode (AT+CMGF=1) it is really easy. If it doesn't you have to build and crack the PDU encoded messages. Find the GSM 7.05 spec somewhere.

For this to work over BT you'll have to pair and then create a serial port connection. I don't have a BT phone with me so I can't give step by steps...

IR is easier, its just COM3 or COM5 (or one of those I can't remember).