• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 26, 2024, 06:20:33 pm

News:

SMF - Just Installed!


Problem Sending Long SMS Text

Started by Matt, December 14, 2013, 08:21:37 am

Previous topic - Next topic

Matt

Sending SMS Text < 160 character works without problem.

I see problem sending SMS when Text is longer and nrGSM will split the text into 2 message to be SEND.
Most of the time sending 2nd Text fail with timeout. Setting larger timeout won't work either.

Any have any ideas. Thanks


chinachengxinyong

你好!
    please set nrGsm1.TimeOut := 1000 * 60;
     remain(nrcomm,nrgsm) other propertys default value except set nrComm1.BaudRate := 9600;
     and use pdu for send

      pdu := TnrPduSms.Create(false);
      try
        pdu.AutoCutText := true;
        pdu.DateTime := now;
        pdu.Text := MessageContent{string parameter};
        pdu.Phone := UserNumber{string parameter};
        FnrGsm.SmsSend(pdu);
      finally
        pdu.Free;
      end;

in this case  ,my project works perfect!

do you have a chat tool like msnmessage or tencent QQ .you can cantact me.


Matt

chinachengxinyong,

  Thank you for your suggestion, seems to work find now, will test further.


  Matt

  seldom use chat/messaging .. contact me here nedgnupmak at gmail dot com