Author Topic: GSMDemo failing when reading stored messages  (Read 1086 times)

asellus

  • Newbie
  • *
  • Posts: 3
    • View Profile
GSMDemo failing when reading stored messages
« on: September 14, 2011, 12:04:25 pm »
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

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: GSMDemo failing when reading stored messages
« Reply #1 on: September 14, 2011, 12:20:29 pm »
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

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: GSMDemo failing when reading stored messages
« Reply #2 on: September 14, 2011, 03:55:37 pm »
(next message)
« Last Edit: September 24, 2011, 08:47:39 am by asellus »

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: GSMDemo failing when reading stored messages
« Reply #3 on: September 14, 2011, 06:07:15 pm »
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

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: GSMDemo failing when reading stored messages
« Reply #4 on: September 16, 2011, 06:10:56 am »
Hello

Attached a log file.

assllus