Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
Go Back  Xtreme Visual Basic Talk > > > Sending & Receiving sms Using MSComm, AT Commands


Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2003, 11:19 PM
Azaam Azaam is offline
Newcomer
 
Join Date: Apr 2003
Posts: 10
Default Sending & Receiving sms Using MSComm, AT Commands


I want to Send & Receive sms Using MSComm, AT Commands

I try this code but it wont work,

MSComm1.CommPort = 4 ' Com4 Port
MSComm1.Settings = "115200,n,8,1"
MSComm1.InputLen = 0
MSComm1.PortOpen = True
MSComm1.Output = "AT" & Chr$(13) & Chr(10)
MSComm1.Output = "AT+CMGF=1" & Chr$(13) & Chr(10)
MSComm1.Output = "AT+CMGS=" & Chr$(13) & "+94777567457" & Chr$(13) & ",129" & Chr(13) & Chr(10)
MSComm1.Output = "This is a testing message " & Chr(26)
MSComm1.PortOpen = False

Please tell me whats wrong with this. If u can give me a sms receiving vb code It'll be grateful.

And I want to know how to check the response from the mscomm
For eg: If i send a AT command i want to check the response for it.
tell me how to do that

Thanx.
Reply With Quote
  #2  
Old 07-28-2005, 09:25 PM
sj_babu sj_babu is offline
Newcomer
 
Join Date: Jun 2005
Posts: 8
Default

MSComm1.Output = "AT+CMGS=" & Chr$(13) & "+94777567457" & Chr$(13) & ",129" & Chr(13) & Chr(10)

The code is:
MSComm1.Output = "AT+CMGS=" & Chr$(34) & "+94777567457" & Chr$(34) & Chr(13) & Chr(10)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending and Receiving Variables Massafaka Communications 3 05-23-2003 01:40 PM
mscomm receiving incomplete data Faiza Communications 4 03-27-2003 05:29 PM
Sending With Mscomm Chenel Communications 5 02-22-2003 02:52 AM
SocketWrench: Receiving and Sending Vina Communications 0 11-08-2001 07:49 AM
sending hex via mscomm vmp General 2 09-03-2001 07:35 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
 
Sending & Receiving sms Using MSComm, AT Commands
Sending & Receiving sms Using MSComm, AT Commands
 
-->