Non capisco perchè in hyperterminal tutti i comandi che invio al cellulare vengono eseguiti subito e con risposta, ho provato a fare lo stesso in vb ma i comandi vengono eseguiti più lentamente e non riesco a prendere la risposta, forse sbaglio qualche impostazione?.Qui c'è il codice VB
Private buffer As String
Private Sub Command1_Click()
With MSComm1
.CommPort = 11
.Settings = "115200,N,8,1"
.EOFEnable = False
.Handshaking = 1
.InputMode = comInputModeText
.RThreshold = 1
.SThreshold = 1
.PortOpen = True
End With
MSComm1.Output = "ATD 3409325103;" & vbCrLf ' Verifica che il
End Sub
Private Sub MSComm1_OnComm()
If MSComm1.CommEvent = comEvReceive Then
buffer = buffer & MSComm1.Input
Text1.Text = buffer
End If
End Sub