Sending SMS using AT Commands via GSM Modem/GSM Phone (receiving SMS-updated)

Language

THE FULL SEND AND RECEIVED SMS SERVER with  complete Source Codes for developers are available to purchase.

.NET version is also available 

http://www.sourcecodester.com/visual-basic-net/net-version-sending-sms-using-commands-gsm-modemgsm-phone.html

Feel free to contact me at the addresses and links below:

Demo:

This a sample how to send SMS using AT Commands like in Hyper Terminal via GSM Modem or compatible GSm phone attatched to the PC Comport or USB port..

For this sample i used Huawei E160 GSM/HSDPA/GPRS modem..

demonstrate how to use MSComm Control in VB6 in order to send data to the GSM Modem

TODO:

this code may not work with other modem so better check your modem's specs and manual

check your modem's settings (baud Rate,RtsHold,HandShake, etc .and comport number in order to run this project..

Good NEWS:

java and php version will out this month..

THE FULL SEND AND RECEIVED SMS SERVER with  complete Source Codes for developers are available to purchase.

Feel free to contact me at the addresses and links below:

feel free to use and improved my sample code, 

Goodluck

Questions and request?

Mobile

+639399393702 +639155338048

Blog Site

http://www.freeprogrammingtricks.blogspot.com/

Facebook Fan Page

http://www.facebook.com/emondsoft/

Skype

My status

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

sir, na test ko po un code.d po nagsesend sir..ano po un eedit sa code sir..thank u sir

Do u have a code for sending mms(Image) through Gsm modem using c# or VB net ?I really appreciate ur help nid in my current project .

Hello sir, I am working on a project where i need to send an automated SMS reply for all the incoming SMS. I am trying to use a software called SmsRc (www.sw4me.com) which perfectly suits my project requirements. But i have a problem. The software controls the GSM modem connected to it, to send and recieve SMS. In my case i'm using Nokia 5310 Xpress Music mobile phone as the Modem. The software uses AT Command set to control the modem (or phone here) to perform all the functions. The problem i am facing here is, that the phone is not supporting or rather showing error for few commands such as AT+CNMI, AT+CPMS, etc. As you know these commands are necessary for the software to read the messages stored in the phone. But i am not able to do so. The phone is not allowing me to read its message memory i guess. So, is there a solution for this? How can we make nokia5310 phone to accept AT command set? The entire project is stuck here. Without this the total project comes to a dead end. Please help me out. My mail id is [email protected] Thank you, Naveen Kumar K

hello can you help me to write or develop a website that send sms to a phone. to make the code simple write the source code so that I can host the website on my machine. You can use either c# or vb. my email is [email protected] Regards

please can you help me with a source code to send sms messages via GPRS to a cell phone. You can use any language. my email is [email protected]

hello sir, Im working on my thesis right now which is a website that can send an receive SMS. Im planning to use VB.net codes using AT commands but I don't know how to use AT commands. I just wanna ask for some tips or maybe show me some codes. I would greatly appreciate your positive response. thanks

Hi everyone. i have developed an sms gateway using mCore SMS components. very flexible ito. it has 2 separate applications: the 1 first one serves as the utility to configure the GSM modems and it resides on the server. the other one is being used by the client (users within the LAN). client-server kasi ang dating pero pwde ding nasa local silang dalawa. BTW, i'm the one who developed the SMS application for jollibee, chowking, red ribbon and greenwich. Mura lang po ito... text me 0920-952-4565

Hi, Would you have a vb6 sample to receive sms messages Steve

In reply to by Anonymous (not verified)

Hi, how to sender id send using GSM MOdem

Hello Sir, Can u please send me the code of reading sms using gsm modem. here i m stuck so please guide me and help me out. This is my final year project of school management i have to include this functionality of sending and receiving sms for attendance. Please send on this mail id [email protected] Best Regards, Carlos Demon

it's a little bit tricky ,First you must set the phone modem message storage by sending the command AT+CNMI=2,1,2,0,0 , AT+CPMS=""ME"",""SM"",""ME"". If you want to receive in text mode not in PDU format you must send this command after setting the storage location AT+CMGF=1. for more info pls contact me @09212279363

My self jack brucklin. I am a student, I want to create an application for sending an sms through an pc. such as I can connect my mobile to pc using nokia pc suite and visual basic 6.0 and want to send an sms to a specified no on a button click Can u please help me in sorting my problem... please reply me within 3 days because i am in hurry for completing my project in 3 days please i am waiting for your reply.....

Hi ed,i am looking for some codes for sending and receiving sms by PHP and using an sms gateway as well.and i want to store my sms in My Sql and latter do some processing with them.pls help. this my mail id: [email protected]

hi...am working on development of an alert system more like notifications and its a mobile application that requires d use of sms...i nid 2 know if its possible to use wml ....and the procedures required in sending and receiving of sms...please e-mail [email protected]

hello sir.. how to format cell number to input? i tray (081363400715) then appear message "Message Not Send" thank...

hi sir im using mscomm and nokia 5310 mobile to send sms via gsm modem im using ur code.... but im having the error message not send please help me this... the whole project is struck due to this error.... waiting for ur reply [email protected] thank u

Is it possible to send SMS without my mobile no? How can i set my company name inplace of my number in AT command

dear sir, how to make a voice call using gsm modem (i use mt6227 usb modem (china mobile))and how to record incoming audio, play recorded audio file. with regds. V. Venkates

i have tried your code.i am getting the connected message.however after entering the number and message and clicking the send button, i am getting "message not send' message.is any any format in which the number has to be entered?pls suggest the solution to the above problem

sir i could have no idea for doing a project but i have choosed about the topic "BLUETOOTH"... pls kindly help me and send me the details about the project and do the needful for me...

sir i have given my mail-id below: [email protected] pls i kindly request you to give me a clear idea of doing a project about the topic " BLUETOOTH" with regards, divya

Is it possible to send an autoreply after retrieving data frm sql server 2 the mobile through GSM modem... we'r using AT commands....pls help

Hi, Is it possible to send an auto-reply through a GSM modem to a phone after querying the database? We r using AT commands for d modem......our proj is sending result to a phone whch has askd for it by sending their seat no. so my ques is .....is it pos to send the result automatically rather than doing it manually? ann

i hav tried your code but i m getting a message not send error. i am using motorola slvr l7 model as the gsm modem.although i do get a connected message.any help will be highly appreciated

i have an IR setup. when the rays are cut, a signal is transmitted to the pc. i wanna write a code in VB that will detect that signal. as of now i can see the signal that is transmitted, on the hyperterminal. it is a single character 'A'. can anybody provide me with the code.any help will be highly appreciated.

may china phone(nokia 6300) ako na ginagamit ngayon para sa isang sms apps, so far so good naman pag kinonek ko sa hyperterminal, tinry ko n ung mga codes dito at mga codes sa ibang sites.. pwede ba talaga ang at command sa vb.net 2008?

Hai, i'm newbie to GSM programming. i'm trying to send SMS using SIMCOM300 GSM modem using the commands: 1> AT+CMGS= "Cell phone no" 2> AT+CMGW= "cell phone no" and then AT+CMSS=index no of the message that is stored. but i'm receiving error message as "+CMS ERROR: PS busy" can any body suggest me how to resolve this! thanx in advance!

In reply to by vasudevan

make sure that the specified port you are using is indeed closed before you re-open it again. also, just try to make sure that your modem supports AT commands...

Hai, i'm newbie to GSM programming. i'm trying to send SMS using SIMCOM300 GSM modem using the commands: 1> AT+CMGS= "Cell phone no" 2> AT+CMGW= "cell phone no" and then AT+CMSS=index no of the message that is stored. but i'm receiving error message as "+CMS ERROR: PS busy" can any body suggest me how to resolve this! thanx in advance!

In reply to by vasudevan

hi i am doing a project on gsm .i am using simcom 300 gsm module.i am unable to type on the hyper terminal.can you please send me the procedure how to adjust the settings like baudrate settings e.t.c. in hyper terminal. please send me the details to my mail. my mail id is [email protected] information will help me a lot.

hello Sir, I am doing project which involves sending and receiving sms from the computer connected with mobile as GSM modem in java . Please send me the code for it and how to use it . Its urgent.. Plz hemendra

I am using c# language. I established a connection with the usb port.bt i didnt get the incoming messages. What is the problem

Hi ed,i am looking for some codes for sending and receiving sms by PHP and using an sms gateway as well.and i want to store my sms in My Sql and latter do some processing with them.pls help. this my mail id: [email protected]

Add new comment