首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 嵌入开发 > Wireless >

wavecom 2687 cann't send sms in application!该怎么解决

2012-02-20 
wavecom 2687 cannt send sms in application!Hi to allI have a very weird problem: I can send sms in

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
祝你好运

热点排行