Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

what is code for send sms and how can i declared that variables with protypes,functions please help me anyone

Please search the forums before posting. In 2.x, you can use ITAPI_SendSMS for this. See API reference.

Please search the forums before posting. In 2.x, you can use ITAPI_SendSMS for this. See API reference.

Hai sir/mam,
i am new to this ... i saw some send sms code but.....i don't know how can i apply to that project like declaration,intialization and where i apply to that code.please send me sample application or related url.
Advanced thanks.

Hai sir/mam,
i am new to this ... i saw some send sms code but.....i don't know how can i apply to that project like declaration,intialization and where i apply to that code.please send me sample application or related url.
Advanced thanks.

Please find attached code snippet

Please find attached code snippet

Thanks for ur rplay...Adhudase Sir ...
"sms.c"...can i use this code to v3.1.5, And How can i test this send sms application,plz help me sir.

Thanks for ur rplay...Adhudase Sir ...
"sms.c"...can i use this code to v3.1.5, And How can i test this send sms application,plz help me sir.

Hi Sir/Mam..
I am new to this....This is my brew application i have some warnings plz rectify that warnings and modify my application ... and how to send text feilds data through sendsms please help me any one.
Advance thanks to All.

Hi Sir/Mam..
I am new to this....This is my brew application i have some warnings plz rectify that warnings and modify my application ... and how to send text feilds data through sendsms please help me any one.
Advance thanks to All.

Code was for Brew 2.x. Please search Brew 3.x forums for SMS code; there are lot of post on this. Please search before posting.
Refer "Using SMS" doc available on https://brewmobileplatform.qualcomm.com/devnet/index.jsp
it has sample code as well, works for 3.x.

Code was for Brew 2.x. Please search Brew 3.x forums for SMS code; there are lot of post on this. Please search before posting.
Refer "Using SMS" doc available on https://brewmobileplatform.qualcomm.com/devnet/index.jsp
it has sample code as well, works for 3.x.

Hi Atul,
thankyou for providing the sms.c,
but i am getting few problems in that
--------------------------------------------------------------------------------------------------
Compiling...
myapp.c
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(421) : error C2039: 'eAppState' : is not a member of '_myapp'
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(29) : see declaration of '_myapp'
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(431) : error C2065: 'AEEMOSMS_ERR_NO_ERR' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(431) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(435) : error C2065: 'AEEMOSMS_ERR_OUTOF_RESOURCES' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(435) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(439) : error C2065: 'AEEMOSMS_ERR_NETWORK_NOT_READY' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(439) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(443) : error C2065: 'AEEMOSMS_ERR_TRANSPORT_TEMP' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(443) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(447) : error C2065: 'AEEMOSMS_ERR_TRANSPORT_PERM' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(447) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(451) : error C2065: 'AEEMOSMS_ERR_INTERNAL' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(451) : error C2051: case expression not constant
Error executing cl.exe.
myapp.obj - 13 error(s), 0 warning(s)
---------------------------------------------------------------------------------------------------
Can you please provide some help regarding this.
Thanks,
Rama

Hi Atul,
thankyou for providing the sms.c,
but i am getting few problems in that
--------------------------------------------------------------------------------------------------
Compiling...
myapp.c
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(421) : error C2039: 'eAppState' : is not a member of '_myapp'
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(29) : see declaration of '_myapp'
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(431) : error C2065: 'AEEMOSMS_ERR_NO_ERR' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(431) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(435) : error C2065: 'AEEMOSMS_ERR_OUTOF_RESOURCES' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(435) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(439) : error C2065: 'AEEMOSMS_ERR_NETWORK_NOT_READY' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(439) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(443) : error C2065: 'AEEMOSMS_ERR_TRANSPORT_TEMP' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(443) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(447) : error C2065: 'AEEMOSMS_ERR_TRANSPORT_PERM' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(447) : error C2051: case expression not constant
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(451) : error C2065: 'AEEMOSMS_ERR_INTERNAL' : undeclared identifier
C:\Program Files\BREW SDK v2.1.3\Examples\myapp\myapp.c(451) : error C2051: case expression not constant
Error executing cl.exe.
myapp.obj - 13 error(s), 0 warning(s)
---------------------------------------------------------------------------------------------------
Can you please provide some help regarding this.
Thanks,
Rama

Code snippet was to give you an idea. It wasn't compilable code.
Remove "pMe->eAppState = APP_STATE_SMS;*/" line as it is not required.
AEEMOSMS_ERR_* are defined in AEETapi.h file.
If you are compiling in 2.x, Remove all AEEMOSMS_ERR_* as these where defined in 3.x and not 2.x. In 2.x,status will be SUCCESS or EFAILED.

Code snippet was to give you an idea. It wasn't compilable code.
Remove "pMe->eAppState = APP_STATE_SMS;*/" line as it is not required.
AEEMOSMS_ERR_* are defined in AEETapi.h file.
If you are compiling in 2.x, Remove all AEEMOSMS_ERR_* as these where defined in 3.x and not 2.x. In 2.x,status will be SUCCESS or EFAILED.

Hi Atul...
ThankYou for ur Response .....now it's fine. [#include "nmdef.h"]-----> is it working in 2.x.when i applied this header file ....error is came.

Hi Atul...
ThankYou for ur Response .....now it's fine. [#include "nmdef.h"]-----> is it working in 2.x.when i applied this header file ....error is came.

Remove unnecessary headers if required.

Remove unnecessary headers if required.