Failed to read SMS from Nokia phone using GSMComm

I am implementing a project for reading and parsing SMS from Nokia Xpress Music 5800 using the GSMComm Library

I tried using the GSMComm demo: I can get information about the phone, another state, such as battery / memory and send SMS. But I can not read SMS from the phone, it gives the following error:

Error: The phone reports an unspecified error. 

This usually happens when a command is not supported by the device, the command is invalid for the current state, or if the parameter is incorrect. ( GsmComm.GsmCommunication.CommException )

Since I use a DLL, I do not see which commands are sent to the phone. Also, I doubt that all other teams work, except for those who read SMS.

Questions:

  • The main question is: what are the possible causes of the problem?
  • I know that it is difficult to answer this question. So, are there any magazines / dumps / events in the journal? I am completely new in this area (hardware pairing) and need a starting point for troubleshooting.
  • Stretch: If I use the technology described above (USB to COMM emulator, GSMComm), then what is my application portability? It is definitely necessary that the GSMComm dll be sent. But does this mean that the target computer must have the Ovi Suite (containing the USB to COMM emulator)? How about portablity on the phone: will it work only with the Nokia Xpress Music 5800, or will it work with another Nokia phone. Or with any other phone? "

Additional Information: The OS on my phone is in the Cyrillic alphabet, if that matters.

Updated question: since some questions were received after a week of investigation.

Update 2: I followed the instructions in this link . My phone answers some of the commands, but gives an "ERROR" for others. Any ideas?

+4
source share
2 answers

http://www.scampers.org/steve/sms/libraries.htm

I am sure that you have crossed this page, but at the bottom it tells you how to check the logs for GSMComm. Unfortunately, I never worked directly with GSMComm and could not tell you what is the main cause of the problem, but try checking the logs. If you didn’t read the FAQ, I would do it, it can shed light on the questions you ask.

As for portability, if you need a third-party emulator to run it, this should be a prerequisite for others to use your application. Any GSMComm DLL modules containing the code you use will also be required for distribution, otherwise your program will not work.

0
source

I think you are using a third-generation telephone in order not to access the AT commands that are used to read SMS. I advise you to use an old Nokia (er) phone, here is a list of some:

  • Nokia 5210
  • Nokia 610
  • Nokia 6200
  • Nokia 6210
  • Nokia 6103
  • Nokia 6131
  • Nokia 6230
+3
source

Source: https://habr.com/ru/post/1346466/


All Articles