• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

i found one mistake in nrgsm,imodified,so it work ok

Started by chinachengxinyong, November 25, 2013, 06:59:53 am

Previous topic - Next topic

chinachengxinyong

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

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.