Author Topic: Problem Sending Long SMS Text  (Read 894 times)

Matt

  • Newbie
  • *
  • Posts: 6
    • View Profile
Problem Sending Long SMS Text
« on: December 14, 2013, 10:21:37 am »
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

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Problem Sending Long SMS Text
« Reply #1 on: December 18, 2013, 05:55:53 am »
你好!
    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.

chinachengxinyong

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Problem Sending Long SMS Text
« Reply #2 on: December 18, 2013, 06:02:43 am »

Matt

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Problem Sending Long SMS Text
« Reply #3 on: January 02, 2014, 01:22:42 pm »
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