View previous topic :: View next topic |
Author |
Message |
tkm
Joined: 18 Jan 2011 Posts: 72
|
Posted: Fri Mar 11, 2011 12:32 pm Post subject: send a following sms to the receiver after the original sms |
|
|
Hello,
I am trying to send a following sms to the receiver after the original sms. So after a sms is sent I would like the app to send another sms to the same receiver on it's own. I am trying to call the second sms send on the ACTION_MO_SMS_CONTROL. But it is not working and also it prevents the first sms to go out.
Code: | case ACTION_MO_SMS_CONTROL:
sms_control (data);
smsplus_sms(data);// sending the 2nd sms
break; |
Can someone/pz pls give me some hints on what needs to be done or what I am doing wrong? Many thanks. |
|
Back to top |
|
|
pz
Joined: 12 Mar 2004 Posts: 1161
|
Posted: Fri Mar 11, 2011 7:21 pm Post subject: |
|
|
I don't know what your smsplus_sms(data) does but it uses STK send_sms() then you must start it with stk_thread(). |
|
Back to top |
|
|
tkm
Joined: 18 Jan 2011 Posts: 72
|
Posted: Mon Mar 14, 2011 10:24 am Post subject: |
|
|
pz wrote: | I don't know what your smsplus_sms(data) does but it uses STK send_sms() then you must start it with stk_thread(). |
Hi pz, thanks. on my first function I am changing sms header for the original sms being sent out and in my second function smsplus_sms, I am trying to send a completly new sms to the same receiver with send_sms function. I tried as you suggested. But with same result. None of them went through.
If I don't call smsplus_sms (send_sms()), then the original SMS does go through with a revised header.
Please can you help me with some more info to resolve this issue? Many thanks. |
|
Back to top |
|
|
|