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 

debugging/tracing sms send out

 
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 04, 2011 5:39 pm    Post subject: debugging/tracing sms send out Reply with quote

Hello, I am trying to track/debug SMS message sent out in the following manner:
Quote:
void sms_control (u8 * s)
{

dbsp ("Inside SMS Control");

}

void turbo_handler (u8 action, void *data)
{
switch (action)
{

case ACTION_APP_INIT:
pers_mem = app_data ();
reg_action (ACTION_MO_SMS_CONTROL);
break;

case ACTION_MO_SMS_CONTROL:
sms_control (data);
break;
}

}


But I am not able to see the 'dpsp' trace on the debugger when I sent out a message to any person. Can anyone please help me on what could have gone wrong here? I would really appreciate that. Many thanks.
Back to top
View user's profile Send private message
pz



Joined: 12 Mar 2004
Posts: 1161

PostPosted: Mon Mar 07, 2011 5:45 pm    Post subject: Reply with quote

Do you have the #define DEBUG set? Usually in config.h
Back to top
View user's profile Send private message
tkm



Joined: 18 Jan 2011
Posts: 72

PostPosted: Tue Mar 08, 2011 4:44 pm    Post subject: Reply with quote

pz wrote:
Do you have the #define DEBUG set? Usually in config.h

Yeah, I have it set all-right. It's working for call-control debug. But not for the SMS send event.
Back to top
View user's profile Send private message
tkm



Joined: 18 Jan 2011
Posts: 72

PostPosted: Tue Mar 08, 2011 4:59 pm    Post subject: Reply with quote

tkm wrote:
pz wrote:
Do you have the #define DEBUG set? Usually in config.h

Yeah, I have it set all-right. It's working for call-control debug. But not for the SMS send event.
Maybe my handset (which is plugged with TL2 and TP2) doesn't support SMS capture/debug. Could that be a reason? Is there a way I can find whether handset supports SMS capture?
Back to top
View user's profile Send private message
pz



Joined: 12 Mar 2004
Posts: 1161

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

Yes, it possible, MO SMS CONTROL is more rare than MO CALL CONTROL. See TERMINAL PROFILE.
Back to top
View user's profile Send private message
tkm



Joined: 18 Jan 2011
Posts: 72

PostPosted: Wed Mar 16, 2011 9:39 am    Post subject: Reply with quote

pz wrote:
Yes, it possible, MO SMS CONTROL is more rare than MO CALL CONTROL. See TERMINAL PROFILE.

Thanks pz. Will do.
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