View Single Post

  #2 (permalink)  
Old 06-09-2004
techecho's Avatar
techecho techecho is offline
Junior Member
White Belt
 
Join Date: May 2004
Posts: 7
may not under stand question

If InStr(cominput, "GetPos") > 0 Then
Call PortOpen
???????
MSComm2.Output = "AT+CMGR=" & cominput & vbCr
???????
ElseIf InStr(cominput, "CMTI:") > 0 Then
MsgNo = (Mid(cominput, InStr(cominput, "SM") + 4))
Text3 = MsgNo
Call ReadMsg(Text3)
End If

"CMTI:" looks to be being sent back to CommPort = 7
but
"GetPos" only opens CommPort = 4 but does not send anything
Reply With Quote