SMS connecting to phone from C# and getting response
Posted
by I__
on Stack Overflow
See other posts from Stack Overflow
or by I__
Published on 2010-06-11T23:10:32Z
Indexed on
2010/06/14
17:12 UTC
Read the original article
Hit count: 146
here's my VBA code:
Public Sub SendSMS()
Dim n As Integer
n = FreeFile
' Change the string below if using a different COM port or the port speed
Open "COM3:9600,N,8,1" For Output As #n
Print #n, "AT"
Close #n
End Sub
i'm trying to connect to my phone that is attached to this computer.
i need the solution either in VBA or c# and i need to be able to send a receive SMS with my code and get responses from the phone.
how do i catch responses to my AT COMMANDS? in hyperterminal you see responses right away, i want to be able to see them here as well, how do i do it?
any takers?
© Stack Overflow or respective owner