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

Keep receiving the samme SMS from the network

Started by henry64, April 29, 2011, 10:42:11 am

Previous topic - Next topic

henry64

Hi

I'm expirencing  a very strang thing, I keep receiving the same sms over and over again. Do you have any clue why that happens?

It's like the network have not received an ACK for the SMS so it keeps trying to deliver it.


Roman Novgorodov

Hello

Thank you for your information.

Please try send acknowledgement in sms event handler:

procedure TForm1.nrGsm1SmsReceived(Sender: TObject; aMem: String;
  idSms: Integer; aSms: TnrPduSms);
begin
  nrComm1.SendString('AT+CNMA'#13);
end;

Let me know if it helps, we will change built in driver.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

henry64

Hi Roman

Well it actually stops the problem, I leave it up to your to decide if that's the right way to implement it - I have no clue  :-X

regards

Roman Novgorodov

Hello

Thank you for your information.

We will fix this problem in the next release nrComm Lib (this week).

Roman Novgorodov
DeepSoftware
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

henry64

This ACK also solves the problem that I only got a delivery report on the first sms sent, for all successive sms's I got no report. 

Roman Novgorodov

Please try
nrComm1.SendString('AT+CNMA=0'#13);

Roman Novgorodov
DeepSoftware
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

henry64