Hi I am Developing web application in asp.net 4.0 (vb.NET)
I am using Sim900A GSM Modem to Send SMS using AT Command from VB.NET Below is my code but it does not work
whats wrong with the code
Please Help
I am using Sim900A GSM Modem to Send SMS using AT Command from VB.NET Below is my code but it does not work
whats wrong with the code
Code:
Dim ph_no As String
ph_no = Char.ConvertFromUtf32(34) + txtadphonenorec.Text + Char.ConvertFromUtf32(34)
SP.Write("AT")
SP.Write("AT+CMGF=1" & vbCrLf)
SP.Write("AT+CMGS=" & ph_no & "" & vbCrLf)
SP.Write(txtmsg.Text + Char.ConvertFromUtf32(26))
Response.Write("Send")
Comment