File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes sending sms through gsm modem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "sending sms through gsm modem" Watch "sending sms through gsm modem" New topic

sending sms through gsm modem


Joined: Oct 15, 2009
Posts: 14

i have developed a small code by referring different examples, my project is to send sms to one number via gsm modem, instead of typing AT COMMANDS , i simply passing AT+CMGS="9965844325"
and a message " hello buddy" to the serial por, the code is

there is no error in the code while running the code console shows
Found port:COM1


. but the message is not delivered to the mobile 9965844325, i checked my modem by sending message through http terminal it is delivered successfully, can any one tell how to send the command AT+CMGS="9965844325" and message "HELLO BUDDY" to the modem to deliver the message successfullly, if the error is in code means please assist me to complete the project
jQuery in Action, 2nd edition
subject: sending sms through gsm modem
Similar Threads
Send SMS by using Serial Port
how to append the contents of an ArrayList
send SMS by using Serial Port
Dial a modem from Java?
how can I send the output of a servlet to a jsp page?