With Port
.Write("AT" & vbCrLf)
.Write("AT+CMGF=1" & vbCrLf) 'Instruct the GSM / GPRS modem to operate in SMS text mode
.Write("AT+CMGS=" & Chr(34) & txtnumber.Text & Chr(34) & vbCrLf)
.Write(txtmessage.Text & Chr(26))
End With
i can receive the message but how to know if the at command is successfully executed.
the output of the command AT is "ok" and at+cmgs is ">"
does the ">" simply mean that it executed properly the at+cmgs command?

New Topic/Question
Reply




MultiQuote






|