-2

I have developed a JAVA application and I need it to send reports/notifications through SMS. How can I do it using a GSM dongle?

  • 2
    You will perhaps want to write some code to do that. In all seriousness though we have no idea what you are) doing, how you are doing it, or what you are using. Please see (http://stackoverflow.com/help/how-to-ask – basic Jun 22 '16 at 14:17
  • I am developing a student examination result system so basically it involves entering the data to the database and retrieving it, whats left is alerting the students that the results are ready thru sms, so i dont know what kind of JAVA code to write. – Wonderful Kunje Jun 23 '16 at 16:23

1 Answers1

0

You need to make use of AT commands for sending SMS from GSM Modem. This article explains in brief about AT commands.

Sample command might be something like this:

AT
OK
AT+CMGF=1
OK
AT+CMGW="+12345678922"
> A simple demo of SMS text messaging.
+CMGW: 1

OK
AT+CMSS=1
+CMSS: 20

OK
Dark Knight
  • 8,218
  • 4
  • 39
  • 58