Troubleshooting the GSM - Use diagnostic function from GSMDemo!

Started by Roman Novgorodov, February 03, 2008, 04:07:36 am

Previous topic - Next topic

Roman Novgorodov

February 03, 2008, 04:07:36 am Last Edit: April 21, 2011, 05:06:56 pm by Roman Novgorodov
When TnrGSM component does not work correctly at all or partially, please, try to repeat following steps:

  • Download and install the latest nrComm Lib version.

  • Run a Delphi/C++Builder

  • Open, build and run the GSMDemo project.

  • Select correct COM (serial) port and set its settings correctly (baud rate, parity, stop bits etc.). We recommend to choose Hardware value for Stream Protocol option

  • Open port (check box "Active")

  • Click "Diagnostic" button

  • The "gsmdemo.log" file will appear in the same folder with gsmdemo.exe. Send this file to us by email.




We will analyze your LOG file and maybe we will find solution.

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

frozenade

Hello Sir

I have Wavecom modem. It all works great except USSD is not giving any respond.
Here I attached the shot and log file.



Thank you

frozenade


Roman Novgorodov

Hello

I see following line in log file:
USSD Notify:  4
Possible incoming message was stored with index 4 in SMS memory of modem.
You can check it in "SMS Storage" tab page.
Also you can play with "On SMS Receive" combo from "Options" tab page.

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

frozenade

In a phone, it should be like this:



It is supposed to display balance information.
Then what should I do to handle this interaction?

Thanks in advance.

Roman Novgorodov

Hello

Are you sure that WAVECOM gsm modem is equal to your mobile android?
I'm not sure that WAVECOM has same functionality as mobile.


It seems like something wrong in incoming message decoding or locale.
We need to see the real byte stream of incoming data from modem.

You need to do following:

1) Open GSMDEmo project sources in Delphi.
2) Click to nrComm1 component and attach nrLogFile1 to nrComm1.Log property
3) Rebuild demo and run it
4) Repeat test with USSD request

If all is OK, the new log file should contain that REAL bytes between serial port and TnrGsm class.
I need to see that log.

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