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