当前位置: 代码迷 >> Wireless >> wavecom 2687 cann't send sms in application!该如何处理
  详细解决方案

wavecom 2687 cann't send sms in application!该如何处理

热度:1826   发布时间:2013-02-26 00:00:00.0
wavecom 2687 cann't send sms in application!
Hi to all

I have a very weird problem: I can send sms in shell ,by AT+CMGS.And i receive sms in application,but i cann't send my sms in application!
there are two method i used in my application.
1、call adl_smsSubscribe,then adl_smsSend,but in my ctrl_Handler,it print : ADL_SMS_EVENT_SENDING_ERROR

2、adl_atCmdCreate("AT+CMGS=\"+86159xxxxxxxx\"",false,SendSMS,"",NULL);

     bool SendSMS(adl_atResponse_t *paras)
{
              if(adl_atCmdSendText(paras->Dest,"test thanks!!!\x1A"))
{
TRACE((1,"send sms ok"));
}
else
TRACE((1,"send sms ERROR"));
}

it says that the Dest isn't aviliable!

I think it isn't the code's problem,is there any configuration in my  hardware?thanks a lot!


------解决方案--------------------------------------------------------
友情up
祝你好运 
  相关解决方案