• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 26, 2024, 03:52:31 am

News:

SMF - Just Installed!


Confirm doens't work

Started by henry64, August 14, 2010, 01:29:59 pm

Previous topic - Next topic

Roman Novgorodov

Hello

Take a look the aMem argument of nrGsmSmsSent() event.

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

Regarding the missing confirmation (report) - I have noticed that, when I stat my application, I have to close and reopen the device (comport) before the report is received correct. It works in the gsmdemo 1. time.

Do you have any clue whay that is? I have attached a log where I start the device and send a sms with confirm true - no report occurs (and neither any SMSreceived event )  - then I close and reopen the comport - wupti it works.


Roman Novgorodov

Hello

I don't understand what is AlarmDirector_3.log file. Is it port monitor or something like API/driver interceptor?

But it seems like nrGsm gets report notification but if it try to read it fails by timeout:

[23-08-2010 20:18:26] nrGsm: Sms Direct Notify:  24\0Dh\0Ah0006AF0A915402012200018032028102800180320281428000\0Dh
[23-08-2010 20:18:26] nrGsm: cmd: AT+CPMS=<q><SMSrmem><q><cr>
[23-08-2010 20:18:26] nrGsm: DoDataSend: 13 bytes
[23-08-2010 20:18:26] nrGsm: send:AT+CPMS="SR"\0Dh

[23-08-2010 20:18:36] nrGsm: Timeout!!! 10000 ms ""

Possible something wrong with serial port connection settings. Please play with baud rate, stream protocol (spHardware, spNone etc.)
You can set StreamProtocol into spNone and change control lines manually:

  nrComm1.SetStateDTR(bool);
  nrComm1.SetStateRTS(bool);

Possible your port monitor disturbs communication between serial port and GSMDemo.

Also you can to turn off Autodetect mode and choose Wavecom gsm driver manually for quick start. See last tab of GSMdemo.

Also you can try to increase timeout property of TnrGsm component.

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.