| Home | | | Tools | | | Samples | | | Libraries | | | Links | | | Other | | | Contact |
Here you will find ready-to-use libraries for working with SMS messages.
You can use this software free of charge, but at your own risk.
| |
GSMComm is my own written communication library for GSM phones, mainly for performing SMS-related tasks.
Other developers can re-use this library for their own projects.
Features:
System Requirements:
Also included:
Download the development package here:
Download | ||
| Version 1.11 for the .NET Framework 1.1 GSMComm_v1.11_net1.1.msi | ||
| Version 1.11 for the .NET Framework 2.0 (32-bit) GSMComm_v1.11_net2.0_x86.msi | ||
| Version 1.11 for the .NET Framework 2.0 (64-bit) GSMComm_v1.11_net2.0_x64.msi | ||
What's new in Version 1.11?
Support notes
GSMComm is a hobbyist project. That means it has primarily been written because of the author's general interest in the subject.
There is only limited support available. If you have a problem using this library that is specific to your environment, please understand that the author does generally not have the time nor the same environment to support you in investigating the problem.
Use the following hints to investigate problems:
When contacting the author about a bug, please include as many information around the issue you can supply and that may be important in finding a solution. This includes a description of what you tried and what happened, the GSMComm version, the operating system, the .NET framework version, the maker and model of the phone used, the type of connection between PC and phone and a debug trace if necessary. If you tried to work around the problem, please state what you did.
| |
Q: The phone/modem locks up after sending a lot of messages in succession, or returns errors like error code 301 (SMS service of phone reserved).
A: This is probably a timing issue. The messages are sent too fast and the phone/modem can't catch up with it. Try a delay of one or more seconds before sending the next message. If you're using version 1.9 or higher, try the SMS batch mode if your phone and network support it.
Q: I have a .NET Framework 1.0, but the GSMComm setup doesn't work because it wants a higher .NET version. Do you have a solution?
A: Yes, install a higher version of the .NET Framework, quickly! You can keep your old version as long as you need it, because the framework supports side-by-side installation.
Q: Does GSMComm work with Unicode messages?
A: Yes, some Unicode support is built in since version 1.61.
GSMComm can create, send and decode Unicode text messages. For creating Unicode messages, just be sure to set the correct DataCodingScheme before setting the UserDataText in the SmsSubmit object and it's all right. For Smart Messaging (concatenated SMS messages) only creating and sending of Unicode messages is supported, decoding does not work.
Q: Is it possible to get incoming messages as an undecoded PDU string?
A: Yes, use the GsmCommMain.ReadRawMessages method for that.
Q: How can I send long (concatenated) text messages?
A: GSMComm implements a part of the "Smart Messaging" standard defined by Nokia. The methods for it are implemented in the GsmComm.PduConverter.SmartMessaging.SmartMessageFactory class. It supports creating long messages for standard SMS text as well as for Unicode messages (Built-in Unicode conversion starts with Version 1.61).
Mobile phones that don't support Smart Messaging but use some other SMS-enhancing standard, like EMS, may not be able to send or decode such messages properly.
Q: I get the error "No phone connected" and I have verified that the connection works properly using a communication program like HyperTerminal.
A: This is probably because of communication timeouts. The phone/modem does not reply within the time waited by GSMComm. Try to use higher values for the timeout parameter in the constructor of the GsmCommMain or GsmPhone object. The default communication timeout does not necessarily work for all devices, some are slower, some are faster. This also depends on the baudrate used.
Q: Will GSMComm support CDMA at some time?
A: No. The name GSMComm implies working for GSM networks and not for others. But besides the name, I don't do anything with CDMA and currently do not intend to work myself into CDMA.
Q: Do you recommend a specific phone/modem?
A: No. For most of the tests, Nokia phones have been used, but it's not restricted to them. As long as the phone/modem meets GSMComm's requirements and supports the features you need, you can use whatever model you want.
Q: Is there a limit on how many SMS messages can be sent, e.g. per day?
A: GSMComm does not restrict the number of messages in any way. However, the network provider may limit your possibilities, for example if you use a prepaid account.
Q: Can I use GSMComm for multiple phones/modems?
A: Yes, use multiple instances of the communication classes for that. If you want asynchronous processing, you have to handle that yourself.
Q: I think GSMComm didn't properly pick up a response from the phone/modem. Can I check this somewhere?
A: Yes. You can use GSMComm's logging mechanism (basically the LoglineAdded event) to find out what was sent to the phone, what responses were received and often also how GSMComm interpreted the response. This may give you a hint about where the fault came from.
| |
| |