View previous topic :: View next topic |
Author |
Message |
tkm
Joined: 18 Jan 2011 Posts: 72
|
Posted: Fri Mar 04, 2011 5:39 pm Post subject: debugging/tracing sms send out |
|
|
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 |
|
 |
pz
Joined: 12 Mar 2004 Posts: 1161
|
Posted: Mon Mar 07, 2011 5:45 pm Post subject: |
|
|
Do you have the #define DEBUG set? Usually in config.h |
|
Back to top |
|
 |
tkm
Joined: 18 Jan 2011 Posts: 72
|
Posted: Tue Mar 08, 2011 4:44 pm Post subject: |
|
|
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 |
|
 |
tkm
Joined: 18 Jan 2011 Posts: 72
|
Posted: Tue Mar 08, 2011 4:59 pm Post subject: |
|
|
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 |
|
 |
pz
Joined: 12 Mar 2004 Posts: 1161
|
Posted: Fri Mar 11, 2011 7:18 pm Post subject: |
|
|
Yes, it possible, MO SMS CONTROL is more rare than MO CALL CONTROL. See TERMINAL PROFILE. |
|
Back to top |
|
 |
tkm
Joined: 18 Jan 2011 Posts: 72
|
Posted: Wed Mar 16, 2011 9:39 am Post subject: |
|
|
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 |
|
 |
|