bladox.com Forum Index bladox.com
Turbo SIM Toolkit Adapter Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

send a following sms to the receiver after the original sms

 
Post new topic   Reply to topic    bladox.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
tkm



Joined: 18 Jan 2011
Posts: 72

PostPosted: Fri Mar 11, 2011 12:32 pm    Post subject: send a following sms to the receiver after the original sms Reply with quote

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
View user's profile Send private message
pz



Joined: 12 Mar 2004
Posts: 1161

PostPosted: Fri Mar 11, 2011 7:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
tkm



Joined: 18 Jan 2011
Posts: 72

PostPosted: Mon Mar 14, 2011 10:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    bladox.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group