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 can i get a sample program that will receive a sms messages.. hoping for ur response tnx. this is my email: athan_aj@yahoo.com tnx

Hey if you can send me the source code of the application and is it compatible with asp.net c# as i want to use my phone to send SMS from my nokia 5530 from a site. Thanks Developer

Hi? I am a final year student of Computer Science at Kampala International University, Kampala, Uganda. I'm currently doing a sim card reader phone book system as my final year project . My supervisor want it to be able to view all contacts, edit, update ,delete and search phone book entries. I have done some research but haven't really got some quality material. I am just requesting you for sourcecode which may not necessarily have all my specs but most importantly which can give me a clear picture of what I should be doing. My email address is allan_myworld@yahoo.co.uk Thanks in advance

Hello Sir, do you have a visual basic program for receiving sms? (from phone back to pc).how will i know RtsHold and HandShake of my modem?..thanks :) here's my mail: f13nce@hotmail.com thank you so much :)

Greetings, i would like to learn programming.started with visual basic, but i dont know the easiest.lost my both parents.now working in a cyber cafe. please assist. Nancy kenyan

Hello!! Sir, can you please help me out in configuring my teltonika modem. i am trying to send sms from my device using VB.NET coding. i have tried AT command but it is not working. please help me out... Thanks & Regards, Ahsan

hi please guide me to send sms using at command. i was tried but getting errors

how to integrate a voice call using gsm modem thru the soundcard without using any external cable... thanks in advance

Hi, This is Prabhavathi from TamilNadu, which is in India... I am a Engineering Student.. I need a source code to count the number of messages in inbox using AT command of J2ME application... Would u please send me the sample code (in J2ME & AT command)???.. I will be very thankfull.. U can send the code to my mail id prabhalani@gmail.com... Thanks in Advance...!!

sir please send the code to receive SMS in ASP.NET with C#.we r using ozeki gateway for this. Please Help

how much need to pay u?

In reply to by Anonymous (not verified)

just contact me @ dark_raditz0825 or +639212279363

.sir i'm hoping 4 ur reply... is it really possible to use globe tattoo kit for sending sms from pc to mobile using vb 6.0 .. what possible commands and settings do i need to know for dis? this is one of the features of our system for our thesis.. may i have also the source code of ur program as my basis.. tnx.. :) eraserpad143@ymail.com alicia

In reply to by Anonymous (not verified)

please contact me @ my YM : dark_raditz0825 or via Mobile: 09212279363

please this mail address k.lathusan@gmail.com message to sms message system please help me this system ok

dear all how i can send SMS via mobile connect with PC via AT command writeen in VBA (Ms access) maher al-dweik hndweik@yahoo.com

Sir,.. good day! pano po ba malalaman ang baud rate ng GSM modem ko? email mo naman po ako sa email ko nevermindme98@gmail.com thnx po

pls help me if i can use smartbro mf267 using your sample.... i determined the commport of my modem but i can't determine the setting to use in the commport code in vb,...

how to make a voice call to any mobile from asp.net application using c#

Dear Sir/Madam, This is prem from india. I have recently purchased EDGE USB MODEM (EG162G) from Huawei . I making as sms application using C# by sending AT commands into it. I facing one problem into it. I am able to receive SMS from SIM memory using AT commands but not able to receive SMS from phone Memory. its also not showing any error while receving SMS from phone memory. and my GSM modem supproted MT,ME,SM memory.I am giving follwing commands for reading it. First selecting Phone memory, like this AT+CPMS=ME and then giving following command AT+CMGL=ALL please help me out from this problem, or if u can send some code for AT commands, Links, Tutorial etc. Waiting for positive response. Prem Email : prem@barcode4u.com,prem_sharma12@rediffmail.com

Hi, I have the same issue as mentioned above by Prem. Im using a Huawei E220 modem and i can list only the received SMS stored in the sim (SM) memory. I need to retrieve the several messages stored in the modem's local memory but AT+CPMS="ME" and then listing the messages won't work. Can someone suggest an alternative? Pls mail me if you have important tips on this regard: chand.forums@gmail.com Thx Chand

Hello, First test if you are able to send an sms from hyperterminal/equivalent programe. The default baud rate for the Teltonika Modem is 115200Kbits/sec with hardware flow control. you can always change that. If that works then use vb.net the usual way. Otherwise that modem works just like any other modem. Hope this helps.

tank you mr for learn va Sample VB.net

i want to download this with source code... can i ?

hi, right now i do some research communication system, and i need to send sms through gprs modem from client to server... can u plz give me some advice and your source code? my yahoo is geeg_og best regards,and thanks to your attention! :)

hello sir, pede mo ba ko tulungan sa pag parse ng message.. i want to separate the number, time and date, and the message and display it into a listview control. +CMGR: "REC READ","+639151234567",,"10/05/19,13:43:12+32" pa help naman po, kelangan ko lang sa thesis ko.. if you have time, please email me @ kizsleg@ymail.com..thanks

Pls sir, help me send the source code for creating an sms application using VB 2008

Hie .. Can you please email me the code for Reading SMSes from GSM modem in C# using AT commands..I have Done with sending Part..A'int getting through this Reading part..Wud Be pleased to get ur Reply.. email:-- murtuza5689@yahoo.com

Hi, In my system, I need to use this modem in this two mode : Data and Voice. For the Data part, no problems. But for the voice part, I have no sound. To call someone, I use AT commands in a VB.NET application. The communication are OK. I receive or i can send a call, but no sound pass beetween the two parts. Of course, with AT commands, I change the sound and don't put in HP mode : AT+CMUT = 0 AT+CLVL = 4 If I use Mobile Partner application, The voice are up. If I compare the AT log with mine, the two applications send the same commands. I think the voice data are not transmit to the audio systems(HP, microphone) Excuse me for my bad english. Thanks to help me !

Hi can any one tell where the GSM modem is available at coimbatore.. Giri (9843649284)

hi Sir i'm a student ....i want coding of SMS sending & Receiving Program in VB6....i'm using Nokia 5800....if u have any source code mail me msuoodh@gmail.com.. thank u

Currently im doing the ver 2 of my SMS server.. Feats: Use FBUS, MBUS AT Commands, DATA Call Voice CALL etc for a while try mo 2, im using NOKIA 5300 express and bluetooth with PC SUite Installed work perfectly Option Explicit Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Sub Form_Load() 'MSComm1.Settings = "460800,n,8,1" 'Change this with the Baud rate of your modem (The one you use with Hyper Terminal) 'MSComm1.CommPort = 10 ' Change this with the port your Modem is attached,(eg bluetooth) 'MSComm1.PortOpen = True With MSComm1 .CommPort = 10 .Settings = "460800,N,8,1" .Handshaking = comRTS .RTSEnable = True .DTREnable = True .RThreshold = 1 .SThreshold = 1 .InputMode = comInputModeBinary .InputLen = 0 .PortOpen = True 'must be the last End With End Sub Private Sub Command1_Click() ' Send an 'AT' command to the phone MSComm1.Output = "AT" & vbCrLf Sleep 500 MSComm1.Output = "AT+CMGF=1" & vbCrLf 'This line can be removed if your modem will always be in Text Mode... Sleep 500 MSComm1.Output = "AT+CMGS=" & Chr(34) & TxtNumber.Text & Chr(34) & vbCrLf 'Replace this with your mobile Phone's No. Sleep 1000 MSComm1.Output = TxtMessage.Text & Chr(26) Sleep 2000 MsgBox "Message Send" End Sub comments www.emondsoft.qapacity.com

Hello Sir, i want source code of this program. my email is raja_mani778@yahoo.com please send me source code as soon as you can. Thanks

hey sir, can you send me the visual basic source?

hi... my project is on sending and receiving sms using AT commands. the code is working properly but i get 2 errors. 1."access to port has been denied"after working for almost 15 mins on the same port. 2.the command AT+CMGL=\"ALL\" GIVES DIFFERENT OUTPUT AND NOT CONSISTENT OUTPUT. if anyone can help me over this issue then please do mail me at prachi_minnie@yahoo.co.in. thank you.

sir..paano po macontrol ang home aplliance (on/off) using ur system?? for example po mgsesend ako sa gsm modem na i-off ang appliance.. paano po yan..meron po ba kayong idea.???

sir,can you please send me the full code along with the application for sms sending and receiving using vb6.i have done upto the sending part but stuck in the receiving one. i didn't understand the list control for receiving.it is returning an empty list my id: prmshkhl@gmail.com regards!

Add new comment