Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Using SMS

Base version:

Brew MP 1.0 rev 2.2

Tested version:

Brew MP 1.0 rev 1.0.6.762186

Phone tested:

Yes

Objective

This topic explains how to use the Brew® Mobile Platform (Brew MP) Short Message System (SMS) interfaces.

The example code in this topic is from the c_samplesms application, which you can download from the How To section of the Brew MP Resources. You can extract the contents of the zip file and then compile the application and run it on the Brew MP Simulator.

For information on using the Simulator to test SMS messages, see the SMS topic in the "Simulation Tools" section in the Brew MP Tools Reference.

Requirements

To use the ISMS interface, you must have:

  • A Brew MP enabled device.
  • The Brew MP 1.0 SDK rev 1.0.6.762186 or greater.
  • A MIF with privileges for AEEPRIVID_PLTapi.
  • If your application uses ISMSStorage, the MIF must have the privilege for AEECLSID_SMSMAINCLIENT.

This document assumes that you are familiar with the Brew MP C Application Primer.

Sample code location

ZIP filename

Location

Run app

c_samplesms_Brew_MP or c_samplesms_BREW_31x

Brew MP Library

  • Download and extract the ZIP file.

  • Compile the app.

  • Run it on the Simulator.

Comments

porwal... 18 Nov 2010 10:59pm

From where can i get this sample application zip file to download???

sri4rc 21 Nov 2010 10:31pm

while i was compling this file it gives these errors.please tell where can i get these.
Error 1 fatal error C1083: Cannot open include file: 'AEEModGen.h': No such file or directory c:\documents and settings\srikanth.s\desktop\c_samplesms\c_samplesms.h 25 c_samplesms
Error 2 fatal error C1083: Cannot open include file: 'AEEModGen.h': No such file or directory c:\documents and settings\srikanth.s\desktop\c_samplesms\c_samplesms.h 25 c_samplesms
Error 3 fatal error C1083: Cannot open include file: 'AEEModGen.h': No such file or directory c:\documents and settings\srikanth.s\desktop\c_samplesms\c_samplesms.h 25 c_samplesms
Error 4 fatal error C1083: Cannot open include file: 'AEEModGen.h': No such file or directory c:\documents and settings\srikanth.s\desktop\c_samplesms\c_samplesms.h 25 c_samplesms
Error 5 fatal error C1083: Cannot open source file: '..\..\..\..\src\AEEModGen.c': No such file or directory c1 c_samplesms
Error 6 fatal error C1083: Cannot open source file: '..\..\..\..\src\AEEAppGen.c': No such file or directory c1 c_samplesms
Warning 7 The following environment variables were not found:
$(BREWDIR) Project c_samplesms

SunLei 11 Jan 2011 11:37pm

where can i get this sample application zip file to download???
..

Lin 16 Feb 2011 02:01pm

If you scroll up to the top of this page, on the left pane under "SAMPLE CODE", you will find the download link. Or you can search for "c_samplesms_Brew_MP.zip" in this page and it will bring you to the link.
Regards,
Jing

BrewGragon 30 Dec 2011 11:48pm

who knows about IWMS???????