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

GSMDemo failing when reading stored messages

Started by asellus, September 14, 2011, 09:04:25 am

Previous topic - Next topic

asellus

I use a Benq 23A GSM modem. The received SMS can not decode the component. (OnSmsListItem => aSms = nil)

(OS: Windows XP, SP3, Delphi 2010 Prof.)

Log:

[2011.09.14. 12:52:48] nrComm Lib v9.20 Pro
[2011.09.14. 12:52:48] nrGsm: Medium Opened
[2011.09.14. 12:52:48] nrGsm: === Use selected driver: BenQ M2x

......

[2011.09.14. 12:52:57] nrGsm: cmd: AT+CPMS=<q><SMSrmem><q><cr>
[2011.09.14. 12:52:57] nrGsm: DoDataSend: 13 bytes
[2011.09.14. 12:52:57] nrGsm: send:AT+CPMS="SM"\0Dh
[2011.09.14. 12:52:57] nrGsm: OK Returned !!! \0Dh\0Ah+CPMS: 0,25,0,25,0,25\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[2011.09.14. 12:52:57] nrGsm: cmd: AT+CMGF=0<cr>
[2011.09.14. 12:52:57] nrGsm: DoDataSend: 10 bytes
[2011.09.14. 12:52:57] nrGsm: send:AT+CMGF=0\0Dh
[2011.09.14. 12:52:57] nrGsm: OK Returned !!! \0Dh\0AhOK\0Dh\0Ah
[2011.09.14. 12:52:57] nrGsm: cmd: AT+CMGR=<SMSid><cr>
[2011.09.14. 12:52:57] nrGsm: DoDataSend: 10 bytes
[2011.09.14. 12:52:57] nrGsm: send:AT+CMGR=0\0Dh
[2011.09.14. 12:52:57] nrGsm: ERROR Returned !!! \0Dh\0AhERROR\0Dh\0Ah
[2011.09.14. 12:53:14] nrGsm: Sms Direct Notify:  "Apa",022\0Dh\0Ah\0Dh
[2011.09.14. 12:53:14] nrGsm: DoDataSend: 8 bytes
[2011.09.14. 12:53:14] nrGsm: send:AT+CNMA\0Dh
[2011.09.14. 12:53:14] nrGsm: ERROR Returned !!! \0Dh\0AhERROR\0Dh\0Ah

Roman Novgorodov

Hello

It seems like your device does not some SMS reading commands.
Please run GSMDemo, click Diagnostic and upload here full diagnostic log.

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

asellus

September 14, 2011, 12:55:37 pm #2 Last Edit: September 24, 2011, 05:47:39 am by asellus
(next message)

Roman Novgorodov

Hello

Thank you for your information.

But I don't see diagnostic lines in LOG. Did you click diagnostic in demo?

Also please note that you can attach LOG file into post instead place file content directly.

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

asellus