Author Topic: i found one mistake in nrgsm,imodified,so it work ok  (Read 803 times)

chinachengxinyong

  • Newbie
  • *
  • Posts: 13
    • View Profile
i found one mistake in nrgsm,imodified,so it work ok
« on: November 25, 2013, 08:59:53 am »
in nrgsm.pas
function TnrGsm.SmsSendWait: boolean;
begin
  Result := WaitReply(hSmsSentEvent, 1000) and
    (fReplyLastSentSms.idResponse = CID_RESPONSE_SENT_OK);//I change 1000 to property TimeOut
end;

i set nrgsm.timeout:=60*1000;
so it works perfect.

and i found another bug
SmsSendWaitRefID function and need report
when i send longmessage (cut to 2.3.4... or more...) 
when partnumber is 2 .nrgsm received report .then gsm give up to send partnumber>2  the SmsSendWaitRefID is returned

Matt

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: i found one mistake in nrgsm,imodified,so it work ok
« Reply #1 on: December 14, 2013, 04:11:04 pm »
Cheng,

Is this happening only when you ask for received report.

I also face problem sending SMS that was split. Single SMS works fine. It shows sending, but I am not receiving the SMS text.

eg : I have SMS text( > 160 length)  to send, its is split into 2 message. I saw nrGSM sending both message, usually I see on one received event in nrGSM.  But the receiver mobie never received any text.