thread: samsung
View Single Post
Old 05-14-2019, 16:18   #2 (permalink)
eyestrain
No Life Poster
 
eyestrain's Avatar
 
Join Date: Feb 2006
Location: Somewhere in British Territory
Posts: 1,026
Member: 237911
Status: Offline
Thanks Meter: 628
in .Net:
Quote:
Dim com1 As SerialPort = New System.IO.Ports.SerialPort

com1.PortName = "COM6"

com1.Open()

If com1.IsOpen Then
com1.Write("AT+SWVER")
Dim result As String
result = com1.ReadExisting
MsgBox(result)
Else
MsgBox("use search button because com port not open")
End If
I hope I answer your question correctly, and I also hope you are in the right section.
  Reply With Quote
The Following 2 Users Say Thank You to eyestrain For This Useful Post:
 
Page generated in 0.13252 seconds with 6 queries