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 

STK_THREAD reset my phone

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



Joined: 06 Jan 2010
Posts: 15

PostPosted: Mon May 23, 2011 4:14 pm    Post subject: STK_THREAD reset my phone Reply with quote

Hi,

Whenever I called this function stk_thread was called, my phone reset the sim. The following is my code. Did I miss out anything?


void dosomeaction (void *data)
{
poll_interval(DURATION_SEC, 20);
}

void turbo_handler (u8 action, void *data)
{
switch (action)
case ACTION_APP_INIT:
reg_action (ACTION_STATUS);
break;
case ACTION_STATUS:
stk_thread (dosomeaction, NULL);
break;
default:
break;
}
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